IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.rcp.broker.core.impl
Class PropertyBrokerService

java.lang.Object
  extended by com.ibm.btt.rcp.broker.core.impl.PropertyBrokerService
All Implemented Interfaces:
IPropertyBrokerService
Direct Known Subclasses:
XpdPropertyBrokerService

public class PropertyBrokerService
extends java.lang.Object
implements IPropertyBrokerService

This PropertyBrokerService is IPropertyBrokerService implementation class for pure RCP use.


Field Summary
protected  java.util.Map<IProperty,java.util.List<IPropertyListener>> listenerRegistry
           
protected  IPropertyFactory propertyFactory
           
 
Fields inherited from interface com.ibm.btt.rcp.broker.core.IPropertyBrokerService
SERVICE_PID
 
Constructor Summary
PropertyBrokerService()
          PropertyBrokerService constructor
 
Method Summary
 void addPropertyListener(IPropertyListener listener, IProperty property)
          Add property listener to listen specified property changes.
 void addPropertyListener(IPropertyListener listener, IProperty[] properties)
          Add property listener to listen specified properties changes.
 void changedProperties(IPropertyValue[] values)
          Deliver property changes
 void changedProperties(IPropertyValue[] values, java.lang.String source)
          Deliver property changes
 IProperty[] getListenedProperties(IPropertyListener listener)
          Return properties which this listener listens to
 IPropertyFactory getPropertyFactory()
          Get property factory instance
 void removePropertyListener(IPropertyListener listener)
          Remove property listener
 void removePropertyListener(IPropertyListener listener, IProperty property)
          Remove property listener for specified property changes
 void removePropertyListener(IPropertyListener listener, IProperty[] properties)
          Remove property listener for specified properties changes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listenerRegistry

protected java.util.Map<IProperty,java.util.List<IPropertyListener>> listenerRegistry

propertyFactory

protected IPropertyFactory propertyFactory
Constructor Detail

PropertyBrokerService

public PropertyBrokerService()
PropertyBrokerService constructor

Method Detail

addPropertyListener

public void addPropertyListener(IPropertyListener listener,
                                IProperty property)
Description copied from interface: IPropertyBrokerService
Add property listener to listen specified property changes. Remember to remove listener after used.

Specified by:
addPropertyListener in interface IPropertyBrokerService

addPropertyListener

public void addPropertyListener(IPropertyListener listener,
                                IProperty[] properties)
Description copied from interface: IPropertyBrokerService
Add property listener to listen specified properties changes. Remember to remove listener after used.

Specified by:
addPropertyListener in interface IPropertyBrokerService

changedProperties

public void changedProperties(IPropertyValue[] values,
                              java.lang.String source)
                       throws BrokerServiceException
Description copied from interface: IPropertyBrokerService
Deliver property changes

Specified by:
changedProperties in interface IPropertyBrokerService
Parameters:
values - property values
source - property source
Throws:
BrokerServiceException

changedProperties

public void changedProperties(IPropertyValue[] values)
                       throws BrokerServiceException
Description copied from interface: IPropertyBrokerService
Deliver property changes

Specified by:
changedProperties in interface IPropertyBrokerService
Parameters:
values - property values
Throws:
BrokerServiceException

getListenedProperties

public IProperty[] getListenedProperties(IPropertyListener listener)
Description copied from interface: IPropertyBrokerService
Return properties which this listener listens to

Specified by:
getListenedProperties in interface IPropertyBrokerService
Returns:
properties this listener listens to

removePropertyListener

public void removePropertyListener(IPropertyListener listener,
                                   IProperty property)
Description copied from interface: IPropertyBrokerService
Remove property listener for specified property changes

Specified by:
removePropertyListener in interface IPropertyBrokerService

removePropertyListener

public void removePropertyListener(IPropertyListener listener)
Description copied from interface: IPropertyBrokerService
Remove property listener

Specified by:
removePropertyListener in interface IPropertyBrokerService

getPropertyFactory

public IPropertyFactory getPropertyFactory()
Description copied from interface: IPropertyBrokerService
Get property factory instance

Specified by:
getPropertyFactory in interface IPropertyBrokerService
Returns:
property factory instance

removePropertyListener

public void removePropertyListener(IPropertyListener listener,
                                   IProperty[] properties)
Description copied from interface: IPropertyBrokerService
Remove property listener for specified properties changes

Specified by:
removePropertyListener in interface IPropertyBrokerService

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011