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 class
ResourceAdapterConfig.Duck
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getIdentity()
@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*") String
getName()
Gets the value of the name property.List<Property>
getProperty()
Properties as perPropertyBag
@Pattern(regexp="[^\',][^\',\\\\]*") String
getResourceAdapterName()
Gets the value of the resourceAdapterName property.String
getThreadPoolIds()
Gets the value of the threadPoolIds property.void
setName(String value)
Sets the value of the name property.void
setResourceAdapterName(String value)
Sets the value of the resourceAdapterName property.void
setThreadPoolIds(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:
getProperty
in interfacePropertyBag
- Returns:
- the property list
-
getIdentity
@DuckTyped String getIdentity()
- Specified by:
getIdentity
in interfaceResource
-
-