use of com.acme.Managed in project jetty.project by eclipse.
the class MBeanContainerTest method setUpDestroy.
private void setUpDestroy() {
managed = new Managed();
mbeanContainer.beanAdded(null, managed);
}
use of com.acme.Managed in project jetty.project by eclipse.
the class MBeanContainerTest method getManaged.
private Managed getManaged() {
beanName = "mngd:bean";
beanName = mbeanContainer.makeName(beanName);
Managed managed = new Managed();
managed.setManaged(beanName);
mbeanContainer.beanAdded(null, managed);
return managed;
}
use of com.acme.Managed in project jetty.project by eclipse.
the class MBeanContainerTest method setUpBeanRemoved.
private void setUpBeanRemoved() {
managed = new Managed();
mbeanContainer.beanRemoved(null, managed);
mbeanContainer.beanAdded(null, managed);
}
use of com.acme.Managed in project jetty.project by eclipse.
the class MBeanContainerTest method setBeanAdded.
private void setBeanAdded() {
managed = new Managed();
Container container = new ContainerLifeCycle();
mbeanContainer.beanAdded(container, managed);
mbeanServer = mbeanContainer.getMBeanServer();
}
use of com.acme.Managed in project jetty.project by eclipse.
the class LogMBeanTest method setUp.
@Before
public void setUp() {
managed = new Managed();
logMBean = new LogMBean(managed);
}
Aggregations