org.objectweb.jonas.naming
Class JNDIResource

java.lang.Object
  extended byorg.objectweb.jonas.naming.JNDIResource
All Implemented Interfaces:
JNDIResourceMBean

public class JNDIResource
extends java.lang.Object
implements JNDIResourceMBean

Implements a managed object which represents a JNDI resource.


Constructor Summary
JNDIResource(javax.naming.InitialContext ctx)
           
 
Method Summary
 java.lang.String getInitialContextFactory()
           
 java.util.List getNames()
           
 java.lang.String getPkgPrefixes()
           
 java.lang.String getProviderUrl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JNDIResource

public JNDIResource(javax.naming.InitialContext ctx)
             throws javax.naming.NamingException
Method Detail

getProviderUrl

public java.lang.String getProviderUrl()
Specified by:
getProviderUrl in interface JNDIResourceMBean

getInitialContextFactory

public java.lang.String getInitialContextFactory()
Specified by:
getInitialContextFactory in interface JNDIResourceMBean

getPkgPrefixes

public java.lang.String getPkgPrefixes()
Specified by:
getPkgPrefixes in interface JNDIResourceMBean

getNames

public java.util.List getNames()
                        throws javax.naming.NamingException
Specified by:
getNames in interface JNDIResourceMBean
Throws:
javax.naming.NamingException