Skip to main content
Package: com.phoenix_int.aserver.library All Known Subinterfaces: All Known Implementing Classes:
Declaration
Deprecated: It is preferred to use 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

Deprecated. Tells this librarian to configure itself based on the XML node passed in. The XML node should be a <librarianOptions> node whose format is specific to the particular type of librarian. Throws:
  • java.lang.Exception

cleanUp

Deprecated. Tells this librarian to clean up any resources used.

listComponents

Deprecated. Lists components within a specified directory. Parameters:
  • virtualDirName - The directory the client asked for
Returns:
  • a Collection of Strings
Throws:

listDirectories

Deprecated. Lists any available sub-directories from a particular directory. Parameters:
  • virtualDir - The directory the client asked for
Returns:
  • a Collection of Strings
Throws:

instantiate

Deprecated. Creates an instance of the specified component. Typically a librarian will find the appropriate files and pass the request off to the 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 component
  • virtualDirName - The directory the client asked for
Returns:
  • an instance of the specified component class
Throws:
  • PHXNoSuchCategoryException - If the virtualDirName passed in is invalid
  • java.lang.ClassNotFoundException - If compClass doesn’t indicate a valid class for the specified directory
  • java.lang.Exception - If anything serious goes wrong

instantiate

Deprecated. Throws:
  • java.lang.Exception

describe

Deprecated. Describes the specified component. 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 component
  • virtualDirName - The directory the client asked for
Returns:
  • a description of the specified component class
Throws:
  • PHXNoSuchCategoryException - If the virtualDirName passed in is invalid
  • java.lang.ClassNotFoundException - If compClass doesn’t indicate a valid class for the specified directory
  • java.lang.Exception - If anything goes wrong

getQueues

Deprecated. Gets the available run queues. 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 component
  • virtualDirName - The directory the client asked for
Returns:
  • a list of queues for the specified component class
Throws:
  • PHXNoSuchCategoryException - If the virtualDirName passed in is invalid
  • java.lang.ClassNotFoundException - If compClass doesn’t indicate a valid class for the specified directory
  • java.lang.Exception - If anything goes wrong