edu.ucsb.adl.middleware.rmi
Class StatusServiceImpl
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--edu.ucsb.adl.middleware.rmi.StatusServiceImpl
- All Implemented Interfaces:
- java.rmi.Remote, java.io.Serializable, StatusService
- public final class StatusServiceImpl
- extends java.rmi.server.UnicastRemoteObject
- implements StatusService
Bridge between the RMI interface to the ADL status service and the
status service itself.
- Version:
- $Header: /export/home/gjanee/middleware/edu/ucsb/adl/middleware/rmi/RCS/StatusServiceImpl.java,v 1.1 2001/02/16 14:43:11 gjanee Exp $
$Log: StatusServiceImpl.java,v $
Revision 1.1 2001/02/16 14:43:11 gjanee
Initial revision
- Author:
- Greg Janée
Alexandria Digital Library
- See Also:
- Serialized Form
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
|
Constructor Summary |
StatusServiceImpl(java.lang.String configurationFile)
Creates a StatusServiceImpl. |
|
Method Summary |
protected void |
finalize()
Frees all resources held by the bridge. |
java.lang.String |
performStatusService()
Performs the ADL status service. |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
StatusServiceImpl
public StatusServiceImpl(java.lang.String configurationFile)
throws InternalErrorException,
java.rmi.RemoteException
- Creates a
StatusServiceImpl.
- Parameters:
configurationFile - The filename of an ADL middleware configuration file.
- Throws:
InternalErrorException - If the initialization of the service fails.
java.rmi.RemoteException - If an RMI error occurs.
performStatusService
public java.lang.String performStatusService()
throws MiddlewareException,
java.rmi.RemoteException
- Performs the ADL status service.
- Specified by:
performStatusService in interface StatusService
- Returns:
- An HTML document.
- Throws:
NoAuthorizationException - If the request is not allowed.
java.rmi.RemoteException - If an RMI error occurs.
InternalErrorException - If the request cannot otherwise be completed.
MiddlewareException
finalize
protected void finalize()
- Frees all resources held by the bridge.
- Overrides:
finalize in class java.lang.Object