public class AdapterSettings extends PropertiesSettings
Adapters can also be configured with initialization properties.
flex.messaging.services.ServiceAdapterproperties| Constructor and Description |
|---|
AdapterSettings(String id)
Used to construct a new set of properties to describe an adapter.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName()
Gets the name of the Java class implementation for this adapter.
|
String |
getId()
The identity that destinations will refer to when assigning and adapter.
|
boolean |
isDefault()
Returns a boolean flag that determines whether this adapter is the
default for a service's destinations.
|
void |
setClassName(String name)
Sets name of the Java class implementation for this adapter.
|
void |
setDefault(boolean b)
Sets a flag to determine whether an adapter will be used as the default
(for example, in the event that a destination did not specify an adapter
explicitly).
|
addProperties, addProperty, addProperty, getProperties, getProperty, getPropertyAsBoolean, getPropertyAsInt, getPropertyAsList, getPropertyAsLong, getPropertyAsMap, getPropertyAsStringpublic AdapterSettings(String id)
id - the String representing the unique identity for
this adapter.public String getId()
String.public String getClassName()
flex.messaging.services.ServiceAdapterpublic void setClassName(String name)
flex.messaging.services.ServiceAdapter.name - the Stringpublic boolean isDefault()
public void setDefault(boolean b)
b - a boolean flag, true if this adapter should be
used as the default for the service.Copyright © 2015 The Apache Software Foundation. All rights reserved.