|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.wsrf.impl.notification.SubscribeHelper
Helper class to allow callers outside of SubscribeProvider to generate new subscriptions.
| Field Summary | |
private NotifyCallback |
callback
|
private ContainerSecurityConfig |
containerSecurityConfig
|
private ResourceContext |
context
|
private static org.globus.util.I18n |
i18n
|
private static org.apache.commons.logging.Log |
logger
|
private java.lang.String |
producerHomeLocation
|
private ResourceKey |
producerKey
|
private Resource |
producerResource
|
private Subscribe |
request
|
private SecurityManager |
securityManager
|
private java.lang.String |
subscriptionManager
|
| Constructor Summary | |
SubscribeHelper(ResourceContext context,
Resource producerResource,
ResourceKey producerKey,
java.lang.String producerHomeLocation,
Subscribe request)
Constructor for notifications sent via WS calls |
|
SubscribeHelper(Resource producerResource,
ResourceKey producerKey,
java.lang.String producerHomeLocation,
Subscribe request,
NotifyCallback callback)
Constructor for locally sent notifications |
|
| Method Summary | |
private ResourceSecurityDescriptor |
createResourceSecurityDescriptor()
Create a new resource security descriptor and fill in the subject and authorization bits |
protected java.lang.String |
getSubscriptionManagerServiceName()
|
protected ClientSecurityDescriptor |
setupNotificationSecurityDescriptor(org.apache.axis.message.addressing.EndpointReferenceType consumerEPR)
Set up the client security descriptor used for sending notifications. |
protected ResourceSecurityDescriptor |
setupResourceSecurityDescriptor()
Set up the resource descriptor to be used on the resource. |
org.apache.axis.message.addressing.EndpointReferenceType |
subscribe()
Create a new subscription. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static org.apache.commons.logging.Log logger
private static org.globus.util.I18n i18n
private ResourceContext context
private Resource producerResource
private ResourceKey producerKey
private java.lang.String producerHomeLocation
private java.lang.String subscriptionManager
private Subscribe request
private SecurityManager securityManager
private ContainerSecurityConfig containerSecurityConfig
private NotifyCallback callback
| Constructor Detail |
public SubscribeHelper(ResourceContext context,
Resource producerResource,
ResourceKey producerKey,
java.lang.String producerHomeLocation,
Subscribe request)
context - The resource context of caller. Used to
detect security settings on the subscription
resource as well as notificationsproducerResource - The producer resourceproducerKey - The key for the producer resourceproducerHomeLocation - The location (JNDI) of the producer resource
homerequest - The subscribe request
public SubscribeHelper(Resource producerResource,
ResourceKey producerKey,
java.lang.String producerHomeLocation,
Subscribe request,
NotifyCallback callback)
producerResource - The producer resourceproducerKey - The key for the producer resourceproducerHomeLocation - The location (JNDI) of the producer resource
homerequest - The subscribe requestcallback - called directly if it's a local call| Method Detail |
public org.apache.axis.message.addressing.EndpointReferenceType subscribe()
throws SubscribeCreationFailedFaultType,
TopicNotSupportedFaultType,
TopicPathDialectUnknownFaultType,
InvalidTopicExpressionFaultType
SubscribeCreationFailedFaultType
TopicNotSupportedFaultType
TopicPathDialectUnknownFaultType
InvalidTopicExpressionFaultType
protected ResourceSecurityDescriptor setupResourceSecurityDescriptor()
throws SecurityException,
ConfigException,
SecurityDescriptorException
SecurityException
ConfigException
SecurityDescriptorException
private ResourceSecurityDescriptor createResourceSecurityDescriptor()
throws SecurityException
SecurityException
protected ClientSecurityDescriptor setupNotificationSecurityDescriptor(org.apache.axis.message.addressing.EndpointReferenceType consumerEPR)
throws SecurityException
consumerEPR -
SecurityExceptionprotected java.lang.String getSubscriptionManagerServiceName()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||