Interface ResourceRef
-
- All Superinterfaces:
ConfigBeanProxy
public interface ResourceRef extends ConfigBeanProxy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
ConfigBeanProxy.Duck
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getEnabled()
Determines whether the resource is active or ignored.@NotNull @Pattern(regexp="[^\':,][^\':,]*") String
getRef()
References the name attribute of a resources, such as anorg.glassfish.connectors.config.JdbcResource
ororg.glassfish.connectors.config.JdbcConnectionPool
.void
setEnabled(String value)
Sets the value of the enabled property.void
setRef(String value)
Sets the value of the ref property.-
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
-
-
-
Method Detail
-
getEnabled
String getEnabled()
Determines whether the resource is active or ignored.- Returns:
- possible object is
String
-
setEnabled
void setEnabled(String value) throws PropertyVetoException
Sets the value of the enabled property.- Parameters:
value
- allowed object isString
- Throws:
PropertyVetoException
-
getRef
@NotNull @Pattern(regexp="[^\':,][^\':,]*") @NotNull @Pattern(regexp="[^\':,][^\':,]*") String getRef()
References the name attribute of a resources, such as anorg.glassfish.connectors.config.JdbcResource
ororg.glassfish.connectors.config.JdbcConnectionPool
.- Returns:
- possible object is
String
-
setRef
void setRef(String value) throws PropertyVetoException
Sets the value of the ref property.- Parameters:
value
- allowed object isString
- Throws:
PropertyVetoException
-
-