com.phoenix_int.aserver.library
All Known Subinterfaces:
All Known Implementing Classes:
Declaration
IPHXLibrarian2 as this class uses methods that can leak resources.
This is an interface for classes that manage a directory hierarchy of available components. An instance of this class is generated for each incoming connection.
Method Summary
Method Detail
initialize
<librarianOptions> node whose format is specific to the particular type of librarian.
Throws:
java.lang.Exception
cleanUp
listComponents
virtualDirName- The directory the client asked for
- a Collection of Strings
PHXNoSuchCategoryException- com.phoenix_int.aserver.security.PHXAccessDeniedException
listDirectories
virtualDir- The directory the client asked for
- a Collection of Strings
PHXNoSuchCategoryException- com.phoenix_int.aserver.security.PHXAccessDeniedException
instantiate
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.
Parameters:
compClass- the class name for the componentvirtualDirName- The directory the client asked for
- an instance of the specified component class
PHXNoSuchCategoryException- If the virtualDirName passed in is invalidjava.lang.ClassNotFoundException- If compClass doesn’t indicate a valid class for the specified directoryjava.lang.Exception- If anything serious goes wrong
instantiate
java.lang.Exception
describe
PHXNoSuchCategoryException and ClassNotFoundException in the appropriate cases as they are handled in special ways by the librarian mounter and librarian combiner.
Parameters:
compClass- the class name for the componentvirtualDirName- The directory the client asked for
- a description 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 goes wrong
getQueues
PHXNoSuchCategoryException and ClassNotFoundException in the appropriate cases as they are handled in special ways by the librarian mounter and librarian combiner.
Parameters:
compClass- the class name for the componentvirtualDirName- 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