com.sun.enterprise.config.serverbeans
Interface ResourceAdapterConfig

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.types.PropertyBag, Resource

public interface ResourceAdapterConfig
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, Resource, org.jvnet.hk2.config.types.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/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.types.PropertyBag
org.jvnet.hk2.config.types.PropertyBag.Duck
 
Method Summary
 String getName()
          Gets the value of the name property.
 List<org.jvnet.hk2.config.types.Property> getProperty()
          Properties as per PropertyBag
 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.component.Injectable
injectedInto
 
Methods inherited from interface com.sun.enterprise.config.serverbeans.Resource
getObjectType, setObjectType
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
getProperty, getPropertyValue, getPropertyValue
 

Method Detail

getName

@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 is String
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 is String
Throws:
PropertyVetoException

getResourceAdapterName

@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 is String
Throws:
PropertyVetoException

getProperty

@ToDo(priority=IMPORTANT,
      details="Provide PropertyDesc for legal props")
@PropertiesDesc(props={})
List<org.jvnet.hk2.config.types.Property> getProperty()
Properties as per PropertyBag

Specified by:
getProperty in interface org.jvnet.hk2.config.types.PropertyBag


Copyright © 2012 GlassFish Community. All Rights Reserved.