flex.management.runtime.messaging
Class DestinationControl

java.lang.Object
  extended by flex.management.BaseControl
      extended by flex.management.runtime.messaging.DestinationControl
All Implemented Interfaces:
BaseControlMBean, DestinationControlMBean, MBeanRegistration
Direct Known Subclasses:
MessageDestinationControl, RemotingDestinationControl

public abstract class DestinationControl
extends BaseControl
implements DestinationControlMBean

The DestinationControl class is the MBean implementation for monitoring and managing a Destination at runtime.


Field Summary
 
Fields inherited from class flex.management.BaseControl
DOMAIN_PREFIX
 
Constructor Summary
DestinationControl(Destination destination, BaseControl parent)
          Constructs a new DestinationControl instance.
 
Method Summary
 ObjectName getAdapter()
          Returns the ObjectName for the adapter associated with this managed destination.
 String getId()
          Returns the id for this MBean.
 Date getStartTimestamp()
          Returns the start timestamp for the Destination.
 Boolean isRunning()
          Returns true if the Destination is running.
 void preDeregister()
          Implements javax.management.MBeanRegistration.preDeregister.
 void setAdapter(ObjectName value)
          Sets the ObjectName for the adapter associated with the managed destination.
 
Methods inherited from class flex.management.BaseControl
getApplicationId, getMBeanServer, getObjectName, getParent, getParentControl, getRegistrar, getType, postDeregister, postRegister, 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, getType
 

Constructor Detail

DestinationControl

public DestinationControl(Destination destination,
                          BaseControl parent)
Constructs a new DestinationControl instance.

Parameters:
destination - The Destination 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.

getAdapter

public ObjectName getAdapter()
Description copied from interface: DestinationControlMBean
Returns the ObjectName for the adapter associated with this managed destination.

Specified by:
getAdapter in interface DestinationControlMBean
Returns:
The ObjectName for the adapter.

setAdapter

public void setAdapter(ObjectName value)
Sets the ObjectName for the adapter associated with the managed destination.

Parameters:
value - The ObjectName for the adapter.

isRunning

public Boolean isRunning()
Description copied from interface: DestinationControlMBean
Returns true if the Destination is running.

Specified by:
isRunning in interface DestinationControlMBean
Returns:
true if the Destination is running.

getStartTimestamp

public Date getStartTimestamp()
Description copied from interface: DestinationControlMBean
Returns the start timestamp for the Destination.

Specified by:
getStartTimestamp in interface DestinationControlMBean
Returns:
The start timestamp for the Destination.

preDeregister

public void preDeregister()
                   throws Exception
Description copied from class: BaseControl
Implements javax.management.MBeanRegistration.preDeregister. Allows the MBean to perform any operations needed after having been unregistered in the MBean server. This base implementation is a no-op that may be overridden.

Specified by:
preDeregister in interface MBeanRegistration
Overrides:
preDeregister in class BaseControl
Throws:
Exception


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/DestinationControl.html