|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.globus.ogsa.impl.ogsi.ServiceGroupRegistrationProvider
org.globus.ogsa.impl.base.index.IndexingServiceGroupRegistrationProvider
Indexing service group, extends core service group registration provider. This provider provides an implementation of the OGSI ServiceGroupRegistration portType, with following semantics: an add operation for a previously unregistered service will cause a new service group entry to be created. an add operation for a service that already exists will fail with a fault, indicating the entry that that represents the service. Possible features that could be implemented in the future: service group registration should supply a data aggregation parameter which will specify which SDEs to be aggregated service will inspect the registered service, and decide which SDEs to collect based on (for example) PortType.
| Constructor Summary | |
IndexingServiceGroupRegistrationProvider()
|
|
| Method Summary | |
void |
activate(GridContext context)
Called when a service becomes active after having been deactivated. |
TerminationTimeType |
add(LocatorTypeHolder serviceLocator,
ExtensibilityType content,
TerminationTimeType terminationTime)
This is exposed to clients as the add operation in the service group registration port type. |
void |
checkServiceRegistered(LocatorTypeHolder serviceLocator)
|
void |
deactivate(GridContext context)
Called just before a service gets deactivated. |
void |
deliverNotification(ExtensibilityType message)
Passes through the deliverNotification call to the aggregator |
QName[] |
getOperations()
Called during initialization when the Grid service needs to find out what operations are supported by this provider. |
void |
initialize(GridServiceBase serviceBase)
Called when the operation provider is added to a grid service. |
void |
postAdd(EntryType entry)
|
void |
postCreate(GridContext context)
Called when a service has been created and all of its configuration has been set up. |
void |
postRemove(EntryType entry)
|
void |
preCreate(GridServiceBase base)
Called when a service object is created. |
void |
preDestroy(GridContext context)
Called just before a service gets destroyed. |
| Methods inherited from class org.globus.ogsa.impl.ogsi.ServiceGroupRegistrationProvider |
lazyCreate, preAdd, preRemove, remove |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IndexingServiceGroupRegistrationProvider()
| Method Detail |
public void preCreate(GridServiceBase base)
throws GridServiceException
GridServiceCallback
preCreate in interface GridServiceCallbackpreCreate in class ServiceGroupRegistrationProviderGridServiceException
public void postCreate(GridContext context)
throws GridServiceException
GridServiceCallback
postCreate in interface GridServiceCallbackpostCreate in class ServiceGroupRegistrationProviderGridServiceException
public void activate(GridContext context)
throws GridServiceException
GridServiceCallback
activate in interface GridServiceCallbackactivate in class ServiceGroupRegistrationProviderGridServiceException
public void deactivate(GridContext context)
throws GridServiceException
GridServiceCallback
deactivate in interface GridServiceCallbackdeactivate in class ServiceGroupRegistrationProviderGridServiceException
public void preDestroy(GridContext context)
throws GridServiceException
GridServiceCallback
preDestroy in interface GridServiceCallbackpreDestroy in class ServiceGroupRegistrationProviderGridServiceException
public void initialize(GridServiceBase serviceBase)
throws GridServiceException
OperationProvider
initialize in interface OperationProviderinitialize in class ServiceGroupRegistrationProviderGridServiceException
public TerminationTimeType add(LocatorTypeHolder serviceLocator,
ExtensibilityType content,
TerminationTimeType terminationTime)
throws java.rmi.RemoteException,
FaultType,
ContentCreationFailedFaultType,
UnsupportedMemberInterfaceFaultType,
AddRefusedFaultType,
ExtensibilityNotSupportedFaultType,
ExtensibilityTypeFaultType,
ServiceAlreadyExistsFaultType
add in class ServiceGroupRegistrationProviderjava.rmi.RemoteException
FaultType
ContentCreationFailedFaultType
UnsupportedMemberInterfaceFaultType
AddRefusedFaultType
ExtensibilityNotSupportedFaultType
ExtensibilityTypeFaultType
ServiceAlreadyExistsFaultTypepublic QName[] getOperations()
OperationProvider
getOperations in interface OperationProvidergetOperations in class ServiceGroupRegistrationProvider
public void deliverNotification(ExtensibilityType message)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void postAdd(EntryType entry)
postAdd in class ServiceGroupRegistrationProviderpublic void postRemove(EntryType entry)
postRemove in class ServiceGroupRegistrationProvider
public void checkServiceRegistered(LocatorTypeHolder serviceLocator)
throws ServiceAlreadyExistsFaultType
ServiceAlreadyExistsFaultType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||