NamedEntityBean
, SettableBean
, TargetableBean
public interface ForeignServerBean extends TargetableBean
Modifier and Type | Method | Description |
---|---|---|
ForeignConnectionFactoryBean |
createForeignConnectionFactory(java.lang.String name) |
Creates a foreign connection factory and adds it to this foreign server.
|
ForeignDestinationBean |
createForeignDestination(java.lang.String name) |
Creates a foreign destination and adds it to this foreign server
|
PropertyBean |
createJNDIProperty(java.lang.String key) |
Creates a JNDI property bean and adds it to this foreign server.
|
void |
destroyForeignConnectionFactory(ForeignConnectionFactoryBean foreignConnectionFactory) |
Removes a foreign connection factory from this foreign server.
|
void |
destroyForeignDestination(ForeignDestinationBean foreignDestination) |
Removes a foreign destination from this foreign server.
|
void |
destroyJNDIProperty(PropertyBean jndiProperty) |
Removes a JNDI property bean from this foreign server.
|
java.lang.String |
getConnectionURL() |
The URL that WebLogic Server will use to contact the JNDI
provider.
|
ForeignConnectionFactoryBean[] |
getForeignConnectionFactories() |
Gets an array of all foreign connection factories associated with this foreign server.
|
ForeignDestinationBean[] |
getForeignDestinations() |
Gets an array of all foreign destinations associated with this foreign server.
|
java.lang.String |
getInitialContextFactory() |
The name of the class that must be instantiated to access the
JNDI provider.
|
PropertyBean[] |
getJNDIProperties() |
Any additional properties that must be set for the JNDI provider.
|
java.lang.String |
getJNDIPropertiesCredential() |
Any Credentials that must be set for the JNDI provider.
|
byte[] |
getJNDIPropertiesCredentialEncrypted() |
This should not be called by anyone.
|
ForeignConnectionFactoryBean |
lookupForeignConnectionFactory(java.lang.String name) |
Finds a foreign connection factory bean with the given name.
|
ForeignDestinationBean |
lookupForeignDestination(java.lang.String name) |
Finds a foreign destination with the given name.
|
PropertyBean |
lookupJNDIProperty(java.lang.String key) |
Finds a JNDI Property with the given key.
|
void |
setConnectionURL(java.lang.String connectionUrl) |
Sets the value of the ConnectionURL attribute.
|
void |
setInitialContextFactory(java.lang.String initialContextFactory) |
Sets the value of the InitialContextFactory attribute.
|
void |
setJNDIPropertiesCredential(java.lang.String value) |
|
void |
setJNDIPropertiesCredentialEncrypted(byte[] eBytes) |
getId, getName, getNotes, setName, setNotes
getSubDeploymentName, isDefaultTargetingEnabled, setDefaultTargetingEnabled, setSubDeploymentName
ForeignDestinationBean[] getForeignDestinations()
ForeignDestinationBean createForeignDestination(java.lang.String name)
name
- The name of the foreign destination to add to this foreign server.void destroyForeignDestination(ForeignDestinationBean foreignDestination)
foreignDestination
- The specific destination to remove from this foreign serverForeignDestinationBean lookupForeignDestination(java.lang.String name)
name
- The name of the destination to findForeignConnectionFactoryBean[] getForeignConnectionFactories()
ForeignConnectionFactoryBean createForeignConnectionFactory(java.lang.String name)
name
- The name of the foreign connection factory to add to this foreign servervoid destroyForeignConnectionFactory(ForeignConnectionFactoryBean foreignConnectionFactory)
foreignConnectionFactory
- The specific factory to remove from this foreign serverForeignConnectionFactoryBean lookupForeignConnectionFactory(java.lang.String name)
name
- The name of the foreign connection factory to findjava.lang.String getInitialContextFactory()
The name of the class that must be instantiated to access the JNDI provider. This class name depends on the JNDI provider and the vendor that are being used.
This value corresponds to the standard
JNDI property, java.naming.factory.initial
.
Note: This value defaults to
weblogic.jndi.WLInitialContextFactory
, which is the
correct value for WebLogic Server.
void setInitialContextFactory(java.lang.String initialContextFactory) throws java.lang.IllegalArgumentException
Sets the value of the InitialContextFactory attribute.
initialContextFactory
- The new initialContextFactory valuejava.lang.IllegalArgumentException
getInitialContextFactory()
java.lang.String getConnectionURL()
The URL that WebLogic Server will use to contact the JNDI provider. The syntax of this URL depends on which JNDI provider is being used. For WebLogic JMS, leave this field blank if you are referencing WebLogic JMS objects within the same cluster.
This value corresponds to the standard JNDI property,
java.naming.provider.url
.
Note: If this value is not specified, look-ups will be performed on the JNDI server within the WebLogic Server instance where this connection factory is deployed.
void setConnectionURL(java.lang.String connectionUrl) throws java.lang.IllegalArgumentException
Sets the value of the ConnectionURL attribute.
connectionUrl
- The new connectionURL valuejava.lang.IllegalArgumentException
- If the argument is not legalbyte[] getJNDIPropertiesCredentialEncrypted()
This should not be called by anyone. It's required when using the encrypted tag
void setJNDIPropertiesCredentialEncrypted(byte[] eBytes)
java.lang.String getJNDIPropertiesCredential()
Any Credentials that must be set for the JNDI provider. These Credentials will be part of the properties will be passed directly to the constructor for the JNDI provider's InitialContext class.
Some foreign providers require other properties to be set while obtaining an initial naming context. These properties can be set with a property bean
void setJNDIPropertiesCredential(java.lang.String value)
PropertyBean[] getJNDIProperties()
Any additional properties that must be set for the JNDI provider. These properties will be passed directly to the constructor for the JNDI provider's InitialContext class.
Some foreign providers require other properties to be set while obtaining an initial naming context. These properties can be set with a property bean
PropertyBean createJNDIProperty(java.lang.String key)
Some foreign providers require other properties to be set while obtaining an initial naming context. These properties can be set with a property bean
key
- The key of the property to add to this foreign servervoid destroyJNDIProperty(PropertyBean jndiProperty)
Some foreign providers require other properties to be set while obtaining an initial naming context. These properties can be set with a property bean
jndiProperty
- The property to remove from this foreign serverPropertyBean lookupJNDIProperty(java.lang.String key)
key
- name The name of the JNDIProperty to find