Class Rule
- java.lang.Object
-
- com.levigo.jadice.server.nodes.worker.rules.Rule
-
public class Rule extends Object
-
-
Constructor Summary
Constructors Constructor Description Rule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node[]
createPipeline()
Create the invocation pipeline for the configured nodesLoopbackInvocation
getLoopback()
String
getName()
boolean
matches(MimeType providedType)
-
-
-
Method Detail
-
getName
public String getName()
-
matches
public boolean matches(MimeType providedType)
-
createPipeline
public Node[] createPipeline() throws org.springframework.beans.BeansException, ParserConfigurationException
Create the invocation pipeline for the configured nodes- Returns:
- a tuple of the first and last
Node
s of the pipeline, i.e. the input and output node. - Throws:
ParserConfigurationException
- in case of a configuration errororg.springframework.beans.BeansException
- any errors during spring bean initialization
-
getLoopback
public LoopbackInvocation getLoopback()
-
-