KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > webservice > server > InvokerProviderJMX


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7
8 // $Id: InvokerProviderJMX.java,v 1.1.2.3 2005/04/12 16:07:47 starksm Exp $
9
package org.jboss.webservice.server;
10
11 // $Id: InvokerProviderJMX.java,v 1.1.2.3 2005/04/12 16:07:47 starksm Exp $
12

13 import org.jboss.axis.MessageContext;
14 import org.jboss.logging.Logger;
15
16 import java.lang.reflect.Method JavaDoc;
17
18 /**
19  * An Axis RPC provider for JMX endpoints.
20  *
21  * @author Thomas.Diesler@jboss.org
22  * @since 30-Sep-2004
23  */

24 public class InvokerProviderJMX extends InvokerProviderJSE
25 {
26    /** @since 4.0.2 */
27    static final long serialVersionUID = 7507097707486824402L;
28    // provide logging
29
private Logger log = Logger.getLogger(InvokerProviderJMX.class);
30
31    /**
32     * This method encapsulates the method invocation.
33     *
34     * @param msgContext MessageContext
35     * @param method the target method.
36     * @param obj the target object
37     * @param argValues the method arguments
38     */

39    protected Object JavaDoc invokeServiceEndpoint(MessageContext msgContext, Method JavaDoc method, Object JavaDoc obj, Object JavaDoc[] argValues)
40            throws Exception JavaDoc
41    {
42       log.debug("Invoke JMX: " + method);
43
44       // invoke the bean method
45
Object JavaDoc retObj = null;
46       return retObj;
47    }
48 }
49
Popular Tags