- java.lang.Object
-
- org.scijava.AbstractContextual
-
- org.scijava.plugin.AbstractRichPlugin
-
- io.scif.AbstractSCIFIOPlugin
-
- io.scif.img.ImgPlusCtxCleaningProvider
-
- All Implemented Interfaces:
RefProvider,SCIFIOPlugin,Comparable<org.scijava.Prioritized>,org.scijava.Contextual,org.scijava.Identifiable,org.scijava.Locatable,org.scijava.log.Logged,org.scijava.plugin.HasPluginInfo,org.scijava.plugin.RichPlugin,org.scijava.plugin.SciJavaPlugin,org.scijava.plugin.SingletonPlugin,org.scijava.Prioritized,org.scijava.Versioned
public class ImgPlusCtxCleaningProvider extends AbstractSCIFIOPlugin implements RefProvider
RefProviderplugin for generatingImgPlusCtxCleaningProvider.ImgPlusCtxCleanerinstances.- Author:
- Mark Hiner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImgPlusCtxCleaningProvider.ImgPlusCtxCleanerPhantomReferenceimplementation used to dispose aContextwhen allImgPlusreferences have been garbage collected.
-
Constructor Summary
Constructors Constructor Description ImgPlusCtxCleaningProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhandles(Object referent, Object... params)ReferencemakeRef(Object referent, ReferenceQueue queue, Object... params)-
Methods inherited from class io.scif.AbstractSCIFIOPlugin
getVersion, log
-
Methods inherited from class org.scijava.plugin.AbstractRichPlugin
getInfo, getPriority, setInfo, setPriority, toString
-
Methods inherited from class org.scijava.AbstractContextual
context, getContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
-
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
-
Methods inherited from interface org.scijava.Locatable
getLocation
-
Methods inherited from interface org.scijava.Prioritized
compareTo, getPriority, setPriority
-
Methods inherited from interface org.scijava.plugin.RichPlugin
getIdentifier
-
Methods inherited from interface io.scif.SCIFIOPlugin
getVersion, log
-
-
-
-
Method Detail
-
handles
public boolean handles(Object referent, Object... params)
- Specified by:
handlesin interfaceRefProvider- Parameters:
referent- - potential referent to testparams- - potential parameter list to test- Returns:
- True iff this RefProvider matches the given referent and parameters exactly.
-
makeRef
public Reference makeRef(Object referent, ReferenceQueue queue, Object... params)
- Specified by:
makeRefin interfaceRefProvider- Parameters:
referent- - referent for the new referencequeue- - ReferenceQueue to enqueue the new referenceparams- - list of parameters required by the new reference- Returns:
- The created reference.
-
-