Package com.swiftmq.mgmt
Class PropertyChangeAdapter
- java.lang.Object
-
- com.swiftmq.mgmt.PropertyChangeAdapter
-
- All Implemented Interfaces:
PropertyChangeListener
public class PropertyChangeAdapter extends java.lang.Object implements PropertyChangeListener
An adapter class that allows to specify a config object for later use.- Author:
- IIT GmbH, Bremen/Germany, Copyright (c) 2000-2002, All Rights Reserved
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.ObjectconfigObject
-
Constructor Summary
Constructors Constructor Description PropertyChangeAdapter(java.lang.Object configObject)Create a new PropertyChangeAdapter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpropertyChanged(Property property, java.lang.Object oldValue, java.lang.Object newValue)Called before the Property value is changed.
-
-
-
Method Detail
-
propertyChanged
public void propertyChanged(Property property, java.lang.Object oldValue, java.lang.Object newValue) throws PropertyChangeException
Description copied from interface:PropertyChangeListenerCalled before the Property value is changed. It is expected that this method throws a PropertyChangeException if any error occurs. If no exception is thrown, the new value will be set for this Property.- Specified by:
propertyChangedin interfacePropertyChangeListener- Parameters:
property- the Property.oldValue- the old value.newValue- the new value.- Throws:
PropertyChangeException- on error.
-
-