Lookups.forPath(java.lang.String) instead.@Deprecated public class FolderLookup extends FolderInstance
Any instances which are in fact instances of Lookup
will be proxied to, permitting one file to generate many instances
in the lookup system easily.
InstanceCookie.Offolder| Constructor and Description |
|---|
FolderLookup(DataObject.Container df)
Deprecated.
Constructs the FolderLookup for given container.
|
FolderLookup(DataObject.Container df,
String prefix)
Deprecated.
Constructs the FolderLookup for given container.
|
| Modifier and Type | Method and Description |
|---|---|
protected InstanceCookie |
acceptContainer(DataObject.Container df)
Deprecated.
Container is recognized as underlying
FolderLookup which passes
its items to parent FolderLookup. |
protected InstanceCookie |
acceptFolder(DataFolder df)
Deprecated.
Folder is recognized as underlying
FolderLookup which passes
its items to parent FolderLookup. |
protected Object |
createInstance(InstanceCookie[] cookies)
Deprecated.
Updates the content of the lookup.
|
Lookup |
getLookup()
Deprecated.
Getter for the lookup that should be used.
|
Class<?> |
instanceClass()
Deprecated.
The correct class that this folder recognizes.
|
protected Object |
instanceForCookie(DataObject dobj,
InstanceCookie cookie)
Deprecated.
Overrides superclass method.
|
protected Task |
postCreationTask(Runnable run)
Deprecated.
Starts the creation of the object in the Folder recognizer thread.
|
acceptCookie, acceptDataObject, instanceCreate, instanceFinished, instanceName, recreate, run, toString, waitFinishedaddTaskListener, isFinished, notifyFinished, notifyRunning, removeTaskListener, waitFinishedpublic FolderLookup(DataObject.Container df)
df - container (or folder) to work onpublic FolderLookup(DataObject.Container df, String prefix)
df - container (or folder) to work onprefix - the prefix to usepublic final Class<?> instanceClass()
instanceClass in interface InstanceCookieinstanceClass in class FolderInstancepublic final Lookup getLookup()
Serializable since 3.27.
protected final Object createInstance(InstanceCookie[] cookies) throws IOException, ClassNotFoundException
createInstance in class FolderInstancecookies - updated array of instance cookies for the folderIOException - an I/O error occuredClassNotFoundException - a class has not been foundprotected Object instanceForCookie(DataObject dobj, InstanceCookie cookie) throws IOException, ClassNotFoundException
DataObject&InstanceCookie 'pair'.
If the instance is of FolderLookup.Lkp class it is created otherwise
new Lkp.ICItem created and returned.instanceForCookie in class FolderInstancedobj - the data object that is the source of the cookiecookie - the instance cookie to read the instance fromIOException - when there I/O errorClassNotFoundException - if the class cannot be foundprotected InstanceCookie acceptFolder(DataFolder df)
FolderLookup which passes
its items to parent FolderLookup.acceptFolder in class FolderInstancedf - the folder foundprotected InstanceCookie acceptContainer(DataObject.Container df)
FolderLookup which passes
its items to parent FolderLookup.acceptContainer in class FolderInstancedf - the container foundprotected final Task postCreationTask(Runnable run)
postCreationTask in class FolderInstancerun - runable to startnull, because the runnable is started immediatellyBuilt on August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.