org.objectweb.jonas.naming
Class JNDIResource

java.lang.Object
  extended byjavax.management.NotificationBroadcasterSupport
      extended byorg.objectweb.jonas.management.ReconfigDispatcher
          extended byorg.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
              extended byorg.objectweb.jonas.naming.JNDIResource
All Implemented Interfaces:
javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ReconfigDispatcherMBean

public class JNDIResource
extends J2EEManagedObject

Implements a managed object which represents a JNDI resource.


Field Summary
 
Fields inherited from class org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
J2EE_TYPE_APPLICATION, J2EE_TYPE_SERVER, NAME
 
Fields inherited from class org.objectweb.jonas.management.ReconfigDispatcher
RECONFIG_TYPE, SAVE_RECONFIG_TYPE
 
Constructor Summary
JNDIResource(java.lang.String pObjectName, javax.naming.InitialContext ctx, java.lang.String protocol)
           
 
Method Summary
 java.lang.String getInitialContextFactory()
           
 java.util.List getNames()
           
 java.lang.String getPkgPrefixes()
           
 java.lang.String getProtocol()
           
 java.lang.String getProviderUrl()
           
 
Methods inherited from class org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
getObjectName, isEventProvider, isStateManageable, isStatisticsProvider
 
Methods inherited from class org.objectweb.jonas.management.ReconfigDispatcher
addNotificationListener, getFilter, getHandback, getListener, getNotificationInfo, initLogger, removeNotificationListener, sendReconfigNotification, sendSaveNotification
 
Methods inherited from class javax.management.NotificationBroadcasterSupport
handleNotification, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JNDIResource

public JNDIResource(java.lang.String pObjectName,
                    javax.naming.InitialContext ctx,
                    java.lang.String protocol)
             throws javax.naming.NamingException
Method Detail

getProviderUrl

public java.lang.String getProviderUrl()

getInitialContextFactory

public java.lang.String getInitialContextFactory()

getPkgPrefixes

public java.lang.String getPkgPrefixes()

getNames

public java.util.List getNames()
                        throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getProtocol

public java.lang.String getProtocol()
Returns:
Returns the protocol.