org.globus.wsrf.impl
Class NotificationConsumerCallbackManagerImpl
java.lang.Object
org.globus.wsrf.impl.NotificationConsumerCallbackManagerImpl
- All Implemented Interfaces:
- NotificationConsumerCallbackManager, Resource, SecureResource
- public class NotificationConsumerCallbackManagerImpl
- extends java.lang.Object
- implements NotificationConsumerCallbackManager, SecureResource
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resDesc
ResourceSecurityDescriptor resDesc
callbackTable
java.util.Map callbackTable
NotificationConsumerCallbackManagerImpl
public NotificationConsumerCallbackManagerImpl(ResourceSecurityDescriptor desc)
registerCallback
public void registerCallback(java.util.List topicPath,
NotifyCallback callback)
- Description copied from interface:
NotificationConsumerCallbackManager
- Register a notification callback
- Specified by:
registerCallback in interface NotificationConsumerCallbackManager
- Parameters:
topicPath - The topic path for which this callback should be called.
May be null, in which case the callback is called for
notification messages for which no other callback is
registeredcallback - The notification callback- See Also:
NotifyCallback
getCallback
public NotifyCallback getCallback(java.util.List topicPath)
- Description copied from interface:
NotificationConsumerCallbackManager
- Get the notification callback for the supplied topic path
- Specified by:
getCallback in interface NotificationConsumerCallbackManager
- Parameters:
topicPath - The topic path. A null topic path will return the
default callback.
- Returns:
- The notification callback
topicPathToString
private static java.lang.String topicPathToString(java.util.List topicPath)
getSecurityDescriptor
public ResourceSecurityDescriptor getSecurityDescriptor()
- Description copied from interface:
SecureResource
- Method to retrieve the security descriptor for this
resource. If the descriptor does not have Subject and GridMap
set, then it is recommended that
ResourceSecurityConfig be used initialize the
descriptor object. If the initialized is set to true, in
the returned descriptor, then no initialization is done.
- Specified by:
getSecurityDescriptor in interface SecureResource
- Returns:
- resource security descriptor for the resource. Can be null.