FileDocCategorySizeDatePackage
EasyConfigTestMBean.javaAPI DocGlassfish v2 API4952Fri May 04 22:34:08 BST 2007com.sun.enterprise.admin.server.core.mbean.test

EasyConfigTestMBean

public class EasyConfigTestMBean extends com.sun.enterprise.admin.server.core.mbean.config.AdminBase
author
alexkrav
version

Fields Summary
public String[]
attrs
public String[]
opers
public String
Smell
public String
Taste
Constructors Summary
public EasyConfigTestMBean()
Creates new EasyConfigTestMBean


	 		  	
    
	  
	
  
public EasyConfigTestMBean(String msg)

	
public EasyConfigTestMBean(String[] msgs, int testCode)

	
Methods Summary
public voidemptyParamMethod()

	
public java.lang.StringgetColor()

		return "test";
	
protected java.lang.ClassgetImplementingClass()
Every resource MBean should override this method to execute specific operations on the MBean. This method is enhanced in 8.0. It was a no-op in 7.0. In 8.0, it is modified to invoke the actual method through reflection.

since
8.0
see
javax.management.MBeanServer#invoke
see
#getImplementingClass

        return ( this.getClass() );
    
protected java.lang.ObjectgetImplementingMBean()
Reflection requires the implementing object.

since
8.0

        return ( this );
    
public javax.management.MBeanInfogetMBeanInfo()

	   try {
	     return (new MBeanEasyConfig(getClass(), attrs, opers, "TEST BEAN")).getMBeanInfo();
	   } catch(Exception e)
	   {
	     System.out.println("++++++++++++++++++++E X C E P T I O N+++++++++++++++++++++++++ getMBeanInfo():Exception:"+e);
	     e.printStackTrace();
	     return null;
	   }
	   
	
public java.lang.StringgetSmell()

		return "test";
	
public voidsetColor(java.lang.String c)

	
public booleantestComplexMethod(int intValue, int[] intValue2, java.lang.String[][][] str)

		return false;