org.scijava.prefs
Class AbstractPrefService

java.lang.Object
  extended by org.scijava.AbstractContextual
      extended by org.scijava.plugin.AbstractRichPlugin
          extended by org.scijava.service.AbstractService
              extended by org.scijava.prefs.AbstractPrefService
All Implemented Interfaces:
Comparable<Prioritized>, Contextual, Disposable, HasPluginInfo, RichPlugin, SciJavaPlugin, PrefService, Prioritized, SciJavaService, Service
Direct Known Subclasses:
DefaultPrefService

public abstract class AbstractPrefService
extends AbstractService
implements PrefService

Abstract PrefService implementation. Calls Prefs.setDelegateService(PrefService, double) on this Service during initialization.

Author:
Mark Hiner

Constructor Summary
AbstractPrefService()
           
 
Method Summary
 void initialize()
          Performs any needed initialization when the service is first loaded.
 
Methods inherited from class org.scijava.service.AbstractService
dispose, getContext, registerEventHandlers, setContext, toString
 
Methods inherited from class org.scijava.plugin.AbstractRichPlugin
compareTo, getInfo, getPriority, setInfo, setPriority
 
Methods inherited from class org.scijava.AbstractContextual
context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.scijava.prefs.PrefService
clear, clear, clear, clear, clearAll, get, get, get, get, getBoolean, getBoolean, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getIterable, getIterable, getList, getList, getList, getList, getLong, getLong, getMap, getMap, getMap, getMap, put, put, put, put, put, put, put, put, put, put, put, put, putIterable, putIterable, putList, putList, putList, putList, putList, putMap, putMap, putMap, putMap, putMap, remove, remove
 
Methods inherited from interface org.scijava.service.Service
registerEventHandlers
 
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
 
Methods inherited from interface org.scijava.Prioritized
getPriority, setPriority
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
 
Methods inherited from interface org.scijava.Disposable
dispose
 

Constructor Detail

AbstractPrefService

public AbstractPrefService()
Method Detail

initialize

public void initialize()
Description copied from interface: Service
Performs any needed initialization when the service is first loaded.

NB: This method is not intended to be called directly. It is called by the service framework itself (specifically by the ServiceHelper) when initializing the service. It should not be called a second time.

Specified by:
initialize in interface Service
Overrides:
initialize in class AbstractService


Copyright © 2009–2014 SciJava. All rights reserved.