Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


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
abstract  String getLocalJNDIName()
          The name that the remote object will be bound to in the local server's JNDI tree.
abstract  String getRemoteJNDIName()
          The name of the remote object that will be looked up in the remote JNDI directory.
abstract  void setLocalJNDIName(String localJNDIName)
          Sets the value of the LocalJNDIName attribute.
abstract  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

 

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()

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()

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09