public interface ForeignJNDIObjectBean extends NamedEntityBean
Modifier and Type | Method and Description |
---|---|
String |
getLocalJNDIName()
The name that the remote object will be bound to in the local server's JNDI tree.
|
String |
getRemoteJNDIName()
The name of the remote object that will be looked up in the remote JNDI directory.
|
void |
setLocalJNDIName(String localJNDIName)
Sets the value of the LocalJNDIName attribute.
|
void |
setRemoteJNDIName(String remoteJNDIName)
Sets the value of the RemoteJNDIName attribute.
|
String getLocalJNDIName()
The name that the remote object will be bound to in the local server's JNDI tree. This is the name that should be used to look up the object on the local server.
void setLocalJNDIName(String localJNDIName) throws IllegalArgumentException
Sets the value of the LocalJNDIName attribute.
localJNDIName
- The name clients local to this domain will lookupIllegalArgumentException
ForeignJNDIObjectBean.getLocalJNDIName()
String getRemoteJNDIName()
The name of the remote object that will be looked up in the remote JNDI directory.
void setRemoteJNDIName(String remoteJNDIName) throws IllegalArgumentException
Sets the value of the RemoteJNDIName attribute.
remoteJNDIName
- The name of the entity in the remote naming contextIllegalArgumentException
ForeignJNDIObjectBean.getRemoteJNDIName()