org.eclipse.jst.server.core
Class JndiObject

java.lang.Object
  extended byorg.eclipse.jst.server.core.JndiObject

public class JndiObject
extends java.lang.Object

A representation of an object in JNDI that can be tested on a server.

Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.


Constructor Summary
JndiObject(IModule module, java.lang.String jndiName)
          Create a reference to an object in JNDI.
 
Method Summary
 java.lang.String getJndiName()
          Return the JNDI name of the object.
 IModule getModule()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JndiObject

public JndiObject(IModule module,
                  java.lang.String jndiName)
Create a reference to an object in JNDI.

Parameters:
module - the module that the object is contained in
jndiName - the JNDI name of the object
Method Detail

getModule

public IModule getModule()
See Also:
IModuleArtifact#getModule()

getJndiName

public java.lang.String getJndiName()
Return the JNDI name of the object.

Returns:
the JNDI name of the object