|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.globus.ogsa.utils.GridServiceFactory
This class is a wrapper around the OGSI Factory Interface to simplify service creation
Factory
Constructor Summary | |
GridServiceFactory(Factory factory)
Creates a factory wrapper based on an ogsi Factory proxy |
Method Summary | |
LocatorType |
createService()
Create a service instance |
LocatorType |
createService(java.util.Calendar timeout)
Create a service instance and set initial lifetime timeout |
LocatorType |
createService(java.util.Calendar timeout,
java.lang.String id)
Create a service instance and set service id, and timeout |
LocatorType |
createService(java.util.Calendar timeout,
java.lang.String id,
ExtensibilityType creationParameters)
Create a service instance and set service id, and timeout, and extensibility input. |
LocatorType |
createService(ExtensibilityType creationParameters)
Create a service instance using extensibility element input |
LocatorType |
createService(java.lang.String id)
Create a service instance and set service id |
ExtensibilityType |
getExtensibilityOutput()
Gets the extensibility output element of the last service created by this factory wrapper. |
Factory |
getFactory()
Gets the actual factory wrapped by this object |
javax.xml.rpc.Stub |
getStub()
Gets the stub represenation of the factory wrapped by this object |
TerminationTimeType |
getTerminationTime()
Gets the termination time of the last service created by this factory wrapper |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GridServiceFactory(Factory factory)
Method Detail |
public LocatorType createService() throws java.rmi.RemoteException
java.rmi.RemoteException
public LocatorType createService(ExtensibilityType creationParameters) throws java.rmi.RemoteException
creationParameters
- custom input parameters to be passed to the
service factoy
java.rmi.RemoteException
public LocatorType createService(java.util.Calendar timeout) throws java.rmi.RemoteException
timeout
- time until which the service instance is requested to be
alive
java.rmi.RemoteException
public LocatorType createService(java.lang.String id) throws java.rmi.RemoteException
id
- a unique id that identifies this service among others within
the same factory. Making use of this id allows for once and only once
service creation semantics.
java.rmi.RemoteException
public LocatorType createService(java.util.Calendar timeout, java.lang.String id) throws java.rmi.RemoteException
timeout
- time until which the service instance is requested to beid
- a unique id that identifies this service among others within
the same factory. Making use of this id allows for once and only once
service creation semantics.
java.rmi.RemoteException
public LocatorType createService(java.util.Calendar timeout, java.lang.String id, ExtensibilityType creationParameters) throws java.rmi.RemoteException
timeout
- time until which the service instance is requested to beid
- a unique id that identifies this service among others within
the same factory. Making use of this id allows for once and only once
service creation semantics.creationParameters
- custom input parameters to be passed to the
service factoy
java.rmi.RemoteException
public TerminationTimeType getTerminationTime()
public ExtensibilityType getExtensibilityOutput()
public javax.xml.rpc.Stub getStub()
public Factory getFactory()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |