Package com.sun.jdmk

Examples of com.sun.jdmk.ThreadContext


        throws RemoteException {
        stopIfNotActive("queryNames(name,query)");
        if (logger.finerOn()) {
            logger.finer("queryNames(name,query)","MBean name = " + name);
        }
        ThreadContext oldThreadContext = pushContext(context);
        try {
            return mbeanServer().queryNames(name,query);
        } finally {
            popContext(oldThreadContext);
        }
View Full Code Here


        throws RemoteException {
        stopIfNotActive("getMBeanCount()");
        if (logger.finerOn()) {
            logger.finer("getMBeanCount()","");
        }
        ThreadContext oldThreadContext = pushContext(context);
        try {
            return mbeanServer().getMBeanCount();
        } finally {
            popContext(oldThreadContext);
        }
View Full Code Here

        throws RemoteException {
        stopIfNotActive("getDefaultDomain()");
        if (logger.finerOn()) {
            logger.finer("getDefaultDomain()","");
        }
        ThreadContext oldThreadContext = pushContext(context);
        try {
            return mbeanServer().getDefaultDomain();
        } finally {
            popContext(oldThreadContext);
        }
View Full Code Here

        if (logger.finerOn()) {
            logger.finer("getAttribute",
                  "MBean name=\""+name+"\" ; MBean attribute=\""+attribute+
                  "\"");
        }
        ThreadContext oldThreadContext = pushContext(context);
        Object ret;
        try {
            ret = mbeanServer().getAttribute(name, attribute);
        } finally {
            popContext(oldThreadContext);
View Full Code Here

               RemoteException {
        stopIfNotActive("getAttributes(name,attributes)");
        if (logger.finerOn()) {
            logger.finer("getAttributes(name,attributes)","MBean name=\""+name);
        }
        ThreadContext oldThreadContext = pushContext(context);
        try {
            return mbeanServer().getAttributes(name, attributes);
        } finally {
            popContext(oldThreadContext);
        }
View Full Code Here

        if (logger.finerOn()) {
            logger.finer("setAttribute",
                  "MBean name=\""+name+"\" ; MBean attribute=\""+attribute+
                  "\"");
        }
        ThreadContext oldThreadContext = pushContext(context);
        try {
            mbeanServer().setAttribute(name, attribute);
        } finally {
            popContext(oldThreadContext);
        }
View Full Code Here

               RemoteException {
        stopIfNotActive("setAttributes(name,attributes)");
        if (logger.finerOn()) {
            logger.finer("setAttributes(name,attributes)","MBean name=\""+name);
        }
        ThreadContext oldThreadContext = pushContext(context);
        try {
            return mbeanServer().setAttributes(name, attributes);
        } finally {
            popContext(oldThreadContext);
        }
View Full Code Here

               ReflectionException, RemoteException {
        stopIfNotActive("invoke(name,actionName,params,signature)");
        if (logger.finerOn()) {
            logger.finer("invoke(name,actionName,params,signature)","");
        }
        ThreadContext oldThreadContext = pushContext(context);
        try {
            return mbeanServer().invoke(name,actionName,params,signature);
        } finally {
            popContext(oldThreadContext);
        }
View Full Code Here

               ReflectionException, RemoteException {
        stopIfNotActive("getMBeanInfo(name)");
        if (logger.finerOn()) {
            logger.finer("getMBeanInfo(name)","");
        }
        ThreadContext oldThreadContext = pushContext(context);
        try {
            return mbeanServer().getMBeanInfo(name);
        } finally {
            popContext(oldThreadContext);
        }
View Full Code Here

    public Object[] remoteRequest(int opType, Object[] params,
                                  OperationContext context)
        throws Exception, RemoteException {
        stopIfNotActive("remoteRequest()");
        ThreadContext oldThreadContext = pushContext(context);
        try {
            return serverNotificationDispatcher.remoteRequest(opType,params);
        } finally {
            popContext(oldThreadContext);
        }
View Full Code Here

TOP

Related Classes of com.sun.jdmk.ThreadContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.