|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The GridServiceBase interface defines the methods that need to
be supported by all Grid service implementations.
This functionality is typically (although not necessarily) implemented by a base
class that all Grid service implementaitons inherit from.
| Field Summary |
| Method Summary | |
void |
addOperationProvider(OperationProvider provider)
adds a new operation provider to this service. |
java.lang.Object |
getInstanceProperty(java.lang.String key)
gets a property that is to be propagated to other instances that this Grid service may create. |
OperationProvider |
getOperationProvider(javax.xml.namespace.QName operationName)
gets the operation provider based on the qname of the operation as defined in the WSDL representation of the service interface |
QueryEngine |
getQueryEngine()
gets the QueryEngine implementation that is used to evaluate service data based query expressions on the service. |
ServiceDataSet |
getServiceDataSet()
gets the ServiceDataSet implementing storage of service data entries for the service. |
java.lang.Class |
getServiceInterface()
gets the class representing the service interface of this service. |
TerminationTimeType |
getTerminationTime()
gets the current termination time of the service. |
void |
populateInstanceProperties(GridServiceBase service)
propagates instance properties of this service to another Grid service |
void |
setQueryEngine(QueryEngine engine)
sets the QueryEngine implementation that is used to evaluate service data based query expressions on the service. |
void |
setServiceDataSet(ServiceDataSet serviceData)
sets the ServiceDataSet implementing storage of service data entries for the service. |
| Methods inherited from interface org.globus.ogsa.ServiceProperties |
flush, getPersistentProperty, getProperty, setPersistentProperty, setProperty |
| Methods inherited from interface org.globus.ogsa.GridServiceCallback |
activate, deactivate, postCreate, preCreate, preDestroy |
| Methods inherited from interface org.gridforum.ogsi.GridService |
destroy, findServiceData, requestTerminationAfter, requestTerminationBefore, setServiceData |
| Method Detail |
public ServiceDataSet getServiceDataSet()
public void setServiceDataSet(ServiceDataSet serviceData)
serviceData - ServiceDataSet to be associated with this Grid servicepublic QueryEngine getQueryEngine()
QueryEngine can be used to register new
evaluators for custom query expressions.
public void setQueryEngine(QueryEngine engine)
engine - QueryEngine to be associated with this Grid service
public void addOperationProvider(OperationProvider provider)
throws GridServiceException
provider - OperationProvider to be linked with this service
GridServiceException - if the provider failed to initializepublic OperationProvider getOperationProvider(javax.xml.namespace.QName operationName)
operationName - name of operation to look up (namespace "" and localPart
"*" can be used to find generic operation dispatchers)
public java.lang.Class getServiceInterface()
GridServiceBase.
public TerminationTimeType getTerminationTime()
public java.lang.Object getInstanceProperty(java.lang.String key)
key - the name of the property (note instance properties are prefixed by "instance-"
in the configuration)
public void populateInstanceProperties(GridServiceBase service)
service - the Grid service that is to be populated with instance properties from this service
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||