public MBeanEntry(ObjectName objectName,
MBeanInvoker invoker,
Object resource,
Map valueMap) {
// Constructors --------------------------------------------------
this.objectName = objectName;
this.invoker = invoker;
this.resourceClassName = resource.getClass().getName();
this.resource = resource;
this.valueMap = valueMap;
// Adrian: Unpack the classloader because this is used alot
if (valueMap != null)
this.cl = (ClassLoader) valueMap.get(CLASSLOADER);
}
Construct a new mbean registration entry. Parameters:
objectName - the name with which the mbean is registered
invoker - the dynamic mbean used to invoke the mbean
resource - the mbean
valueMap - any other information to include in the registration
|