org.globus.ogsa.impl.core.management
Class OgsiManagement
java.lang.Object
org.globus.ogsa.impl.core.service.ServicePropertiesImpl
org.globus.ogsa.impl.ogsi.GridServiceImpl
org.globus.ogsa.impl.core.management.OgsiManagement
- All Implemented Interfaces:
- GridService, GridServiceBase, GridServiceCallback, java.rmi.Remote, ServiceDataValueCallback, ServiceProperties
- public class OgsiManagement
- extends GridServiceImpl
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 |
OgsiManagement()
OgsiManagement
Default constructor. |
Methods inherited from class org.globus.ogsa.impl.ogsi.GridServiceImpl |
addOperationProvider, destroy, findServiceData, getInstanceProperty, getOperationProvider, getQueryEngine, getServiceDataSet, getServiceInterface, getTerminationTime, populateInstanceProperties, preCreate, removeOperationProvider, requestTerminationAfter, requestTerminationBefore, setDefaultTermination, setQueryEngine, setServiceData, setServiceDataSet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MANAGEMENT_SERVICE_PORT_TYPE_NS
public static final java.lang.String MANAGEMENT_SERVICE_PORT_TYPE_NS
- See Also:
- Constant Field Values
NUMBER_SERVICES
public static final javax.xml.namespace.QName NUMBER_SERVICES
HARD_SHUTDOWN
public static final java.lang.String HARD_SHUTDOWN
- See Also:
- Constant Field Values
OgsiManagement
public OgsiManagement()
OgsiManagement
Default constructor.
postCreate
public void postCreate(GridContext context)
throws GridServiceException
postCreate
Post Create state transition callback...
- Specified by:
postCreate
in interface GridServiceCallback
- Overrides:
postCreate
in class GridServiceImpl
- Parameters:
context
- The GridContext that exists when this API is called.
- Returns:
- void
- Throws:
GridServiceException
activate
public void activate(GridContext context)
throws GridServiceException
activate
Activate state transition callback...
- Specified by:
activate
in interface GridServiceCallback
- Overrides:
activate
in class GridServiceImpl
- Parameters:
context
- The GridContext that exists when this API is called.
- Returns:
- void
- Throws:
GridServiceException
deactivate
public void deactivate(GridContext context)
throws GridServiceException
deactivate
Deactivate state transition callback...
- Specified by:
deactivate
in interface GridServiceCallback
- Overrides:
deactivate
in class GridServiceImpl
- Parameters:
context
- The GridContext that exists when this API is called.
- Returns:
- void
- Throws:
GridServiceException
preDestroy
public void preDestroy(GridContext context)
throws GridServiceException
- Description copied from interface:
GridServiceCallback
- Called just before a service gets destroyed.
After this call is made the framework removes all knowledge about the
service, so it is a good place to clean up service resources.
Note that this call can be triggered both by a client initiated destroy
call, as well as a framework initiated softstate timeout.
- Specified by:
preDestroy
in interface GridServiceCallback
- Overrides:
preDestroy
in class GridServiceImpl
- Throws:
GridServiceException
getServiceDataValues
public java.util.Collection getServiceDataValues(javax.xml.namespace.QName qname)
getServiceDataValues
Gets the service data values for a given qname.
- Specified by:
getServiceDataValues
in interface ServiceDataValueCallback
- Overrides:
getServiceDataValues
in class GridServiceImpl
- Parameters:
qname
- The name of the SDE to get
- Returns:
- Object[] The array of SDE objects
endService
public void endService(HandleType aHandle)
throws java.rmi.RemoteException,
UnknownHandleFaultType,
InvalidHandleFaultType,
ServiceNotDestroyedFaultType
endService
End a service via normal termination using destroy(), allowing the
service to perform any required cleanup.
If the service is inactive, it will be activated before being destroyed.
- Parameters:
aHandle
- containing the GSH (handle) of the service to end.
- Returns:
- void
- Throws:
java.rmi.RemoteException
UnknownHandleFaultType
InvalidHandleFaultType
ServiceNotDestroyedFaultType
endServiceForce
public void endServiceForce(HandleType aHandle)
throws java.rmi.RemoteException,
UnknownHandleFaultType,
InvalidHandleFaultType
endServiceForce
Implementation for the endServiceForce operation. This method performs a
force end of a service. The service will not be notified and therefore
will not be able to perform any cleanup.
- Parameters:
aHandle
- containing the GSH (handle) of the service to end.
- Returns:
- void
- Throws:
java.rmi.RemoteException
UnknownHandleFaultType
InvalidHandleFaultType
activateService
public void activateService(HandleType aHandle)
throws java.rmi.RemoteException,
UnknownHandleFaultType,
InvalidHandleFaultType,
InvalidStateFaultType
activateService
Implementation for the activateService operation. This method activate a
service that is current in the deactivated state.
- Parameters:
aHandle
- containing the GSH (handle) of the service to activate.
- Returns:
- void
- Throws:
java.rmi.RemoteException
UnknownHandleFaultType
InvalidHandleFaultType
InvalidStateFaultType
deactivateService
public void deactivateService(HandleType aHandle)
throws java.rmi.RemoteException,
UnknownHandleFaultType,
InvalidHandleFaultType,
InvalidStateFaultType
deactivateService
Implementation for the deactivateService operation. This method
deactivates a service that is current in the activated state.
- Parameters:
aHandle
- containing the GSH (handle) of the service to activate.
- Returns:
- void
- Throws:
java.rmi.RemoteException
UnknownHandleFaultType
InvalidHandleFaultType
InvalidStateFaultType
shutdown
public void shutdown(boolean hard)
throws java.rmi.RemoteException,
HardShutdownNotAllowedFaultType
- Throws:
java.rmi.RemoteException
HardShutdownNotAllowedFaultType
Copyright ? 1999 University of Chicago and The University of Southern California. All Rights Reserved.