|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.elca.el4j.services.monitoring.jmx.HtmlAdapterFactoryBean
public class HtmlAdapterFactoryBean
This class creates a HtmlAdapter for an MBeanServer.
Constructor Summary | |
---|---|
HtmlAdapterFactoryBean()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
Creating an HtmlAdaptorServer and register it at the MBean Server. |
void |
destroy()
|
com.sun.jdmk.comm.HtmlAdaptorServer |
getHtmlAdaptorServer()
The getter method for the HtmlAdaptorServer. |
String |
getHtmlParserName()
|
int |
getInstanceCounter()
The getter method for the instanceCounter member. |
String |
getName()
The getter method for the name of the ObjectName. |
Object |
getObject()
|
Class |
getObjectType()
|
int |
getPort()
The getter method for the port member. |
MBeanServer |
getServer()
The getter method for the MBean Server. |
String |
getStylesheetPath()
|
boolean |
isIgnoreInstanceAlreadyExistsException()
|
boolean |
isSingleton()
|
void |
setHtmlParserName(String htmlParserName)
|
void |
setIgnoreInstanceAlreadyExistsException(boolean ignoreInstanceAlreadyExistsException)
|
void |
setInstanceCounter()
Save the class variable s_counter to an instance member and increment the class variable by 1. |
void |
setName(String name)
The setter method for the name of the ObjectName. |
void |
setPort(int port)
The setter method for the port member. |
void |
setServer(MBeanServer mBeanServer)
The setter method for the MBean Server. |
void |
setStylesheetPath(String stylesheetPath)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HtmlAdapterFactoryBean()
Method Detail |
---|
public Object getObject() throws Exception
getObject
in interface FactoryBean
Exception
public Class getObjectType()
getObjectType
in interface FactoryBean
public boolean isSingleton()
isSingleton
in interface FactoryBean
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
- In case the object name is invalid or the HtmlAdaptorServer
could not be registered at the MBean Server.public int getInstanceCounter()
public void setInstanceCounter()
public int getPort()
public void setPort(int port)
port
- The port to set.public MBeanServer getServer()
public void setServer(MBeanServer mBeanServer)
mBeanServer
- The MBean Server to set.public boolean isIgnoreInstanceAlreadyExistsException()
public void setIgnoreInstanceAlreadyExistsException(boolean ignoreInstanceAlreadyExistsException)
ignoreInstanceAlreadyExistsException
- whether to ignore InstanceAlreadyExistsExceptions or notpublic String getName()
public void setName(String name)
name
- The name of the ObjectName to set.public String getHtmlParserName()
public void setHtmlParserName(String htmlParserName)
htmlParserName
- The htmlParserName to set.public String getStylesheetPath()
public void setStylesheetPath(String stylesheetPath)
stylesheetPath
- The stylesheetPath to set.public com.sun.jdmk.comm.HtmlAdaptorServer getHtmlAdaptorServer()
public void destroy() throws Exception
destroy
in interface DisposableBean
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |