|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.logging.log4j.core.jmx.Client
public class Client
This class allows client-side code to perform operations on remote (server-side) MBeans via proxies.
Constructor Summary | |
---|---|
Client(JMXConnector connector)
Constructs a new Client object and creates proxies for all known
remote MBeans. |
|
Client(MBeanServerConnection mBeanServerConnection)
Constructs a new Client object and creates proxies for all known
remote MBeans. |
Method Summary | |
---|---|
void |
close()
Closes the client connection to its server. |
MBeanServerConnection |
getConnection()
Returns the MBean server connection through which to communicate with the remote mbeans. |
ContextSelectorAdminMBean |
getContextSelectorAdmin()
Returns a proxy that allows operations to be performed on the remote ContextSelectorAdminMBean . |
List<LoggerContextAdminMBean> |
getLoggerContextAdmins()
Returns a list of proxies that allow operations to be performed on the remote LoggerContextAdminMBean s. |
StatusLoggerAdminMBean |
getStatusLoggerAdmin()
Returns a proxy that allows operations to be performed on the remote StatusLoggerAdminMBean . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Client(JMXConnector connector) throws MalformedObjectNameException, IOException
Client
object and creates proxies for all known
remote MBeans.
connector
- used to create the MBean server connection through which
to communicate with the remote mbeans
MalformedObjectNameException
- if a problem occurred identifying
one of the remote mbeans
IOException
- if the connection failedpublic Client(MBeanServerConnection mBeanServerConnection) throws MalformedObjectNameException, IOException
Client
object and creates proxies for all known
remote MBeans.
mBeanServerConnection
- the MBean server connection through which to
communicate with the remote mbeans
MalformedObjectNameException
- if a problem occurred identifying
one of the remote mbeans
IOException
- if the connection failedMethod Detail |
---|
public ContextSelectorAdminMBean getContextSelectorAdmin()
ContextSelectorAdminMBean
.
ContextSelectorAdminMBean
public List<LoggerContextAdminMBean> getLoggerContextAdmins()
LoggerContextAdminMBean
s.
LoggerContextAdminMBean
spublic void close()
public MBeanServerConnection getConnection()
public StatusLoggerAdminMBean getStatusLoggerAdmin()
StatusLoggerAdminMBean
.
StatusLoggerAdminMBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2013 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.