Package com.sun.cli.jmx.support

Examples of com.sun.cli.jmx.support.InspectRequest


      // if there is a proxy, see if any MBeans have matching operations
      final CLISupportMBeanProxy  proxy  = getProxy();
     
      if ( proxy != null && ! cmdString.equals( "*" ) )
      {
        final InspectRequest  request  = new InspectRequest();
       
        // ask for operations only
        request.includeSummary    = true;
        request.includeDescription  = false;
        request.attrs        = null;
View Full Code Here


    private void
  TestMBeanInspect( CLISupportMBeanProxy test, String [] patterns ) throws Exception
  {
    begin( "TestMBeanInspect" );
   
    final InspectRequest  request  = new InspectRequest();
   
    final InspectResult []  results  = test.mbeanInspect( request, patterns );
    final int      numResults  = Array.getLength( results );
   
    final String  summary  = "" + numResults +
View Full Code Here

 
 
    public void
  testMBeanInspect( ) throws Exception
  {
    final InspectRequest  request  = new InspectRequest();
   
    final InspectResult []  results  = mProxy.mbeanInspect( request, ALL_TARGETS );
   
    assertEquals( 3, results.length );
  }
View Full Code Here

 
    void
  handle_inspect( final String [] targets )
    throws Exception
  {
    final InspectRequest  request  = new InspectRequest( true );
   
    request.includeDescription  = ! getBoolean( "noDescription", Boolean.TRUE ).booleanValue();
     
    if ( getBoolean( "all", Boolean.FALSE ).booleanValue() )
    {
View Full Code Here

 
    void
  handle_ops( final String [] targets )
    throws Exception
  {
    final InspectRequest  request  = new InspectRequest( false );
    request.operations  = "*";
   
    handle_inspect( targets, request );
  }
View Full Code Here

 
    void
  handle_attrs( final String [] targets )
    throws Exception
  {
    final InspectRequest  request  = new InspectRequest( false );
    request.attrs  = "*";
   
    handle_inspect( targets, request );
  }
View Full Code Here

TOP

Related Classes of com.sun.cli.jmx.support.InspectRequest

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.