|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.huihoo.jfox.jmx.adaptor.http.HtmlAdaptorServer
| Constructor Summary | |
HtmlAdaptorServer()
|
|
| Method Summary | |
java.lang.String |
getHost()
|
int |
getPort()
|
static void |
main(java.lang.String[] args)
|
void |
postDeregister()
Allows the MBean to perform any operations needed after having been de-registered in the MBean server. |
void |
postRegister(java.lang.Boolean boolean1)
Allows the MBean to perform any operations needed after having been registered in the MBean server or after the registration has failed. |
void |
preDeregister()
Allows the MBean to perform any operations it needs before being de-registered by the MBean server. |
ObjectName |
preRegister(MBeanServer mbeanServer,
ObjectName objectName)
Allows the MBean to perform any operations it needs before being registered in the MBean server. |
void |
setPort(int port)
|
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HtmlAdaptorServer()
| Method Detail |
public void stop()
stop in interface HtmlAdaptorServerMBeanpublic void start()
start in interface HtmlAdaptorServerMBeanpublic void setPort(int port)
public int getPort()
public java.lang.String getHost()
public ObjectName preRegister(MBeanServer mbeanServer,
ObjectName objectName)
throws java.lang.Exception
MBeanRegistration
preRegister in interface MBeanRegistrationmbeanServer - The MBean server in which the MBean will be registered.objectName - The object name of the MBean.
java.lang.Exception - This exception should be caught by the MBean server and re-thrown
as an MBeanRegistrationException.public void postRegister(java.lang.Boolean boolean1)
MBeanRegistration
postRegister in interface MBeanRegistrationboolean1 - Indicates whether or not the MBean has been successfully registered in
the MBean server. The value false means that the registration phase has failed.
public void preDeregister()
throws java.lang.Exception
MBeanRegistration
preDeregister in interface MBeanRegistrationjava.lang.Exception - This exception should be caught by the MBean server and re-thrown
as an MBeanRegistrationException.public void postDeregister()
MBeanRegistration
postDeregister in interface MBeanRegistrationpublic static void main(java.lang.String[] args)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||