|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.able.platform.RmiAbleEServerJobServiceFactory
This class creates RMI versions of eServer Job Service objects, and returns them in proxy objects.
Constructor Summary | |
RmiAbleEServerJobServiceFactory()
Create a factory that knows how to create or find RMI versions of eServer Job Service objects. |
Method Summary | |
static java.lang.String |
Copyright()
Determine the copyright of this class. |
javax.agent.service.Service |
getService(javax.agent.service.ServiceProperties theServiceProperties)
Create or find an RMI version of an eServer Job Service. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RmiAbleEServerJobServiceFactory()
Method Detail |
public javax.agent.service.Service getService(javax.agent.service.ServiceProperties theServiceProperties) throws javax.agent.service.ServiceException
Special requirements for the desired service are supplied using the ServiceProperties parameter. Service Properties that this factory examines are:
If the service properties indicate that the desired service is to be located on the host on which this code is running, this factory will attempt to first look up the service in the appropriate (local) RMI registry. If the service is not there, the factory will next attempt to create the service from scratch -- this may even involve creating the RMI registry itself. In other words, if the service is to be here on the local machine,
If the service properties indicate that the desired service is located on some other host than where this code is running, the factory will attempt to look up the service on the specified host and port. If the desired service is not there, there is no way to create the service remotely, so this method will fail with a ServiceException.
If the desired service can be found or created successfully, the service is returned in the form of a non-RMI proxy.
getService
in interface org.jagent.service.spi.ServiceFactory
theServiceProperties
- The non-null service properties specifying
information to be used in the creation of the Service.
Service Properties that this factory examines are:
If no SERVICE_HOST
property is specified,
the local host is assumed.
If no SERVICE_PORT
property is specified,
the default JAVA RMI port is assumed.
javax.agent.service.ServiceException
- If the desired service cannot be located or created.public static java.lang.String Copyright()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |