jade.jademx.server
Class StaticMethodTest.StaticMethodSubclass

java.lang.Object
  extended by jade.jademx.server.StaticMethod
      extended by jade.jademx.server.StaticMethodTest.StaticMethodSubclass
All Implemented Interfaces:
jade.jademx.server.JadeMXServer
Enclosing class:
StaticMethodTest

private static class StaticMethodTest.StaticMethodSubclass
extends jade.jademx.server.StaticMethod

a class for testing StaticMethod


Constructor Summary
StaticMethodTest.StaticMethodSubclass()
          default constructor
StaticMethodTest.StaticMethodSubclass(java.lang.String methodName)
          constructor where can set method name
 
Method Summary
static javax.management.MBeanServer bar(java.lang.String a, java.lang.String b)
          exception-raising method to use for getting mbean server
static javax.management.MBeanServer foo(java.lang.String a, java.lang.String b)
          default method to use for getting mbean server
 
Methods inherited from class jade.jademx.server.StaticMethod
getMBeanServer, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StaticMethodTest.StaticMethodSubclass

public StaticMethodTest.StaticMethodSubclass()
default constructor


StaticMethodTest.StaticMethodSubclass

public StaticMethodTest.StaticMethodSubclass(java.lang.String methodName)
constructor where can set method name

Parameters:
methodName - method to use for getting mbean server
Method Detail

foo

public static javax.management.MBeanServer foo(java.lang.String a,
                                               java.lang.String b)
default method to use for getting mbean server

Parameters:
a - dummy
b - dummy
Returns:
null mbean server

bar

public static javax.management.MBeanServer bar(java.lang.String a,
                                               java.lang.String b)
exception-raising method to use for getting mbean server

Parameters:
a - dummy
b - dummy
Returns:
by throwing exception
Throws:
java.lang.RuntimeException - always


Copyright © 2005-2006 Caboodle Networks, Inc.
LGPL license