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

ManagedTest

public class ManagedTest extends com.sun.enterprise.admin.server.core.mbean.config.AdminBase
author
kedar
version

Fields Summary
public String
Color
public String
Smell
public String
Taste
Constructors Summary
public ManagedTest()
Creates new ManagedTest


	 		  	
    
	  
	
		Color = "BLUE";
		Smell = "PLEASANT";
		Taste = "SWEET";
    
public ManagedTest(String msg)

	
Methods Summary
public java.lang.StringgetColor()

		return Color;
	
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 java.lang.StringgetSmell()

		return Smell;
	
public java.lang.StringgetTaste()

		return Taste;
	
public voidsetColor(java.lang.String c)

		Color = c;
	
public voidsetSmell(java.lang.String s)

		Smell = s;
	
public voidsetTaste(java.lang.String t)

		Taste = t;
	
public java.lang.StringstringVoid()

		Logger.log("Method: takes void returns string");
		return ("stringvoid");
	
public voidvoidInt(int i)

		Logger.log("Method: takes int = " + i + " and returns void");
	
public voidvoidVoid()

		Logger.log("Method: takes void returns void");