flex.management.runtime.messaging.services.messaging
Class SubscriptionManagerControl

java.lang.Object
  extended by flex.management.BaseControl
      extended by flex.management.runtime.messaging.services.messaging.SubscriptionManagerControl
All Implemented Interfaces:
BaseControlMBean, SubscriptionManagerControlMBean, MBeanRegistration

public class SubscriptionManagerControl
extends BaseControl
implements SubscriptionManagerControlMBean

The SubscriptionManagerControl class is the MBean implementation for monitoring and managing a SubscriptionManager at runtime.


Field Summary
 
Fields inherited from class flex.management.BaseControl
DOMAIN_PREFIX
 
Constructor Summary
SubscriptionManagerControl(SubscriptionManager subscriptionManager, BaseControl parent)
          Constructs a new SubscriptionManagerControl instance, assigning its backing SubscriptionManager.
 
Method Summary
 String getId()
          Returns the id for this MBean.
 Integer getSubscriberCount()
          Returns the count of active subscribers.
 String[] getSubscriberIds()
          Returns the ids for all active subscribers.
 String getType()
          Returns the type for this MBean.
 void removeAllSubscribers()
          Unsubscribes all active subscribers.
 void removeSubscriber(String subscriberId)
          Unsubscribes the target subscriber.
 
Methods inherited from class flex.management.BaseControl
getApplicationId, getMBeanServer, getObjectName, getParent, getParentControl, getRegistrar, postDeregister, postRegister, preDeregister, preRegister, register, setStartTimestamp, unregister
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface flex.management.BaseControlMBean
getParent
 

Constructor Detail

SubscriptionManagerControl

public SubscriptionManagerControl(SubscriptionManager subscriptionManager,
                                  BaseControl parent)
Constructs a new SubscriptionManagerControl instance, assigning its backing SubscriptionManager.

Parameters:
subscriptionManager - The SubscriptionManager managed by this MBean.
parent - The parent MBean in the management hierarchy.
Method Detail

getId

public String getId()
Description copied from interface: BaseControlMBean
Returns the id for this MBean. This is the value that is set for the id key in the ObjectName for this MBean.

Specified by:
getId in interface BaseControlMBean
Specified by:
getId in class BaseControl
Returns:
The MBean instance id.

getType

public String getType()
Description copied from interface: BaseControlMBean
Returns the type for this MBean. This is the value that is set for the type key in the ObjectName for this MBean.

Specified by:
getType in interface BaseControlMBean
Specified by:
getType in class BaseControl
Returns:
The MBean instance type.

getSubscriberCount

public Integer getSubscriberCount()
Description copied from interface: SubscriptionManagerControlMBean
Returns the count of active subscribers.

Specified by:
getSubscriberCount in interface SubscriptionManagerControlMBean
Returns:
The count of active subscribers.

getSubscriberIds

public String[] getSubscriberIds()
Description copied from interface: SubscriptionManagerControlMBean
Returns the ids for all active subscribers.

Specified by:
getSubscriberIds in interface SubscriptionManagerControlMBean
Returns:
The ids for all active subscribers.

removeSubscriber

public void removeSubscriber(String subscriberId)
Description copied from interface: SubscriptionManagerControlMBean
Unsubscribes the target subscriber.

Specified by:
removeSubscriber in interface SubscriptionManagerControlMBean
Parameters:
subscriberId - The id for the subscriber to unsubscribe.

removeAllSubscribers

public void removeAllSubscribers()
Description copied from interface: SubscriptionManagerControlMBean
Unsubscribes all active subscribers.

Specified by:
removeAllSubscribers in interface SubscriptionManagerControlMBean


Copyright © 2008 Adobe Systems Inc. All Rights Reserved.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/management/runtime/messaging/services/messaging/SubscriptionManagerControl.html