| |
|
| java.lang.Object org.jboss.naming.JNDIBinding
JNDIBinding | public class JNDIBinding (Code) | | A representation of a binding into JNDI.
author: Scott.Stark@jboss.org version: $Revision: 57209 $ |
getEditor | public String getEditor()(Code) | | The optional PropertyEditor implementation class name.
|
getName | public String getName()(Code) | | The JNDI name to bind under
|
getText | public String getText()(Code) | | The text representation of the binding
|
getType | public String getType()(Code) | | The optional type the text representation should be converted to.
|
getValue | public Object getValue() throws Exception(Code) | | Object the binding value. If there is a binding from an external xml
fragment it will be whatever that was. If there is a type it will be the
value as obtained by converting the text of the value element to an object
using the type PropertyEditor. If there is an explicit PropertyEditor
given by the editor attribute that will be used to convert the text into
an object.
the value binding throws: Exception - - on failure to load/use the PropertyEditor |
isTrim | public boolean isTrim()(Code) | | flag indicating if the text should be trimmed |
setEditor | public void setEditor(String editor)(Code) | | Parameters: editor - - the optional PropertyEditor implementation class name. |
setText | public void setText(String text)(Code) | | Set the text representation of the binding. If the replace attribute
is true, the text will be searched for system property references of the
form ${x}.
Parameters: text - |
setTrim | public void setTrim(boolean trim)(Code) | | Parameters: trim - - flag indicating if the text should be trimmed |
setType | public void setType(String type)(Code) | | Parameters: type - - type the text representation should be converted to. |
setValue | public void setValue(Object value)(Code) | | Set the raw value binding
Parameters: value - |
|
|
|