org.eclipse.jst.server.core
Class JndiLaunchable

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

public class JndiLaunchable
extends java.lang.Object

Since:
1.0

Constructor Summary
JndiLaunchable(java.util.Properties props, java.lang.String jndiName)
          Create a reference to an object that is launchable via JNDI.
 
Method Summary
 java.lang.String getJNDIName()
          Returns the JNDI name of the object.
 java.util.Properties getProperties()
          Returns the JNDI properties required to connect to the object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JndiLaunchable

public JndiLaunchable(java.util.Properties props,
                      java.lang.String jndiName)
Create a reference to an object that is launchable via JNDI.

Parameters:
props - the JNDI properties required to connect to the object
jndiName - the JNDI name of the object
Method Detail

getProperties

public java.util.Properties getProperties()
Returns the JNDI properties required to connect to the object.

Returns:
the JNDI properties required to connect to the object

getJNDIName

public java.lang.String getJNDIName()
Returns the JNDI name of the object.

Returns:
the JNDI name of the object