public interface ForeignJNDIProviderMBean extends DeploymentMBean
DEFAULT_ORDER, MAX_ORDER, MIN_ORDER
DEFAULT_EMPTY_BYTE_ARRAY
Modifier and Type | Method and Description |
---|---|
ForeignJNDILinkMBean |
createForeignJNDILink(String name)
Create a ForeignJNDILink resource with the given name.
|
void |
destroyForeignJNDILink(ForeignJNDILinkMBean bean)
Destroy the given ForeignJNDILink resource.
|
ForeignJNDILinkMBean[] |
getForeignJNDILinks()
The foreign links.
|
String |
getInitialContextFactory()
The initial context factory to use to connect.
|
String |
getName()
The user-specified name of this MBean instance.
|
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.
|
ForeignJNDILinkMBean |
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.
|
addTarget, getDeploymentOrder, getTargets, removeTarget, setDeploymentOrder, setTargets
freezeCurrentValue, getId, getInheritedProperties, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preDeregister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
String getName()
The user-specified name of this MBean instance.
This name is included as one of the key properties in the
MBean's javax.management.ObjectName
:
Name=user-specified-name
getName
in interface ConfigurationMBean
getName
in interface WebLogicMBean
String 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.InvalidAttributeValueException
String 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.InvalidAttributeValueException
String getPassword()
The remote server's user password.
void setPassword(String password) throws InvalidAttributeValueException
The password used to connect.
password
- The user password.InvalidAttributeValueException
byte[] 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.InvalidAttributeValueException
String getUser()
The remote server's user name.
void setUser(String user) throws InvalidAttributeValueException
The user name used to connect.
user
- The user nameInvalidAttributeValueException
ForeignJNDILinkMBean[] getForeignJNDILinks()
The foreign links.
ForeignJNDILinkMBean lookupForeignJNDILink(String name)
Find a ForeignJNDILink resource with the given name.
name
- Name of the foreign JNDI linkForeignJNDILinkMBean createForeignJNDILink(String name)
Create a ForeignJNDILink resource with the given name.
name
- Name of the foreign JNDI linkvoid destroyForeignJNDILink(ForeignJNDILinkMBean bean)
Destroy the given ForeignJNDILink resource.
bean
- foreign linkvoid setProperties(Properties params) throws InvalidAttributeValueException
Sets the value of the JNDIProperties attribute.
params
- The new jNDIProperties valueInvalidAttributeValueException
ForeignJNDIProviderMBean.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.