BEA Systems, Inc.

WebLogic Server 5.1.0 API Reference

Interface SetMonitor

public interface SetMonitor
extends MonitorDef

Used to monitor modifications to a Setable object in the WebLogic Server. Implement this interface to create a monitor that can operate on a target object before or after a call to its set method takes place.

Copyright (c) 1997-98 by WebLogic, Inc. All Rights Reserved., Copyright (c) 1999 by BEA WebXpress. All Rights Reserved.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.
See Also:

Method Summary
 void postSet(Setable target, ParamSet callbackData, java.lang.Exception e)
          Called following a modification to the target object.
 void preSet(Setable target, ParamSet callbackData)
          Called prior to a modification to the target object.
Methods inherited from interface weblogic.common.MonitorDef
monitorInit, setServices

Method Detail


public void preSet(Setable target,
                   ParamSet callbackData)
            throws MonitorException
Called prior to a modification to the target object.

target - Object about to be modified
callbackData - User-supplied callback data
MonitorException - if the operation fails or is blocked


public void postSet(Setable target,
                    ParamSet callbackData,
                    java.lang.Exception e)
Called following a modification to the target object. The argument "e" is an exception that occurred during a call to the preSet() method, or while performing the task itself. If "e" is not null, then the preSet() task did not succeed.

target - Modified object
callbackData - User-supplied callback data
e - Exception that occurred in preSet

Documentation is available at