Added/fixed @ManagedObject annotation.
This commit is contained in:
parent
729dd41493
commit
d2fc88839c
|
@ -27,11 +27,13 @@ import org.eclipse.jetty.client.api.Destination;
|
||||||
import org.eclipse.jetty.util.Callback;
|
import org.eclipse.jetty.util.Callback;
|
||||||
import org.eclipse.jetty.util.Promise;
|
import org.eclipse.jetty.util.Promise;
|
||||||
import org.eclipse.jetty.util.annotation.ManagedAttribute;
|
import org.eclipse.jetty.util.annotation.ManagedAttribute;
|
||||||
|
import org.eclipse.jetty.util.annotation.ManagedObject;
|
||||||
import org.eclipse.jetty.util.component.ContainerLifeCycle;
|
import org.eclipse.jetty.util.component.ContainerLifeCycle;
|
||||||
import org.eclipse.jetty.util.component.Dumpable;
|
import org.eclipse.jetty.util.component.Dumpable;
|
||||||
import org.eclipse.jetty.util.log.Log;
|
import org.eclipse.jetty.util.log.Log;
|
||||||
import org.eclipse.jetty.util.log.Logger;
|
import org.eclipse.jetty.util.log.Logger;
|
||||||
|
|
||||||
|
@ManagedObject
|
||||||
public abstract class AbstractConnectionPool implements ConnectionPool, Dumpable
|
public abstract class AbstractConnectionPool implements ConnectionPool, Dumpable
|
||||||
{
|
{
|
||||||
private static final Logger LOG = Log.getLogger(AbstractConnectionPool.class);
|
private static final Logger LOG = Log.getLogger(AbstractConnectionPool.class);
|
||||||
|
|
|
@ -40,7 +40,7 @@ import org.eclipse.jetty.util.log.Log;
|
||||||
import org.eclipse.jetty.util.log.Logger;
|
import org.eclipse.jetty.util.log.Logger;
|
||||||
import org.eclipse.jetty.util.thread.Sweeper;
|
import org.eclipse.jetty.util.thread.Sweeper;
|
||||||
|
|
||||||
@ManagedObject("The connection pool")
|
@ManagedObject
|
||||||
public class DuplexConnectionPool extends AbstractConnectionPool implements Sweeper.Sweepable
|
public class DuplexConnectionPool extends AbstractConnectionPool implements Sweeper.Sweepable
|
||||||
{
|
{
|
||||||
private static final Logger LOG = Log.getLogger(DuplexConnectionPool.class);
|
private static final Logger LOG = Log.getLogger(DuplexConnectionPool.class);
|
||||||
|
|
Loading…
Reference in New Issue