org.ops4j.pax.radman.gateway.tester.authentication.internal
Class SampleAuthorizer

java.lang.Object
  extended by org.ops4j.pax.radman.gateway.tester.authentication.internal.SampleAuthorizer
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class SampleAuthorizer
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

Author:
Gavin Bong, Luis-Miguel Alventosa
See Also:
http://blogs.sun.com/lmalventosa/entry/jmx_authentication_authorization

Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
static javax.management.remote.MBeanServerForwarder newProxyInstance(org.osgi.framework.BundleContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newProxyInstance

public static javax.management.remote.MBeanServerForwarder newProxyInstance(org.osgi.framework.BundleContext context)
                                                                     throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable


Copyright © 2008. All Rights Reserved.