Packageorg.spicefactory.parsley.core.binding
Interfacepublic interface BindingManager
Implementors DefaultBindingManager

The central manager of the decoupled binding facility. Each scope will get its own instance.

The publishers and subscribers added to this manager may optionally implement both the Publisher and Subscriber interface. You only have to invoke addSubscriber or addPublisher once in this case, the other interface will automatically be detected.



Public Methods
 MethodDefined By
  
addPublisher(publisher:Publisher):void
Adds a publisher to this manager.
BindingManager
  
addSubscriber(subscriber:Subscriber):void
Adds a subscriber to this manager.
BindingManager
  
removePublisher(publisher:Publisher):void
Removes a publisher from this manager.
BindingManager
  
removeSubscriber(subscriber:Subscriber):void
Removes a subscriber from this manager.
BindingManager
Method Detail
addPublisher()method
public function addPublisher(publisher:Publisher):void

Adds a publisher to this manager.

Parameters

publisher:Publisher — the publisher to add

addSubscriber()method 
public function addSubscriber(subscriber:Subscriber):void

Adds a subscriber to this manager.

Parameters

subscriber:Subscriber — the subscriber to add

removePublisher()method 
public function removePublisher(publisher:Publisher):void

Removes a publisher from this manager.

Parameters

publisher:Publisher — the publisher to remove

removeSubscriber()method 
public function removeSubscriber(subscriber:Subscriber):void

Removes a subscriber from this manager.

Parameters

subscriber:Subscriber — the subscriber to remove