Package org.nuxeo.runtime.management
Class Resource
- java.lang.Object
-
- org.nuxeo.runtime.management.Resource
-
public class Resource extends Object
- Author:
- Stephane Lacoin (Nuxeo EP Software Engineer)
-
-
Field Summary
Fields Modifier and Type Field Description protected Class<?>
clazz
protected Object
instance
protected ObjectName
managementName
protected RequiredModelMBean
mbean
-
Constructor Summary
Constructors Constructor Description Resource(ObjectName managementName, Class<?> managementClass, Object serviceInstance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>
getClazz()
Object
getInstance()
ObjectName
getManagementName()
boolean
isRegistered()
-
-
-
Field Detail
-
instance
protected final Object instance
-
managementName
protected final ObjectName managementName
-
clazz
protected final Class<?> clazz
-
mbean
protected RequiredModelMBean mbean
-
-
Constructor Detail
-
Resource
public Resource(ObjectName managementName, Class<?> managementClass, Object serviceInstance)
-
-
Method Detail
-
getInstance
public Object getInstance()
-
getManagementName
public ObjectName getManagementName()
-
getClazz
public Class<?> getClazz()
-
isRegistered
public boolean isRegistered()
-
-