public class ServiceSettings extends PropertiesSettings
A service maintains a list of destinations which effectively represents a "whitelist" of actions allowed by that service.
properties| Constructor and Description |
|---|
ServiceSettings(String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAdapterSettings(AdapterSettings a) |
void |
addDefaultChannel(ChannelSettings c) |
void |
addDestinationSettings(DestinationSettings dest) |
AdapterSettings |
getAdapterSettings(String id) |
Map |
getAllAdapterSettings() |
String |
getClassName() |
SecurityConstraint |
getConstraint()
Gets the
SecurityConstraint that will be applied to all
destinations of the service, or null if no constraint has
been registered. |
AdapterSettings |
getDefaultAdapter() |
List |
getDefaultChannels() |
Map |
getDestinationSettings() |
String |
getId() |
void |
setClassName(String name) |
void |
setConstraint(SecurityConstraint sc)
Sets the security constraint to be applied to all destinations of the service.
|
addProperties, addProperty, addProperty, getProperties, getProperty, getPropertyAsBoolean, getPropertyAsInt, getPropertyAsList, getPropertyAsLong, getPropertyAsMap, getPropertyAsStringpublic ServiceSettings(String id)
public String getId()
public String getClassName()
public void setClassName(String name)
public AdapterSettings getDefaultAdapter()
public AdapterSettings getAdapterSettings(String id)
public Map getAllAdapterSettings()
public void addAdapterSettings(AdapterSettings a)
public void addDefaultChannel(ChannelSettings c)
public List getDefaultChannels()
public SecurityConstraint getConstraint()
SecurityConstraint that will be applied to all
destinations of the service, or null if no constraint has
been registered.SecurityConstraint for this service.public void setConstraint(SecurityConstraint sc)
null to remove an existing constraint.sc - the SecurityConstraint to apply to this
service.public Map getDestinationSettings()
public void addDestinationSettings(DestinationSettings dest)
Copyright © 2015 The Apache Software Foundation. All rights reserved.