|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.config.PropertiesSettings
flex.messaging.config.DestinationSettings
public class DestinationSettings
Destinations are configured for a particular Service. A
destination's configuration includes an id attribute to provide
a public name for clients to use when sending messages.
The configuration also specifies which channels are valid to contact the destination, as well as which adapter a service must use to process client messages for this destination and any security constraints that need to be enforced.
Destination| Constructor Summary | |
|---|---|
DestinationSettings(String id)
Used to construct a new set of properties to describe a destination. |
|
| Method Summary | |
|---|---|
void |
addChannelSettings(flex.messaging.config.ChannelSettings c)
Adds a channel to the set of channels that should be used to contact this destination. |
AdapterSettings |
getAdapterSettings()
Gets the adapter to be used for this destination. |
List |
getChannelSettings()
Gets the set of channels that can be used to contact this destination. |
flex.messaging.config.SecurityConstraint |
getConstraint()
Gets the SecurityConstraint that will be applied to this
destination, or null if no constraint has been registered. |
String |
getId()
Gets the unique identity used by clients to target a destination. |
void |
setAdapterSettings(AdapterSettings a)
Sets the service adapter to be used when the managing service is processing messages bound for this destination. |
void |
setChannelSettings(List settings)
Overrides the set of channels that can be used to contact this destination. |
void |
setConstraint(flex.messaging.config.SecurityConstraint sc)
Sets the security constraint to be applied to this destination. |
| Methods inherited from class flex.messaging.config.PropertiesSettings |
|---|
addProperties, addProperty, addProperty, getProperties, getProperty, getPropertyAsBoolean, getPropertyAsInt, getPropertyAsList, getPropertyAsLong, getPropertyAsMap, getPropertyAsString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DestinationSettings(String id)
id - A string representing the unique identity of this destination.| Method Detail |
|---|
public String getId()
public void addChannelSettings(flex.messaging.config.ChannelSettings c)
c - the ChannelSettings to add to the set of
channel definitions for this destination.public void setChannelSettings(List settings)
settings - A List of ChannelSettings.public List getChannelSettings()
java.util.List of ChannelSettings
describing the channels that can be used to contact this destination.public flex.messaging.config.SecurityConstraint getConstraint()
SecurityConstraint that will be applied to this
destination, or null if no constraint has been registered.
SecurityConstraint for this destination.public void setConstraint(flex.messaging.config.SecurityConstraint sc)
null to remove an existing constraint.
sc - the SecurityConstraint to apply to this
destination.public void setAdapterSettings(AdapterSettings a)
a - The AdapterSettings that describe the adapter
to use for this destination.public AdapterSettings getAdapterSettings()
AdapterSettings for this destinations adapter.
A null value implies the the default service adapter should
be used.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/messaging/config/DestinationSettings.html