com.caucho.config.core
Class ResinChoose

java.lang.Object
  extended by com.caucho.config.core.ResinControl
      extended by com.caucho.config.core.ResinChoose
All Implemented Interfaces:
EnvBean, FlowBean

public class ResinChoose
extends ResinControl
implements FlowBean

Executes code when an expression is valid.


Constructor Summary
ResinChoose()
           
 
Method Summary
 void addWhen(ResinWhen when)
          Adds a new when clause.
 void init()
           
 void setOtherwise(ResinWhen when)
          Adds the otherwise clause.
 
Methods inherited from class com.caucho.config.core.ResinControl
getObject, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResinChoose

public ResinChoose()
Method Detail

addWhen

public void addWhen(ResinWhen when)
Adds a new when clause.


setOtherwise

public void setOtherwise(ResinWhen when)
Adds the otherwise clause.


init

@PostConstruct
public void init()
          throws java.lang.Throwable
Throws:
java.lang.Throwable