public interface ForeignJNDIProviderOverrideMBean extends ConfigurationMBean
Defines partition-specific overrides for the most commonly overridden attributes in a ForeignJNDIProvider MBean. It overrides some of the settings in a same-named ForeignJNDIProvider MBean instance in the same multi-tenant scope to which this override MBean belongs.
DEFAULT_EMPTY_BYTE_ARRAY| Modifier and Type | Method and Description |
|---|---|
ForeignJNDILinkOverrideMBean |
createForeignJNDILink(String name)
Create a ForeignJNDILink resource with the given name.
|
void |
destroyForeignJNDILink(ForeignJNDILinkOverrideMBean bean)
Destroy the given ForeignJNDILink resource.
|
ForeignJNDILinkOverrideMBean[] |
getForeignJNDILinks()
The foreign links.
|
String |
getInitialContextFactory()
The initial context factory to use to connect.
|
String |
getPassword()
The remote server's user password.
|
byte[] |
getPasswordEncrypted()
The remote server's encrypted user password.
|
Properties |
getProperties()
Any additional properties that must be set for the JNDI
provider.
|
String |
getProviderURL()
The foreign JNDI provider URL.
|
String |
getUser()
The remote server's user name.
|
ForeignJNDILinkOverrideMBean |
lookupForeignJNDILink(String name)
Find a ForeignJNDILink resource with the given name.
|
void |
setInitialContextFactory(String ic)
The initial context factory used to connect.
|
void |
setPassword(String password)
The password used to connect.
|
void |
setPasswordEncrypted(byte[] encryptedPassword)
The encrypted password to connect.
|
void |
setProperties(Properties params)
Sets the value of the JNDIProperties attribute.
|
void |
setProviderURL(String url)
The initial context factory used to connect.
|
void |
setUser(String user)
The user name used to connect.
|
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSetgetMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParentgetAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preDeregister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListeneraddPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListenerString getInitialContextFactory()
The initial context factory to use to connect.
This class name depends on the JNDI provider and the vendor
you are using. The value corresponds to the standard JNDI property,
java.naming.factory.initial.
void setInitialContextFactory(String ic) throws InvalidAttributeValueException
The initial context factory used to connect.
ic - The initial context factory value.InvalidAttributeValueExceptionString getProviderURL()
The foreign JNDI provider URL.
This value corresponds to the
standard JNDI property, java.naming.provider.url.
void setProviderURL(String url) throws InvalidAttributeValueException
The initial context factory used to connect.
url - The Provider URL.InvalidAttributeValueExceptionString getPassword()
The remote server's user password.
void setPassword(String password) throws InvalidAttributeValueException
The password used to connect.
password - The user password.InvalidAttributeValueExceptionbyte[] getPasswordEncrypted()
The remote server's encrypted user password.
void setPasswordEncrypted(byte[] encryptedPassword)
throws InvalidAttributeValueException
The encrypted password to connect.
encryptedPassword - encrypted user password as a byte array.InvalidAttributeValueExceptionString getUser()
The remote server's user name.
void setUser(String user) throws InvalidAttributeValueException
The user name used to connect.
user - The user nameInvalidAttributeValueExceptionvoid setProperties(Properties params) throws InvalidAttributeValueException
Sets the value of the JNDIProperties attribute.
params - The new jNDIProperties valueInvalidAttributeValueExceptionForeignJNDIProviderOverrideMBean.getProperties()Properties getProperties()
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.
Note: This value must be filled in using a
name=value<return>name=value format.
ForeignJNDILinkOverrideMBean[] getForeignJNDILinks()
The foreign links.
ForeignJNDILinkOverrideMBean lookupForeignJNDILink(String name)
Find a ForeignJNDILink resource with the given name.
name - Name of the foreign JNDI linkForeignJNDILinkOverrideMBean createForeignJNDILink(String name)
Create a ForeignJNDILink resource with the given name.
name - Name of the foreign JNDI linkvoid destroyForeignJNDILink(ForeignJNDILinkOverrideMBean bean)
Destroy the given ForeignJNDILink resource.
bean - foreign link