Package org.glassfish.connectors.config
Interface ResourceAdapterConfig
-
- All Superinterfaces:
ConfigBeanProxy,PropertyBag,Resource
@ResourceTypeOrder(deploymentOrder=RESOURCEADAPTERCONFIG_RESOURCE) public interface ResourceAdapterConfig extends ConfigBeanProxy, Resource, PropertyBag
This element is for configuring the resource adapter. These values (properties) over-rides the default values present in ra.xml. The name attribute has to be unique . It is optional for PE. It is used mainly for EE.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classResourceAdapterConfig.Duck
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetIdentity()@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*") StringgetName()Gets the value of the name property.List<Property>getProperty()Properties as perPropertyBag@Pattern(regexp="[^\',][^\',\\\\]*") StringgetResourceAdapterName()Gets the value of the resourceAdapterName property.StringgetThreadPoolIds()Gets the value of the threadPoolIds property.voidsetName(String value)Sets the value of the name property.voidsetResourceAdapterName(String value)Sets the value of the resourceAdapterName property.voidsetThreadPoolIds(String value)Sets the value of the threadPoolIds property.-
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
Methods inherited from interface com.sun.enterprise.config.serverbeans.Resource
getDeploymentOrder, getObjectType, setDeploymentOrder, setObjectType
-
-
-
-
Method Detail
-
getName
@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*") @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*") String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
void setName(String value) throws PropertyVetoException
Sets the value of the name property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getThreadPoolIds
String getThreadPoolIds()
Gets the value of the threadPoolIds property.- Returns:
- possible object is
String
-
setThreadPoolIds
void setThreadPoolIds(String value) throws PropertyVetoException
Sets the value of the threadPoolIds property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getResourceAdapterName
@Pattern(regexp="[^\',][^\',\\\\]*") @Pattern(regexp="[^\',][^\',\\\\]*") String getResourceAdapterName()
Gets the value of the resourceAdapterName property.- Returns:
- possible object is
String
-
setResourceAdapterName
void setResourceAdapterName(String value) throws PropertyVetoException
Sets the value of the resourceAdapterName property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getProperty
@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<Property> getProperty()
Properties as perPropertyBag- Specified by:
getPropertyin interfacePropertyBag- Returns:
- the property list
-
getIdentity
@DuckTyped String getIdentity()
- Specified by:
getIdentityin interfaceResource
-
-