private OpResultInfo invokeOpByName(final String name, 
                                       final String methodName,
                                       final String[] argTypes,
                                       final String[] args)
      throws PrivilegedActionException
   {
      return AccessController.doPrivileged(new PrivilegedExceptionAction<OpResultInfo>()
      {
         public OpResultInfo run() throws Exception
         {
            return Server.invokeOpByName(name, methodName, argTypes, args);
         }
      });
   }
private OpResultInfo invokeOpByName ( final String name , final String methodName , final String [ ] argTypes , final String [ ] args ) throws PrivilegedActionException { return AccessController . doPrivileged ( new PrivilegedExceptionAction < OpResultInfo > ( ) { public OpResultInfo run ( ) throws Exception { return Server . invokeOpByName ( name , methodName , argTypes , args ) ; } } ) ; }
Invoke an operation on a MBean
@param name The name of the bean
@param methodName The operation name
@param argTypes The argument types
@param args The operation arguments
@return The operation result
@exception PrivilegedExceptionAction Thrown if the operation cannot be performed