com.phoenix_int.aserver.library
Class Hierarchy
IPHXLibrarian,IPHXLibrarian2,IPHXVersionedLibrarian,IPHXVersionedLibrarian2,IPHXVersionedLibrarian3
Declaration
Constructor Summary
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
PHXLibrarianCombiner
Method Detail
addLibrarian
initialize
<librarian> tags which contain <librarianClass> and <librarianOptions> tags inside.
Example:
initializein interfaceIPHXLibrarian
java.lang.Exception
cleanUp
cleanUpin interfaceIPHXLibrarian
listComponents
listComponentsin interfaceIPHXLibrarian
virtualDir- The directory the client asked for
- An array of class names
com.phoenix_int.aserver.security.PHXAccessDeniedException- if the directory could not be scannedPHXNoSuchCategoryException
listDirectories
listDirectoriesin interfaceIPHXLibrarian
virtualDir- The directory the client asked for
- A Collection of Strings
PHXNoSuchCategoryExceptioncom.phoenix_int.aserver.security.PHXAccessDeniedException
instantiate
instantiatein interfaceIPHXLibrarian
compClass- The class name for the componentvirtualDir- The directory to search for the component class
- An instance of the associated component class with the file loaded
java.lang.ClassNotFoundException- if the class is not foundjava.lang.IllegalAccessException- cannot call constructorjava.lang.InstantiationException- cannot call constructorjava.lang.reflect.InvocationTargetException- if an exception if the specified component exists, but is not of the right type, or if an exception occurs while creating the class or loading the setup filePHXNoSuchCategoryException- If thevirtualDirNamepassed in is invalidjava.lang.Exception- If anything serious goes wrong
instantiate (overload)
instantiatein interfaceIPHXLibrarian
java.lang.Exception
instantiateManaged
IPHXFactory.
It is important that this class throws PHXNoSuchCategoryException and ClassNotFoundException in the appropriate cases as they are handled in special ways by the librarian mounter and librarian combiner.
Specified By:
instantiateManagedin interfaceIPHXLibrarian2
compClass- The class name for the componentvirtualDir- The directory the client asked for
- An instance of the specified component class and its managed resources (
PHXComponentResourcePair)
PHXNoSuchCategoryException- If thevirtualDirNamepassed in is invalidjava.lang.ClassNotFoundException- IfcompClassdoesn’t indicate a valid class for the specified directoryjava.lang.Exception- If anything serious goes wrong
instantiateManaged (overload)
IPHXFactory.
It is important that this class throws PHXNoSuchCategoryException and ClassNotFoundException in the appropriate cases as they are handled in special ways by the librarian mounter and librarian combiner.
Specified By:
instantiateManagedin interfaceIPHXLibrarian2
compClass- The class name for the componentvirtualDir- The directory the client asked forconnector- Name of the connector object to usequeue- Name of the queue object to use
- An instance of the specified component class and its managed resources (
PHXComponentResourcePair)
PHXNoSuchCategoryException- If thevirtualDirNamepassed in is invalidjava.lang.ClassNotFoundException- IfcompClassdoesn’t indicate a valid class for the specified directoryjava.lang.Exception- If anything serious goes wrong
describe
describein interfaceIPHXLibrarian
compClass- The class name for the componentvirtualDir- The directory the client asked for
- A description of the specified component class (
PHXComponentDescription)
java.lang.ClassNotFoundException- if the class is not foundPHXNoSuchCategoryException- If thevirtualDirNamepassed in is invalidjava.lang.Exception- If anything goes wrong
getQueues
getQueuesin interfaceIPHXLibrarian
compClass- The class name for the componentvirtualDir- The directory the client asked for
- A list of queues of the specified component class
java.lang.ClassNotFoundException- if the class is not foundPHXNoSuchCategoryException- If thevirtualDirNamepassed in is invalidjava.lang.Exception- If anything goes wrong
getComponentHistory
getComponentHistoryin interfaceIPHXVersionedLibrarian
compClass- The class name for the componentvirtualDir- The directory the client asked for
- An instance of
PHXComponentBranchwhich contains all the versions and sub-branches available
PHXNoSuchCategoryException- If thevirtualDirNamepassed in is invalidjava.lang.ClassNotFoundException- IfcompClassdoesn’t indicate a valid class for the specified directoryjava.lang.Exception- If anything goes wrong
getBranchesAndTags
getBranchesAndTagsin interfaceIPHXVersionedLibrarian2
java.lang.Exception- If anything goes wrong