Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.wymiwyg.mies.server.impl
Class ModelSectionListenerMultiplexer  view ModelSectionListenerMultiplexer download ModelSectionListenerMultiplexer.java

java.lang.Object
  extended byorg.wymiwyg.mies.server.impl.ModelSectionListenerMultiplexer

public class ModelSectionListenerMultiplexer
extends java.lang.Object

This class return an arbitrary number of ModelSectionListener, all additions are passed to the ModelSectionListner "base" with which the class has been constructed. The finish method of base is called only when the finished method of this class and of every ModelSectionListener generated by this class has been called.


Field Summary
private  org.wymiwyg.mies.server.ModelSectionListener base
           
private  boolean finished
           
private  java.util.ArrayList generatedListeners
           
 
Constructor Summary
ModelSectionListenerMultiplexer(org.wymiwyg.mies.server.ModelSectionListener base)
           
 
Method Summary
 void finished()
           
 org.wymiwyg.mies.server.ModelSectionListener get()
          after the finished method has been called this method throws a RuntimeException
(package private)  void notifyFinished(MultiplexedSectionListener listener)
          this method is called by the generated MuliplexedModelSectionListers when their finished method is called
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

base

private org.wymiwyg.mies.server.ModelSectionListener base

finished

private boolean finished

generatedListeners

private java.util.ArrayList generatedListeners
Constructor Detail

ModelSectionListenerMultiplexer

public ModelSectionListenerMultiplexer(org.wymiwyg.mies.server.ModelSectionListener base)
Method Detail

get

public org.wymiwyg.mies.server.ModelSectionListener get()
after the finished method has been called this method throws a RuntimeException


finished

public void finished()

notifyFinished

void notifyFinished(MultiplexedSectionListener listener)
this method is called by the generated MuliplexedModelSectionListers when their finished method is called