|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
my.avalon.jmx.samples.HelloSample4
HelloSample sample of avalon component usable throught jmx. This component include stage "my.avalon.jmx.MBeanable" and implements MBeanable interface, but return null as getName(), so MBeanableHandler used "urn:avalon:name".
Constructor Summary | |
HelloSample4()
|
Method Summary | |
void |
execute()
log a info message "execute". |
java.lang.String |
getName()
name used to (un)register the component, must be constant through the 2 calls. |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HelloSample4()
Method Detail |
public java.lang.String getName()
MBeanable
getName
in interface MBeanable
public void execute() throws java.lang.Exception
execute
in interface HelloSample4MBean
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |