|
||||||||||
| 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
org.gridforum.ogsi.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,
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 |
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 |
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,
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.RemoteExceptionpublic TerminationTimeType getTerminationTime()
public ExtensibilityType getExtensibilityOutput()
public Stub getStub()
public Factory getFactory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||