Package org.smooks.management.mbean
Class AbstractMBean
- java.lang.Object
-
- org.smooks.management.mbean.AbstractMBean
-
- All Implemented Interfaces:
MBean
- Direct Known Subclasses:
ManagedReaderPool,ManagedResourceConfig,ManagedVisitor
public abstract class AbstractMBean extends Object implements MBean
-
-
Constructor Summary
Constructors Constructor Description AbstractMBean(InstrumentationResource instrumentationResource)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected StringgetContext()protected StringgetLocalHostName()protected abstract StringgetName()ObjectNamegetObjectName()protected abstract StringgetType()
-
-
-
Field Detail
-
hostName
protected String hostName
-
-
Constructor Detail
-
AbstractMBean
public AbstractMBean(InstrumentationResource instrumentationResource)
-
-
Method Detail
-
getLocalHostName
protected String getLocalHostName() throws UnknownHostException
- Throws:
UnknownHostException
-
getObjectName
public ObjectName getObjectName()
- Specified by:
getObjectNamein interfaceMBean
-
getName
protected abstract String getName()
-
getType
protected abstract String getType()
-
getContext
protected String getContext()
-
-