|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.jmx.MBeanContainer
public class MBeanContainer
Container class for the MBean instances
| 嵌套类摘要 |
|---|
| 从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的嵌套类/接口 |
|---|
AbstractLifeCycle.AbstractLifeCycleListener |
| 从接口 org.eclipse.jetty.util.component.LifeCycle 继承的嵌套类/接口 |
|---|
LifeCycle.Listener |
| 字段摘要 |
|---|
| 从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的字段 |
|---|
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING |
| 构造方法摘要 | |
|---|---|
MBeanContainer(MBeanServer server)
Constructs MBeanContainer |
|
| 方法摘要 | |
|---|---|
void |
add(Container.Relationship relationship)
Implementation of Container.Listener interface |
void |
addBean(Object obj)
Implementation of Container.Listener interface |
void |
doStart()
Perform actions needed to start lifecycle |
void |
doStop()
Perform actions needed to stop lifecycle |
String |
dump()
|
void |
dump(Appendable out,
String indent)
|
Object |
findBean(ObjectName oname)
Lookup an instance by object name |
ObjectName |
findMBean(Object object)
Lookup an object name by instance |
String |
getDomain()
Retrieve domain name used to add MBeans |
MBeanServer |
getMBeanServer()
Retrieve instance of MBeanServer used by container |
String |
makeName(String basis)
|
void |
remove(Container.Relationship relationship)
Implementation of Container.Listener interface |
void |
removeBean(Object obj)
Implementation of Container.Listener interface |
void |
setDomain(String domain)
Set domain to be used to add MBeans |
| 从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的方法 |
|---|
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public MBeanContainer(MBeanServer server)
server - instance of MBeanServer for use by container| 方法详细信息 |
|---|
public ObjectName findMBean(Object object)
object - instance for which object name is looked up
public Object findBean(ObjectName oname)
oname - object name of instance
public MBeanServer getMBeanServer()
public void setDomain(String domain)
domain - domain namepublic String getDomain()
public void add(Container.Relationship relationship)
Container.Listener 中的 addContainer.Listener.add(org.eclipse.jetty.util.component.Container.Relationship)public void remove(Container.Relationship relationship)
Container.Listener 中的 removeContainer.Listener.remove(org.eclipse.jetty.util.component.Container.Relationship)public void removeBean(Object obj)
Container.Listener 中的 removeBeanContainer.Listener.removeBean(java.lang.Object)public void addBean(Object obj)
Container.Listener 中的 addBeanContainer.Listener.addBean(java.lang.Object)public String makeName(String basis)
basis - name to strip of special characters.
public void doStart()
AbstractLifeCycle 中的 doStartAbstractLifeCycle.doStart()public void doStop()
AbstractLifeCycle 中的 doStopAbstractLifeCycle.doStop()
public void dump(Appendable out,
String indent)
throws IOException
Dumpable 中的 dumpIOExceptionpublic String dump()
Dumpable 中的 dump
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||