public interface RelationSpi
Relation
helpers.
The implementations are loaded by the java's ServiceLoader
.Modifier and Type | Method and Description |
---|---|
boolean |
compatibleWith(Relation relation)
Whether the SPI is compatible with the passed relation.
|
void |
init(Relation relation)
Invoked by Celerio, when this RelationSpi is binded on a
Relation instance. |
String |
velocityVar()
The var name under which this RelationSpi is available during template evaluation.
|
boolean compatibleWith(Relation relation)
void init(Relation relation)
Relation
instance.String velocityVar()
velocityVar()
methods returns myextension
, the corresponding RelationSpi implementation instance is given by
$relation.myextension
.Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.