org.ow2.jonas.jndi.interceptors.impl.audit
Class AuditSystemContextInterceptorAdapter

java.lang.Object
  extended by org.apache.commons.modeler.BaseModelMBean
      extended by org.ow2.jonas.jndi.interceptors.impl.audit.AuditSystemContextInterceptorAdapter
All Implemented Interfaces:
DynamicMBean, MBeanRegistration, ModelMBean, ModelMBeanNotificationBroadcaster, NotificationBroadcaster, PersistentMBean

public class AuditSystemContextInterceptorAdapter
extends BaseModelMBean

Commons modeler adapter.

Author:
Florent Benoit

Field Summary
 
Fields inherited from class org.apache.commons.modeler.BaseModelMBean
attributeBroadcaster, attributes, generalBroadcaster, info, oname, registry, resource, resourceType, source
 
Constructor Summary
AuditSystemContextInterceptorAdapter()
          Create the mbean.
 
Method Summary
protected  AuditSystemContextInterceptor getManagedComponent()
           
 void postRegister(Boolean registrationDone)
          Calls some operation on the wrapped object.
 
Methods inherited from class org.apache.commons.modeler.BaseModelMBean
addAttributeChangeNotificationListener, addNotificationListener, createDefaultModelMBeanInfo, createResource, getAttribute, getAttributes, getClassName, getJmxName, getManagedResource, getMBeanInfo, getModelerType, getNotificationInfo, getObjectName, getRegistry, initModelInfo, invoke, isModelMBeanInfoValid, load, postDeregister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedResource, setModeledType, setModelMBeanInfo, setRegistry, store, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuditSystemContextInterceptorAdapter

public AuditSystemContextInterceptorAdapter()
                                     throws MBeanException
Create the mbean.

Throws:
MBeanException - if the super constructor fails.
Method Detail

getManagedComponent

protected AuditSystemContextInterceptor getManagedComponent()
Returns:
the wrapped resource (managed object)

postRegister

public void postRegister(Boolean registrationDone)
Calls some operation on the wrapped object.

Specified by:
postRegister in interface MBeanRegistration
Overrides:
postRegister in class BaseModelMBean
Parameters:
registrationDone - if registration has been done or not


Copyright © 2011 OW2 Consortium. All Rights Reserved.