|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectflex.management.ManageableComponent
flex.messaging.Destination
The Destination class is a source and sink for messages sent through
a service destination and uses an adapter to process messages.
| Constructor Summary | |
Destination(Service service,
DestinationSettings settings)
Constructs a Destination instance for the passed Service
using the passed settings. |
|
Destination(Service service,
DestinationSettings settings,
boolean enableManagement)
Constructs a Destination instance for the passed Service
using the passed settings. |
|
| Method Summary | |
ServiceAdapter |
getAdapter()
Returns the ServiceAdapter for the Destination. |
String |
getId()
Returns the id for the Destination. |
Service |
getService()
Returns the Service managing this Destination. |
String |
getServiceType()
Returns the Java class name for the Service managing this
Destination. |
void |
initDestination()
This method is called by the Service after the Destination is
created and registered, allowing it to complete setup. |
boolean |
isBackendShared()
The destination may be not clustered at all, may be clustered for channel failover and destination sharing, or it may be clustered for channel failover and also have a common backend, such as a common database or backend clustered JMS topic. |
boolean |
isClustered()
The destination may be not clustered at all, may be clustered for channel failover only, or it may be clustered for channel failover and also have shared back ends. |
void |
setId(String id)
Sets the id for the Destination. |
protected void |
setupDestinationControl(Service service)
Invoked automatically to allow the Destination to setup its corresponding
MBean control. |
| Methods inherited from class flex.management.ManageableComponent |
getControl, isManaged, setControl, setManaged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Destination(Service service,
DestinationSettings settings)
Destination instance for the passed Service
using the passed settings. The Destination is treated as
manageable by default.
service - The Service managing this Destination.settings - The settings for this Destination.
public Destination(Service service,
DestinationSettings settings,
boolean enableManagement)
Destination instance for the passed Service
using the passed settings.
service - The Service managing this Destination.settings - The settings for this Destination.enableManagement - true if the Destination is manageable; otherwise false.| Method Detail |
public void initDestination()
Service after the Destination is
created and registered, allowing it to complete setup. Subclasses that override this method
must call super.initDestination().
public boolean isClustered()
true if the Destination is clustered; otherwise false.public boolean isBackendShared()
true if the clustered Destination shares a common backend;
otherwise false.public String getId()
Destination.
Destination.public void setId(String id)
Destination.
id - The id for the Destination.public Service getService()
Service managing this Destination.
Service managing this Destination.public String getServiceType()
Service managing this
Destination.
Service manageing this Destination.public ServiceAdapter getAdapter()
ServiceAdapter for the Destination.
ServiceAdapter for the Destination.protected void setupDestinationControl(Service service)
Destination to setup its corresponding
MBean control. Subclasses should override to setup and register their MBean control.
service - The Service that manages this Destination.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||