|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IPHXLibrarian
This is an interface for classes that manage a directory heirarchy of available components. An instance of this class is generated for each incoming connection.
| Method Summary | |
|---|---|
void |
cleanUp()
Tells this librarian to clean up any resources used. |
PHXComponentDescription |
describe(java.lang.String compClass,
java.lang.String virtualDirName)
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. |
java.lang.String |
getQueues(java.lang.String compClass,
java.lang.String virtualDirName)
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. |
void |
initialize(com.phoenix_int.aserver.ascore.PHXConnection connection,
IPHXFactory factories,
com.phoenix_int.aserver.ascore.PHXAServerArgs args,
org.w3c.dom.Node xmlOptions)
Tells this librarian to configure itself based on the XML node passed in. |
IPHXComponent |
instantiate(java.lang.String compClass,
java.lang.String virtualDirName)
creates an instance of the specified component. |
IPHXComponent |
instantiate(java.lang.String compClass,
java.lang.String virtualDirName,
java.lang.String connector,
java.lang.String queue)
|
java.util.Collection |
listComponents(java.lang.String virtualDirName)
lists components within a specified directory |
java.util.Collection |
listDirectories(java.lang.String virtualDir)
lists any available sub-directories from a particular directory |
| Method Detail |
|---|
void initialize(com.phoenix_int.aserver.ascore.PHXConnection connection,
IPHXFactory factories,
com.phoenix_int.aserver.ascore.PHXAServerArgs args,
org.w3c.dom.Node xmlOptions)
throws java.lang.Exception
java.lang.Exceptionvoid cleanUp()
java.util.Collection listComponents(java.lang.String virtualDirName)
throws PHXNoSuchCategoryException,
com.phoenix_int.aserver.security.PHXAccessDeniedException
virtualDirName - The directory the client asked for
PHXNoSuchCategoryException
com.phoenix_int.aserver.security.PHXAccessDeniedException
java.util.Collection listDirectories(java.lang.String virtualDir)
throws PHXNoSuchCategoryException,
com.phoenix_int.aserver.security.PHXAccessDeniedException
virtualDirName - The directory the client asked for
PHXNoSuchCategoryException
com.phoenix_int.aserver.security.PHXAccessDeniedException
IPHXComponent instantiate(java.lang.String compClass,
java.lang.String virtualDirName)
throws java.lang.Exception
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.
compClass - the class name for the componentvirtualDirName - The directory the client asked for
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
IPHXComponent instantiate(java.lang.String compClass,
java.lang.String virtualDirName,
java.lang.String connector,
java.lang.String queue)
throws java.lang.Exception
java.lang.Exception
PHXComponentDescription describe(java.lang.String compClass,
java.lang.String virtualDirName)
throws java.lang.Exception
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.
compClass - the class name for the componentvirtualDirName - The directory the client asked for
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
java.lang.String getQueues(java.lang.String compClass,
java.lang.String virtualDirName)
throws java.lang.Exception
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.
compClass - the class name for the componentvirtualDirName - The directory the client asked for
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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||