public class BindingSpecification extends org.apache.hivemind.impl.BaseLocatable implements IBindingSpecification
Constructor and Description |
---|
BindingSpecification() |
Modifier and Type | Method and Description |
---|---|
BindingType |
getType()
Returns the type of binding specification; this is generally
BindingType.PREFIXED . |
java.lang.String |
getValue()
For a prefixed binding specification (the typical type), the value is a binding reference; a
string used to contruct the actual binding, and consists of a prefix (such as "ognl:" or
"message:") and a locator.
|
void |
setType(BindingType type) |
void |
setValue(java.lang.String value) |
public BindingSpecification()
public BindingType getType()
IBindingSpecification
BindingType.PREFIXED
.getType
in interface IBindingSpecification
public java.lang.String getValue()
IBindingSpecification
BindingFactory
, and the locator is passed to the
factory, which uses it to construct the IBinding
instance.getValue
in interface IBindingSpecification
public void setType(BindingType type)
setType
in interface IBindingSpecification
public void setValue(java.lang.String value)
setValue
in interface IBindingSpecification