FileDocCategorySizeDatePackage
MethodCallers.javaAPI DocGlassfish v2 API5131Fri May 04 22:36:28 BST 2007com.sun.enterprise.admin.jmx.remote.server.callers

MethodCallers

public class MethodCallers extends Object
A list of method callers.
author
Kedar Mhaswade
since
S1AS8.0
version
1.0

Fields Summary
Constructors Summary
private MethodCallers()
Creates a new instance of MethodCallerList

    
Methods Summary
private static voidbuildCallers(java.util.Set s, javax.management.MBeanServerConnection mbsc, com.sun.enterprise.admin.jmx.remote.server.notification.ServerNotificationManager mgr)

/* END -- S1WS_MOD */
        //can use reflection here. but for now building it statically.
/* BEGIN -- S1WS_MOD */
//        s.add(new AddNotifLsnrObjNameCaller(mbsc));
//        s.add(new AddNotifLsnrsCaller(mbsc));
        s.add(new AddNotifLsnrObjNameCaller(mbsc, mgr));
        s.add(new AddNotifLsnrsCaller(mbsc, mgr));
/* END -- S1WS_MOD */
        s.add(new CreateMBeanCaller(mbsc));
        s.add(new CreateMBeanLoaderCaller(mbsc));
        s.add(new CreateMBeanLoaderParamsCaller(mbsc));
        s.add(new CreateMBeanParamsCaller(mbsc));
        s.add(new GetAttributeCaller(mbsc));
        s.add(new GetAttributesCaller(mbsc));
        s.add(new GetDefaultDomainCaller(mbsc));
        s.add(new GetDomainsCaller(mbsc));
        s.add(new GetMBeanCountCaller(mbsc));
        s.add(new GetMBeanInfoCaller(mbsc));
        s.add(new GetObjectInstanceCaller(mbsc));
        s.add(new InvokeCaller(mbsc));
        s.add(new IsInstanceOfCaller(mbsc));
        s.add(new IsRegisteredCaller(mbsc));
        s.add(new QueryMBeansCaller(mbsc));
        s.add(new QueryNamesCaller(mbsc));
/* BEGIN -- S1WS_MOD */
//        s.add(new RemoveNotifLsnrCaller(mbsc));
//        s.add(new RemoveNotifLsnrFilterHandbackCaller(mbsc));
        s.add(new RemoveNotifLsnrCaller(mbsc, mgr));
        s.add(new RemoveNotifLsnrFilterHandbackCaller(mbsc, mgr));
/* END -- S1WS_MOD */
        s.add(new RemoveNotifLsnrObjNameCaller(mbsc));
/* BEGIN -- S1WS_MOD */
//        s.add(new RemoveNotifLsnrObjNameFilterHandbackCaller(mbsc));
        s.add(new RemoveNotifLsnrObjNameFilterHandbackCaller(mbsc, mgr));
/* END -- S1WS_MOD */
        s.add(new SetAttributeCaller(mbsc));
        s.add(new SetAttributesCaller(mbsc));
        s.add(new UnregisterMBeanCaller(mbsc));
    
public static java.util.Setcallers(javax.management.MBeanServerConnection mbsc, com.sun.enterprise.admin.jmx.remote.server.notification.ServerNotificationManager mgr)

/* END -- S1WS_MOD */
        final Set callers = new HashSet();
/* BEGIN -- S1WS_MOD */
//        buildCallers(callers, mbsc);
        buildCallers(callers, mbsc, mgr);
/* END -- S1WS_MOD */
        return ( Collections.unmodifiableSet(callers) );