public class ForeignServer extends Object
Modifier and Type | Field and Description |
---|---|
static String |
JMS_FOREIGN_JNDI_PROPERTY_TOKEN
The alias token used in the alias' WLST path for replacing with the Foreign JNDI Property name.
|
static String |
JMS_FOREIGN_SERVER_TOKEN
The alias token used in the alias' WLST path for replacing with the Foreign Server name.
|
Constructor and Description |
---|
ForeignServer() |
Modifier and Type | Method and Description |
---|---|
boolean |
addForeignConnectionFactory(ForeignConnectionFactory foreignConnectionFactory)
Add a Foreign Connection Factory.
|
boolean |
addForeignDestination(ForeignDestination foreignDestination)
Add a Foreign Destination.
|
boolean |
addJndiProperty(Property property)
Add a JNDI property.
|
boolean |
addJndiProperty(String key,
String value)
Add a JNDI property.
|
Boolean |
getDefaultTargetingEnabled()
Get whether or not default targeting is enabled.
|
List<ForeignConnectionFactory> |
getForeignConnectionFactories()
Get the list of Foreign Connection Factories.
|
ForeignConnectionFactory |
getForeignConnectionFactory(String name)
Get the specified Foreign Connection Factory.
|
ForeignDestination |
getForeignDestination(String name)
Get the specified Foreign Destination.
|
List<ForeignDestination> |
getForeignDestinations()
Get the list of Foreign Destinations.
|
String |
getId()
Get the id.
|
String |
getInitialContextFactory()
Get the initial context factory.
|
List<Property> |
getJndiProperties()
Get the list of JNDI properties.
|
Property |
getJndiProperty(String key)
Get the specified JNDI property object.
|
String |
getName()
Get the name.
|
String |
getNotes()
Get the notes.
|
String |
getSubDeploymentName()
Get the sub-deployment name.
|
boolean |
removeJndiProperty(String key)
Remove the specified JNDI property.
|
ForeignServer |
setDefaultTargetingEnabled(Boolean defaultTargetingEnabled)
Set whether or not default targeting is enabled.
|
ForeignServer |
setForeignConnectionFactories(List<ForeignConnectionFactory> foreignConnectionFactories)
Set the list of Foreign Connection Factories.
|
ForeignServer |
setForeignDestinations(List<ForeignDestination> foreignDestinations)
Set the list of Foreign Destinations.
|
ForeignServer |
setId(String id)
Set the id.
|
ForeignServer |
setInitialContextFactory(String initialContextFactory)
Set the initial context factory.
|
ForeignServer |
setJndiProperties(List<Property> jndiProperties)
Set the list of JNDI properties.
|
ForeignServer |
setName(String name)
Set the name.
|
ForeignServer |
setNotes(String notes)
Set the notes.
|
ForeignServer |
setSubDeploymentName(String subDeploymentName)
Set the sub-deployment name.
|
String |
toCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toJsonCompactString()
Returns a compact string representation of the object in JSON format.
|
String |
toJsonString()
Returns a string representation of the object in JSON format.
|
String |
toString()
Returns a string representation of the object in XML format.
|
String |
toXmlCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toXmlString()
Returns a string representation of the object in XML format.
|
public static final String JMS_FOREIGN_SERVER_TOKEN
public static final String JMS_FOREIGN_JNDI_PROPERTY_TOKEN
public String getId()
public ForeignServer setId(String id)
id
- the new idpublic Boolean getDefaultTargetingEnabled()
public ForeignServer setDefaultTargetingEnabled(Boolean defaultTargetingEnabled)
defaultTargetingEnabled
- the new valuepublic String getInitialContextFactory()
public ForeignServer setInitialContextFactory(String initialContextFactory)
initialContextFactory
- the new initial context factory class namepublic String getName()
public ForeignServer setName(String name)
name
- the namepublic String getNotes()
public ForeignServer setNotes(String notes)
notes
- the new notespublic String getSubDeploymentName()
public ForeignServer setSubDeploymentName(String subDeploymentName)
subDeploymentName
- the new sub-deployment namepublic boolean addJndiProperty(Property property)
property
- the property to addpublic boolean addJndiProperty(String key, String value)
key
- the property name to addvalue
- the property value to addpublic Property getJndiProperty(String key)
key
- the JNDI property name to getpublic boolean removeJndiProperty(String key)
key
- the property name to removepublic List<Property> getJndiProperties()
public ForeignServer setJndiProperties(List<Property> jndiProperties)
jndiProperties
- the new listpublic boolean addForeignConnectionFactory(ForeignConnectionFactory foreignConnectionFactory)
foreignConnectionFactory
- the Foreign Connection Factory to addpublic ForeignConnectionFactory getForeignConnectionFactory(String name)
name
- the name of the Foreign Connection Factory to getpublic List<ForeignConnectionFactory> getForeignConnectionFactories()
public ForeignServer setForeignConnectionFactories(List<ForeignConnectionFactory> foreignConnectionFactories)
foreignConnectionFactories
- the new listpublic boolean addForeignDestination(ForeignDestination foreignDestination)
foreignDestination
- the Foreign Destination to addpublic ForeignDestination getForeignDestination(String name)
name
- the name of the Foreign Destination to getpublic List<ForeignDestination> getForeignDestinations()
public ForeignServer setForeignDestinations(List<ForeignDestination> foreignDestinations)
foreignDestinations
- the new listpublic String toXmlCompactString()
public String toXmlString()
public String toJsonCompactString()
public String toJsonString()
public String toCompactString()