|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.common.internal.RemoteEntryPoint | +--weblogic.common.Monitor
The Monitor class provides constructors for Monitor objects. A Monitor object is used to add user callbacks on server resources. The class name used to construct it is a user-written class that implements one or more Monitor interfaces.
Field Summary | |
protected ParamSet |
callbackData
|
protected boolean |
isMaster
|
Fields inherited from class weblogic.common.internal.RemoteEntryPoint |
className,
params,
theObject |
Constructor Summary | |
Monitor()
Constructs a default Monitor object. |
|
Monitor(java.lang.Object o)
Constructs an Monitor object with the specified Object. |
|
Monitor(java.lang.Object o,
ParamSet ps)
Constructs a Monitor with the specified Object and set of parameters. |
|
Monitor(java.lang.Object o,
ParamSet initData,
ParamSet callbackData)
Constructs a Monitor with the specified Object and set of parameters. |
|
Monitor(java.lang.String entry)
Constructs a Monitor with the specified user-written class name. |
|
Monitor(java.lang.String entry,
ParamSet ps)
Constructs a Monitor with the specified user-written class name and set of parameters. |
|
Monitor(java.lang.String entry,
ParamSet initData,
ParamSet callbackData)
Constructs a Monitor with the specified user-written class name and set of parameters. |
Method Summary | |
ParamSet |
getCallbackData()
Returns the ParamSet of callback data for a Monitor. |
boolean |
isMaster()
Returns true if a Monitor is a "Master" Monitor. |
MonitorDef |
newInstance(T3ServicesDef services)
Creates an instance of the user-written class and calls its monitorInit() and setServices() methods. |
void |
readExternal(java.io.ObjectInput in)
Internal use only. |
void |
setMaster(boolean value)
Registers a Monitor as a "Master Monitor." A Master Monitor is guaranteed to execute before any other Monitor and may alter the state of a Monitored object. |
void |
writeExternal(java.io.ObjectOutput out)
Internal use only. |
Methods inherited from class weblogic.common.internal.RemoteEntryPoint |
className,
destroy,
equals,
getName,
getParamSet,
getT3,
initialize,
newInstance,
params,
theObject |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected boolean isMaster
protected ParamSet callbackData
Constructor Detail |
public Monitor()
public Monitor(java.lang.Object o, ParamSet initData, ParamSet callbackData)
o
- Objectps
- ParamSet objectcallbackData
- ParamSet for callbackpublic Monitor(java.lang.Object o, ParamSet ps)
o
- Objectps
- ParamSet objectpublic Monitor(java.lang.Object o)
o
- Objectpublic Monitor(java.lang.String entry, ParamSet initData, ParamSet callbackData)
entry
- Name of user-written classinitData
- ParamSet for monitorInitcallbackData
- ParamSet for callback functionMonitorDef
,
SetMonitor
,
GetMonitor
,
DestroyMonitor
public Monitor(java.lang.String entry, ParamSet ps)
entry
- Name of user-written classps
- ParamSet objectMonitorDef
,
SetMonitor
,
GetMonitor
,
DestroyMonitor
public Monitor(java.lang.String entry)
entry
- Name of user-written classMonitorDef
,
SetMonitor
,
GetMonitor
,
DestroyMonitor
Method Detail |
public MonitorDef newInstance(T3ServicesDef services) throws MonitorException
services
- Services stub to be passed to setServices()public boolean isMaster()
public ParamSet getCallbackData()
public void setMaster(boolean value)
value
- true is a Monitor should be set to Masterpublic void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs60 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |