com.phoenix_int.aserver.library
Class Hierarchy
IPHXLibrarian,IPHXLibrarian2
Declaration
/etc/passwd. It looks for “public_mcre” directories inside of each user’s directory and provides a “virtual” directory by the name ~<username> if it finds one.
Constructor Summary
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
PHXUserDirLibrarian
Method Detail
initialize
userPath, which is a semi-colon separated list of paths to search. Each path will be searched for public_mcre directories ONE LEVEL DEEP from the specified directory. The other option is smartUserScan, which tells this class to try and read the user’s home directories from /etc/passwd.
The XML format is:
smartUserScan tag turns the option on.
Specified By:
initializein interfaceIPHXLibrarian
java.lang.Exception
cleanUp
cleanUpin interfaceIPHXLibrarian
listComponents
listComponentsin interfaceIPHXLibrarian
virtualDir- The directory the client asked for
- An array of class names
PHXNoSuchCategoryExceptioncom.phoenix_int.aserver.security.PHXAccessDeniedException
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 classconnector- Name of the connector object to usequeue- Name of the queue object to use
- 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 filejava.lang.Exception
instantiate (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:
instantiatein interfaceIPHXLibrarian
compClass- The class name for the componentvirtualDir- The directory the client asked for
- An instance of the specified component class
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
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
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 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
describe
describein interfaceIPHXLibrarian
compClass- The class name for the componentvirtualDir- The directory to search for the component class
- 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 for the specified component class
PHXNoSuchCategoryException- If thevirtualDirNamepassed in is invalidjava.lang.ClassNotFoundException- IfcompClassdoesn’t indicate a valid class for the specified directoryjava.lang.Exception- If anything goes wrong