Package org.apache.geronimo.kernel.jmx

Examples of org.apache.geronimo.kernel.jmx.InvokeMBean


        synchronized (this) {
            if (stopped) {
                throw new IllegalStateException("Proxy is stopped");
            }
        }
        InvokeMBean invoker = methodTable[proxy.getSuperIndex()];
        if (invoker == null) {
            throw new NoSuchOperationError("No implementation method:" +
                    " objectName=" + objectName + ", method=" + method);
        }
        return invoker.invoke(server, objectName, args);
    }
View Full Code Here


        for (int i = 0; i < methods.length; i++) {
            Method method = methods[i];
            int index = getSuperIndex(proxyType, method);
            if (index >= 0) {
                if (operations.containsKey(new MBeanOperationSignature(method))) {
                    methodTable[index] = new InvokeMBean(method, false, false);
                } else if (method.getName().startsWith("get") && attributes.containsKey(method.getName().substring(3))) {
                    methodTable[index] = new InvokeMBean(method, true, true);
                } else if (method.getName().startsWith("is") && attributes.containsKey(method.getName().substring(2))) {
                    methodTable[index] = new InvokeMBean(method, true, true);
                } else if (method.getName().startsWith("set") && attributes.containsKey(method.getName().substring(3))) {
                    methodTable[index] = new InvokeMBean(method, true, false);
                }
            }
        }

        // handle equals, hashCode and toString directly here
View Full Code Here

TOP

Related Classes of org.apache.geronimo.kernel.jmx.InvokeMBean

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.