org.ow2.jonas.lib.management.javaee
Class ManagedObject

java.lang.Object
  extended by org.ow2.jonas.lib.management.javaee.ManagedObject
Direct Known Subclasses:
J2EEManagedObject, JWorkManager, LogManagement

public class ManagedObject
extends Object

Author:
Adriana Danes

Field Summary
protected static org.objectweb.util.monolog.api.Logger logger
           
 
Constructor Summary
ManagedObject()
           
 
Method Summary
protected  void sendNotification(Notification notif)
           
 void sendReconfigNotification(long sequenceNumber, String resourceName, Object userData)
          Send a reconfiguration notification to the registerd listener.
 void sendSaveNotification(long sequenceNumber, String resourceName)
          Send a save configuration notification to the registerd listeners.
 void setModelMBean(ModelMBean modelMBean)
          Set the reference on my ModelMBean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static org.objectweb.util.monolog.api.Logger logger
Constructor Detail

ManagedObject

public ManagedObject()
Method Detail

setModelMBean

public void setModelMBean(ModelMBean modelMBean)
Set the reference on my ModelMBean.

Parameters:
modelMBean - the modelMBean

sendSaveNotification

public void sendSaveNotification(long sequenceNumber,
                                 String resourceName)
Send a save configuration notification to the registerd listeners.

Parameters:
sequenceNumber - notification attribute
resourceName - the name of a reconfigurable resource or of a JOnAS service

sendReconfigNotification

public void sendReconfigNotification(long sequenceNumber,
                                     String resourceName,
                                     Object userData)
Send a reconfiguration notification to the registerd listener.

Parameters:
sequenceNumber - notification attribute
resourceName - the name of a reconfigurable resource or of a JOnAS service
userData - data containing the name and the value of the reconfigured property(or properties)

sendNotification

protected void sendNotification(Notification notif)
Parameters:
notif -


Copyright © 2010 OW2 Consortium. All Rights Reserved.