Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02

weblogic.j2ee.descriptor.wl
Interface ForeignJNDIObjectBean

All Superinterfaces:
NamedEntityBean, SettableBean
All Known Subinterfaces:
ForeignConnectionFactoryBean, ForeignDestinationBean

public interface ForeignJNDIObjectBean
extends NamedEntityBean

This bean represents a foreign entity (one not part of the local JNDI naming context) advertised through JNDI. This entity will have a name associated with it in its home domain, and a possibly different name in the local domain.


Method Summary
 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.
 
Methods inherited from interface weblogic.j2ee.descriptor.wl.NamedEntityBean
getId, getName, getNotes, setName, setNotes
 
Methods inherited from interface weblogic.descriptor.SettableBean
isSet, unSet
 

Method Detail

getLocalJNDIName

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.

Returns:
The localJNDIName value

setLocalJNDIName

void setLocalJNDIName(String localJNDIName)
                      throws IllegalArgumentException

Sets the value of the LocalJNDIName attribute.

Parameters:
localJNDIName - The name clients local to this domain will lookup
Throws:
IllegalArgumentException
See Also:
ForeignJNDIObjectBean.getLocalJNDIName()
This method can NOT set a value of zero length.

getRemoteJNDIName

String getRemoteJNDIName()

The name of the remote object that will be looked up in the remote JNDI directory.

Returns:
The remoteJNDIName value

setRemoteJNDIName

void setRemoteJNDIName(String remoteJNDIName)
                       throws IllegalArgumentException

Sets the value of the RemoteJNDIName attribute.

Parameters:
remoteJNDIName - The name of the entity in the remote naming context
Throws:
IllegalArgumentException
See Also:
ForeignJNDIObjectBean.getRemoteJNDIName()
This method can NOT set a value of zero length.

Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02