Package com.nt.udc.admin.server.api
Class APIMetaFactory
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.nt.udc.admin.server.api.APIMetaFactory
- All Implemented Interfaces:
AdminAPIFactory,NodeAPIFactory,Serializable,Remote
- See Also:
-
Field Summary
Fields inherited from class java.rmi.server.RemoteObject
ref -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAdminAPI(String name) getNodeAPI(String nodeName) Create a XmlTl1Api object for a specific node.Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObjectMethods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
-
Constructor Details
-
APIMetaFactory
public APIMetaFactory(AdminServerImpl adminServer, int aPIMetaFactoryRMIPortNo) throws RemoteException - Throws:
RemoteException
-
-
Method Details
-
getNodeAPI
Description copied from interface:NodeAPIFactoryCreate a XmlTl1Api object for a specific node.Given a node name, create a NodeApi object for configurating that node. If there is more than one node with the specified node name a NodeApiException will be thrown. It is the responsibility of the user to ensure that only one node with the given name exists.
- Specified by:
getNodeAPIin interfaceNodeAPIFactory- Parameters:
nodeName- The name of the node which is to be configured.- Returns:
- The NodeApi object for the specified node.
- Throws:
NodeAPIExceptionRemoteException
-
getAdminAPI
- Specified by:
getAdminAPIin interfaceAdminAPIFactory- Throws:
AdminAPIException
-