|
HOME | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ireasoning.core.jmx.BaseAgent
Base class for agent implementations
Field Summary | |
protected MBeanServer |
_mbeanServer
MBeanServer instance, which is to be used to create/register MBeans |
Constructor Summary | |
BaseAgent()
Constructor. |
|
BaseAgent(MBeanServer server)
Constructor |
Method Summary | |
MBeanServer |
getMBeanServer()
Returns MBeanServer object |
protected void |
registerHelperMBeans()
Register config and logger MBeans |
protected void |
startAdaptorServer(AdaptorServerMBean s,
String adaptorName,
int port)
Starts adaptor server |
protected void |
startAdaptorServer(AdaptorServerMBean s,
String adaptorName,
int port,
InetAddress laddr)
Starts adaptor server |
protected void |
stopAdaptorServer(String adaptorName,
int port)
Stops adaptor server |
protected void |
stopAdaptorServer(String adaptorName,
int port,
InetAddress address)
Stops adaptor server |
protected void |
unregisterHelperMBeans()
Unregister config and logger MBeans |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected MBeanServer _mbeanServer
Constructor Detail |
public BaseAgent()
public BaseAgent(MBeanServer server)
server
- the MBeanServer object which is to be used to create/register MBeansMethod Detail |
protected void registerHelperMBeans()
protected void unregisterHelperMBeans()
protected void startAdaptorServer(AdaptorServerMBean s, String adaptorName, int port) throws Exception
s
- AdaptorServerMBean instanceadaptorName
- adaptor server's nameport
- adaptor server's listening port
Exception
protected void startAdaptorServer(AdaptorServerMBean s, String adaptorName, int port, InetAddress laddr) throws Exception
s
- AdaptorServerMBean instanceadaptorName
- adaptor server's nameport
- adaptor server's listening portladdr
- local address to bind
Exception
protected void stopAdaptorServer(String adaptorName, int port) throws Exception
adaptorName
- adaptor server's nameport
- adaptor server's listening port
Exception
protected void stopAdaptorServer(String adaptorName, int port, InetAddress address) throws Exception
adaptorName
- adaptor server's nameport
- adaptor server's listening port
Exception
public MBeanServer getMBeanServer() throws Exception
Exception
|
HOME | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |