com.sun.enterprise.config.serverbeans
Interface ResourceRef
- All Superinterfaces:
- org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable
public interface ResourceRef
- extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable
| Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy |
org.jvnet.hk2.config.ConfigBeanProxy.Duck |
|
Method Summary |
java.lang.String |
getEnabled()
Determines whether the resource is active or ignored. |
java.lang.String |
getRef()
References the name attribute of a resources, such as an JdbcResource or JdbcConnectionPool. |
void |
setEnabled(java.lang.String value)
Sets the value of the enabled property. |
void |
setRef(java.lang.String value)
Sets the value of the ref property. |
| Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy |
createChild, deepCopy, getParent, getParent |
| Methods inherited from interface org.jvnet.hk2.component.Injectable |
injectedInto |
getEnabled
java.lang.String getEnabled()
- Determines whether the resource is active or ignored.
- Returns:
- possible object is
String
setEnabled
void setEnabled(java.lang.String value)
throws java.beans.PropertyVetoException
- Sets the value of the enabled property.
- Parameters:
value - allowed object is
String
- Throws:
java.beans.PropertyVetoException
getRef
@NotNull
@Pattern(regexp="[^\':,][^\':,]*")
java.lang.String getRef()
- References the name attribute of a resources, such as an
JdbcResource or JdbcConnectionPool.
- Returns:
- possible object is
String
setRef
void setRef(java.lang.String value)
throws java.beans.PropertyVetoException
- Sets the value of the ref property.
- Parameters:
value - allowed object is
String
- Throws:
java.beans.PropertyVetoException
Copyright © 2012 GlassFish Community. All Rights Reserved.