org.globus.ogsa.impl.core.notification.framework
Class SubscriptionFactoryDelegate

java.lang.Object
  extended byorg.globus.ogsa.impl.core.service.ServicePropertiesImpl
      extended byorg.globus.ogsa.impl.core.notification.framework.SubscriptionFactoryDelegate
All Implemented Interfaces:
DestroyListener, ServiceProperties

public class SubscriptionFactoryDelegate
extends ServicePropertiesImpl
implements DestroyListener

The SubscriptionFacatoryImpl class. This class is the implementation of the subscription as a grid service.


Field Summary
protected  GridServiceBase base
           
 
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
SubscriptionFactoryDelegate(GridServiceBase base)
           
 
Method Summary
 void createService(TerminationTimeType terminationTime, ExtensibilityType creationParameters, LocatorTypeHolder locator, TerminationTimeTypeHolder currentTerminationTime)
           
 GridServiceBase createServiceObject(TerminationTimeType terminationTime, ExtensibilityType extension)
          The createServiceObject method.
 void notifyDestroy(java.lang.String path)
          The notifyDestroy method.
 void setSubscriptionDestroyListener(SubscriptionDestroyListener aSubscriptionDestroyListener)
          The set method for the SubscriptionDestroyListener object
 void setSubscriptionExpressionType(java.lang.String subscriptionExpressionType)
          Sets the subscriptionExpressionType.
 
Methods inherited from class org.globus.ogsa.impl.core.service.ServicePropertiesImpl
flush, flush, getPersistentProperty, getProperty, keySet, setPersistentProperty, setProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

base

protected GridServiceBase base
Constructor Detail

SubscriptionFactoryDelegate

public SubscriptionFactoryDelegate(GridServiceBase base)
Method Detail

createService

public void createService(TerminationTimeType terminationTime,
                          ExtensibilityType creationParameters,
                          LocatorTypeHolder locator,
                          TerminationTimeTypeHolder currentTerminationTime)
                   throws java.rmi.RemoteException,
                          FaultType,
                          ServiceAlreadyExistsFaultType,
                          ExtensibilityNotSupportedFaultType,
                          ExtensibilityTypeFaultType
Throws:
java.rmi.RemoteException
FaultType
ServiceAlreadyExistsFaultType
ExtensibilityNotSupportedFaultType
ExtensibilityTypeFaultType

createServiceObject

public GridServiceBase createServiceObject(TerminationTimeType terminationTime,
                                           ExtensibilityType extension)
                                    throws java.lang.Exception,
                                           GridServiceException
The createServiceObject method. This method creates the Service Object.

Returns:
GridServiceBase
Throws:
java.lang.Exception
GridServiceException

setSubscriptionDestroyListener

public void setSubscriptionDestroyListener(SubscriptionDestroyListener aSubscriptionDestroyListener)
The set method for the SubscriptionDestroyListener object


notifyDestroy

public void notifyDestroy(java.lang.String path)
The notifyDestroy method. This is the destroy callback method.

Specified by:
notifyDestroy in interface DestroyListener
Parameters:
path - - The service path

setSubscriptionExpressionType

public void setSubscriptionExpressionType(java.lang.String subscriptionExpressionType)
Sets the subscriptionExpressionType.