|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.lib.jmbeans.J2EEManagedObject
public class J2EEManagedObject
| Field Summary | |
|---|---|
static String |
J2EE_TYPE_APPLICATION
Constant for a j2ee application |
static String |
J2EE_TYPE_SERVER
Constant for j2ee server |
static String |
NAME
Name constant |
| Constructor Summary | |
|---|---|
protected |
J2EEManagedObject(String objectName)
MBean constructor |
protected |
J2EEManagedObject(String objectName,
boolean stateManageable,
boolean statisticsProvider,
boolean eventProvider)
MBean constructor |
| Method Summary | |
|---|---|
String |
getObjectName()
Return this MBean's name |
boolean |
isEventProvider()
|
boolean |
isStateManageable()
|
boolean |
isStatisticsProvider()
|
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 reference on my ModelMBean |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NAME
public static final String J2EE_TYPE_SERVER
public static final String J2EE_TYPE_APPLICATION
| Constructor Detail |
|---|
protected J2EEManagedObject(String objectName)
objectName - The complete name of the managed object
protected J2EEManagedObject(String objectName,
boolean stateManageable,
boolean statisticsProvider,
boolean eventProvider)
objectName - object name of the managed objectstateManageable - if true, this managed object implements J2EE State
Management ModelstatisticsProvider - if true, this managed object implements the
J2EE StatisticProvide ModeleventProvider - if true, this managed object implements the J2EE
EventProvider Model| Method Detail |
|---|
public String getObjectName()
public boolean isEventProvider()
public boolean isStateManageable()
public boolean isStatisticsProvider()
public void setModelMBean(ModelMBean modelMBean)
modelMBean -
public void sendSaveNotification(long sequenceNumber,
String resourceName)
sequenceNumber - notification attributeresourceName - the name of a reconfigurable resource or of a JOnAS service
public void sendReconfigNotification(long sequenceNumber,
String resourceName,
Object userData)
sequenceNumber - notification attributeresourceName - the name of a reconfigurable resource or of a JOnAS serviceuserData - data containing the name and the value of the reconfigured property(or properties)protected void sendNotification(Notification notif)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||