org.globus.ogsa.impl.ogsi
Class PersistentGridServiceImpl

java.lang.Object
  extended byorg.globus.ogsa.impl.core.service.ServicePropertiesImpl
      extended byorg.globus.ogsa.impl.ogsi.GridServiceImpl
          extended byorg.globus.ogsa.impl.ogsi.PersistentGridServiceImpl
All Implemented Interfaces:
GridService, GridServiceBase, GridServiceCallback, PersistentGridServiceBase, PersistentGridServiceCallback, java.rmi.Remote, ServiceDataValueCallback, ServiceProperties
Direct Known Subclasses:
AdminServiceImpl, AuthenticationServiceImpl, ContainerRegistryImpl, HandleResolverImpl, NestedArrayServiceImpl, NestedServiceImpl, OgsiLogging, OgsiManagement, SerializationImpl, ServiceDataImpl

public class PersistentGridServiceImpl
extends GridServiceImpl
implements PersistentGridServiceBase


Field Summary
 
Fields inherited from class org.globus.ogsa.impl.ogsi.GridServiceImpl
queryEngine, serviceData
 
Fields inherited from interface org.globus.ogsa.ServiceProperties
ACTIVATE_ON_STARTUP, ACTIVATION, BASE_CLASS_NAME, BOOTSTRAP, CONFIG_PATH, CONTAINS_REFERENCE, CREATION_EXTENSIBILITY, CREATION_EXTENSIBILITY_OUTPUT, CUSTOM_EXTENSIBILITY_DESERIALIZER, CUSTOM_EXTENSIBILITY_SERIALIZER, CUSTOM_MAPPING_REGISTERED, DEACTIVATED_PERSISTENT, DEACTIVATED_STATE, DEACTIVATED_TRANSIENT, DEACTIVATION, DESTROY_LISTENER, DESTRUCTION_SKELETON, DISABLE_FACTORY_REGISTRY, ENDPOINT, ENTRY_INSTANCE_CREATION, FACTORY, FACTORY_CALLBACK, FACTORY_HANDLE, FACTORY_PROVIDER, FACTORY_REGISTRY, GSR_DESCRIPTION, HANDLE, HANDLE_PORT, HANDLE_PROTOCOL, INSTANCE_CLASS, INSTANCE_DEACTIVATION, INSTANCE_GSR_DESCRIPTION, INSTANCE_LIFECYCLE, INSTANCE_PORT_TYPE, INSTANCE_PORT_TYPE_NS, INSTANCE_PREFIX, INSTANCE_REGISTRY, INSTANCE_SCHEMA_PATH, INSTANCE_WSDL, INTERFACE_CLASS_NAME, INVOCATION_ID, LAZY_CREATION, LIFECYCLE, LIFECYCLE_MONITOR, LIFECYCLE_MONITOR_CLASS, NAME, NOTIFICATION_ENGINE, NOTIFICATION_FACTORY, NOTIFICATION_SOURCE, OPERATION_PROVIDERS, PERSISTENT, PERSISTENT_PROPERTIES, PORT, PORT_TYPE, PORT_TYPE_NS, PRIMARY_KEY, PROTOCOL, QUERY_ENGINE, REDIRECT_RESOLVER, REGISTRY, RESOLVER_CACHE, ROUTER_HEADER, ROUTER_VIA, SCHEMA_LOCATION, SCHEMA_PATH, SERVICE_ACTIVATOR, SERVICE_DATA, SERVICE_DEPLOYMENT, SERVICE_GROUP_ENTRY, SERVICE_GROUP_PROVIDER, SERVICE_LOADER, SERVICE_NODE, SERVICE_PATH, SINK_ID, STARTUP_STATE, SWEEP_SERVICE_DATA, TIMEOUT, TIMESTAMP, TRANSIENT, TYPE, USER, WEBSTART_PANEL_NAME, WEBSTART_URL, WSDL
 
Constructor Summary
PersistentGridServiceImpl()
           
PersistentGridServiceImpl(java.lang.String name)
           
 
Method Summary
 void destroy()
           
 void postCreate(GridContext context)
          called when a service has been created and all of its configuration has been set up.
 void postPersistentCreate(GridContext context)
          called when postCreate has completed in the persistent Grid service
 TerminationTimeType requestTerminationAfter(ExtendedDateTimeType terminationTime)
           
 TerminationTimeType requestTerminationBefore(ExtendedDateTimeType terminationTime)
           
 
Methods inherited from class org.globus.ogsa.impl.ogsi.GridServiceImpl
activate, addOperationProvider, deactivate, findServiceData, getInstanceProperty, getOperationProvider, getQueryEngine, getServiceDataSet, getServiceDataValues, getServiceInterface, getTerminationTime, populateInstanceProperties, preCreate, preDestroy, setDefaultTermination, setQueryEngine, setServiceData, setServiceDataSet
 
Methods inherited from class org.globus.ogsa.impl.core.service.ServicePropertiesImpl
flush, getPersistentProperty, getProperty, keySet, setPersistentProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.globus.ogsa.GridServiceBase
addOperationProvider, getInstanceProperty, getOperationProvider, getQueryEngine, getServiceDataSet, getServiceInterface, getTerminationTime, populateInstanceProperties, setQueryEngine, setServiceDataSet
 
Methods inherited from interface org.globus.ogsa.ServiceProperties
flush, getPersistentProperty, getProperty, setPersistentProperty, setProperty
 
Methods inherited from interface org.globus.ogsa.GridServiceCallback
activate, deactivate, preCreate, preDestroy
 
Methods inherited from interface org.gridforum.ogsi.GridService
findServiceData, setServiceData
 

Constructor Detail

PersistentGridServiceImpl

public PersistentGridServiceImpl()

PersistentGridServiceImpl

public PersistentGridServiceImpl(java.lang.String name)
Method Detail

postCreate

public void postCreate(GridContext context)
                throws GridServiceException
Description copied from interface: GridServiceCallback
called when a service has been created and all of its configuration has been set up.

Specified by:
postCreate in interface GridServiceCallback
Overrides:
postCreate in class GridServiceImpl
Throws:
GridServiceException

postPersistentCreate

public void postPersistentCreate(GridContext context)
                          throws GridServiceException
Description copied from interface: PersistentGridServiceCallback
called when postCreate has completed in the persistent Grid service

Specified by:
postPersistentCreate in interface PersistentGridServiceCallback
Parameters:
context - state information about the service that is to be created
Throws:
GridServiceException - if the creation is to be aborted

requestTerminationBefore

public TerminationTimeType requestTerminationBefore(ExtendedDateTimeType terminationTime)
                                             throws java.rmi.RemoteException,
                                                    TerminationTimeUnchangedFaultType,
                                                    FaultType
Specified by:
requestTerminationBefore in interface GridService
Overrides:
requestTerminationBefore in class GridServiceImpl
Throws:
java.rmi.RemoteException
TerminationTimeUnchangedFaultType
FaultType

requestTerminationAfter

public TerminationTimeType requestTerminationAfter(ExtendedDateTimeType terminationTime)
                                            throws java.rmi.RemoteException,
                                                   TerminationTimeUnchangedFaultType,
                                                   FaultType
Specified by:
requestTerminationAfter in interface GridService
Overrides:
requestTerminationAfter in class GridServiceImpl
Throws:
java.rmi.RemoteException
TerminationTimeUnchangedFaultType
FaultType

destroy

public void destroy()
             throws java.rmi.RemoteException,
                    FaultType,
                    ServiceNotDestroyedFaultType
Specified by:
destroy in interface GridService
Overrides:
destroy in class GridServiceImpl
Throws:
java.rmi.RemoteException
FaultType
ServiceNotDestroyedFaultType


Copyright ? 1999 University of Chicago and The University of Southern California. All Rights Reserved.