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 String
getContext()
protected String
getLocalHostName()
protected abstract String
getName()
ObjectName
getObjectName()
protected abstract String
getType()
-
-
-
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:
getObjectName
in interfaceMBean
-
getName
protected abstract String getName()
-
getType
protected abstract String getType()
-
getContext
protected String getContext()
-
-