org.glassfish.admin.mejb
Class MEJBUtility

java.lang.Object
  extended by org.glassfish.admin.mejb.MEJBUtility

public final class MEJBUtility
extends Object


Field Summary
static String MEJB_DEFAULT_NAME
           
static String MEJB_NAME_PROP
           
 
Method Summary
 void addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
           
static MEJBUtility getInstance()
           
 ListenerRegistration getListenerRegistry()
           
 MBeanServer getMBeanServer()
           
 Management getMEJB()
           
 void removeNotificationListener(ObjectName name, NotificationListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MEJB_NAME_PROP

public static final String MEJB_NAME_PROP
See Also:
Constant Field Values

MEJB_DEFAULT_NAME

public static final String MEJB_DEFAULT_NAME
See Also:
Constant Field Values
Method Detail

getInstance

public static MEJBUtility getInstance()

getMEJB

public Management getMEJB()
                   throws RemoteException
Throws:
RemoteException

getMBeanServer

public MBeanServer getMBeanServer()

getListenerRegistry

public ListenerRegistration getListenerRegistry()

addNotificationListener

public void addNotificationListener(ObjectName name,
                                    NotificationListener listener,
                                    NotificationFilter filter,
                                    Object handback)
                             throws InstanceNotFoundException,
                                    RemoteException
Throws:
InstanceNotFoundException
RemoteException

removeNotificationListener

public void removeNotificationListener(ObjectName name,
                                       NotificationListener listener)
                                throws InstanceNotFoundException,
                                       ListenerNotFoundException,
                                       RemoteException
Throws:
InstanceNotFoundException
ListenerNotFoundException
RemoteException


Copyright © 2012 GlassFish Community. All Rights Reserved.