Package org.glassfish.connectors.config
Interface ConnectorService
-
- All Superinterfaces:
ConfigBeanProxy,ConfigExtension,Container,PropertyBag
public interface ConnectorService extends ConfigExtension, ConfigBeanProxy, PropertyBag
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
ConfigBeanProxy.Duck
-
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.types.PropertyBag
PropertyBag.Duck
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetClassLoadingPolicy()Gets the value of the connector-classloading-policy.
Valid values are derived or global
derived indicates that the resource-adapters are provided according the the references of resource-adapters in application's deployment-descriptors
global indicates that all resource-adapters will be visible to all applications.List<Property>getProperty()Properties as perPropertyBagProperties are used to override the ManagedConnectionFactory javabean configuration settings.@Min(1L) StringgetShutdownTimeoutInSeconds()Gets the value of the shutdownTimeoutInSeconds property.voidsetClassLoadingPolicy(String value)Sets the value of the connector-classloading-policy.
Valid values are derived or global
derived indicates that the resource-adapters are provided according the the references of resource-adapters in application's deployment-descriptors
global indicates that all resource-adapters will be visible to all applications.voidsetShutdownTimeoutInSeconds(String value)Sets the value of the shutdownTimeoutInSeconds 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
-
-
-
-
Method Detail
-
getShutdownTimeoutInSeconds
@Min(1L) @Min(1L) String getShutdownTimeoutInSeconds()
Gets the value of the shutdownTimeoutInSeconds property.- Returns:
- possible object is
String
-
setShutdownTimeoutInSeconds
void setShutdownTimeoutInSeconds(String value) throws PropertyVetoException
Sets the value of the shutdownTimeoutInSeconds property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getClassLoadingPolicy
String getClassLoadingPolicy()
Gets the value of the connector-classloading-policy.
Valid values are derived or global
derived indicates that the resource-adapters are provided according the the references of resource-adapters in application's deployment-descriptors
global indicates that all resource-adapters will be visible to all applications.- Returns:
- possible object is
String
-
setClassLoadingPolicy
void setClassLoadingPolicy(String value) throws PropertyVetoException
Sets the value of the connector-classloading-policy.
Valid values are derived or global
derived indicates that the resource-adapters are provided according the the references of resource-adapters in application's deployment-descriptors
global indicates that all resource-adapters will be visible to all applications.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getProperty
@PropertiesDesc(props={}) List<Property> getProperty()
Properties as perPropertyBagProperties are used to override the ManagedConnectionFactory javabean configuration settings. When one or more of these properties are specified, they are passed as is using set( ) methods to the Resource Adapter's ManagedConnectionfactory class (specified in ra.xml). - Specified by:
getPropertyin interfacePropertyBag- Returns:
- the property list
-
-