org.globus.wsrf.impl.notification
Class SubscriptionHome
java.lang.Object
org.globus.wsrf.impl.ResourceHomeImpl
org.globus.wsrf.impl.notification.SubscriptionHome
- All Implemented Interfaces:
- Initializable, ResourceHome
- public class SubscriptionHome
- extends ResourceHomeImpl
|
Field Summary |
private static org.globus.util.I18n |
i18n
|
private static org.apache.commons.logging.Log |
logger
|
private java.lang.reflect.Constructor |
resourceConstructor
|
|
Method Summary |
ResourceKey |
create(org.apache.axis.message.addressing.EndpointReferenceType consumerReference,
org.apache.axis.message.addressing.EndpointReferenceType producerReference,
java.util.Calendar initialTerminationTime,
java.lang.Object subscriptionPolicy,
QueryExpressionType precondition,
QueryExpressionType selector,
ResourceKey producerKey,
java.lang.String producerHomeLocation,
TopicExpressionType topicPathExpression,
boolean useNotify,
ClientSecurityDescriptor notificationSecurityDescriptor,
ResourceSecurityDescriptor resourceSecurityDescriptor)
Create a subscription resource |
ResourceKey |
create(org.apache.axis.message.addressing.EndpointReferenceType consumerReference,
org.apache.axis.message.addressing.EndpointReferenceType producerReference,
java.util.Calendar initialTerminationTime,
java.lang.Object subscriptionPolicy,
QueryExpressionType precondition,
QueryExpressionType selector,
ResourceKey producerKey,
java.lang.String producerHomeLocation,
TopicExpressionType topicPathExpression,
boolean useNotify,
ClientSecurityDescriptor notificationSecurityDescriptor,
ResourceSecurityDescriptor resourceSecurityDescriptor,
NotifyCallback callback)
Create a subscription resource |
protected Subscription |
createSubscription(org.apache.axis.message.addressing.EndpointReferenceType consumerReference,
org.apache.axis.message.addressing.EndpointReferenceType producerReference,
java.util.Calendar initialTerminationTime,
java.lang.Object subscriptionPolicy,
QueryExpressionType precondition,
QueryExpressionType selector,
ResourceKey producerKey,
java.lang.String producerHomeLocation,
TopicExpressionType topicPathExpression,
boolean useNotify,
ClientSecurityDescriptor notificationSecurityDescriptor,
ResourceSecurityDescriptor resourceSecurityDescriptor,
NotifyCallback callback)
|
void |
initialize()
|
| Methods inherited from class org.globus.wsrf.impl.ResourceHomeImpl |
add, createNewInstance, createNewInstanceAndLoad, find, getCacheLocation, getKeyTypeClass, getKeyTypeName, getResourceClass, getSweeperDelay, remove, setCacheLocation, setResourceClass, setResourceKeyName, setResourceKeyType, setSweeperDelay |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static org.apache.commons.logging.Log logger
i18n
private static org.globus.util.I18n i18n
resourceConstructor
private java.lang.reflect.Constructor resourceConstructor
SubscriptionHome
public SubscriptionHome()
initialize
public void initialize()
throws java.lang.Exception
- Specified by:
initialize in interface Initializable- Overrides:
initialize in class ResourceHomeImpl
- Throws:
java.lang.Exception
create
public ResourceKey create(org.apache.axis.message.addressing.EndpointReferenceType consumerReference,
org.apache.axis.message.addressing.EndpointReferenceType producerReference,
java.util.Calendar initialTerminationTime,
java.lang.Object subscriptionPolicy,
QueryExpressionType precondition,
QueryExpressionType selector,
ResourceKey producerKey,
java.lang.String producerHomeLocation,
TopicExpressionType topicPathExpression,
boolean useNotify,
ClientSecurityDescriptor notificationSecurityDescriptor,
ResourceSecurityDescriptor resourceSecurityDescriptor)
throws SubscriptionCreationException
- Create a subscription resource
- Parameters:
consumerReference - The EPR of the notification
consumerproducerReference - The EPR of the producer resourceinitialTerminationTime - The initial termination time for
the subscriptionsubscriptionPolicy - The policy associciated with the
subscriptionprecondition - The precondition associciated with
the subscriptionselector - The selector associciated with the
subscriptionproducerKey - The key for the producer resourceproducerHomeLocation - The JNDI path for the producer
resource's resource hometopicPathExpression - The topic path expression for this
subscriptionuseNotify - Flag indicating if notifications
should be wrappednotificationSecurityDescriptor - The security settings to use when
sending notifications for this
subscriptionresourceSecurityDescriptor - The resource security descriptor to
apply to the created resource
- Returns:
- The resource key for the created resource
- Throws:
SubscriptionCreationException - If the create fails
create
public ResourceKey create(org.apache.axis.message.addressing.EndpointReferenceType consumerReference,
org.apache.axis.message.addressing.EndpointReferenceType producerReference,
java.util.Calendar initialTerminationTime,
java.lang.Object subscriptionPolicy,
QueryExpressionType precondition,
QueryExpressionType selector,
ResourceKey producerKey,
java.lang.String producerHomeLocation,
TopicExpressionType topicPathExpression,
boolean useNotify,
ClientSecurityDescriptor notificationSecurityDescriptor,
ResourceSecurityDescriptor resourceSecurityDescriptor,
NotifyCallback callback)
throws SubscriptionCreationException
- Create a subscription resource
- Parameters:
consumerReference - The EPR of the notification
consumerproducerReference - The EPR of the producer resourceinitialTerminationTime - The initial termination time for
the subscriptionsubscriptionPolicy - The policy associciated with the
subscriptionprecondition - The precondition associciated with
the subscriptionselector - The selector associciated with the
subscriptionproducerKey - The key for the producer resourceproducerHomeLocation - The JNDI path for the producer
resource's resource hometopicPathExpression - The topic path expression for this
subscriptionuseNotify - Flag indicating if notifications
should be wrappednotificationSecurityDescriptor - The security settings to use when
sending notifications for this
subscriptionresourceSecurityDescriptor - The resource security descriptor to
apply to the created resourcecallback - called directly if local call
- Returns:
- The resource key for the created resource
- Throws:
SubscriptionCreationException - If the create fails
createSubscription
protected Subscription createSubscription(org.apache.axis.message.addressing.EndpointReferenceType consumerReference,
org.apache.axis.message.addressing.EndpointReferenceType producerReference,
java.util.Calendar initialTerminationTime,
java.lang.Object subscriptionPolicy,
QueryExpressionType precondition,
QueryExpressionType selector,
ResourceKey producerKey,
java.lang.String producerHomeLocation,
TopicExpressionType topicPathExpression,
boolean useNotify,
ClientSecurityDescriptor notificationSecurityDescriptor,
ResourceSecurityDescriptor resourceSecurityDescriptor,
NotifyCallback callback)
throws java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.InstantiationException
- Parameters:
consumerReference - producerReference - initialTerminationTime - subscriptionPolicy - precondition - selector - producerKey - producerHomeLocation - topicPathExpression - useNotify - notificationSecurityDescriptor - resourceSecurityDescriptor -
- Throws:
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.InstantiationException