Package org.glassfish.connectors.config
Interface ConnectorResource
-
- All Superinterfaces:
BindableResource,ConfigBeanProxy,jakarta.validation.Payload,PropertyBag,Resource,ResourcePoolReference
@ResourceConfigCreator(commandName="create-connector-resource") @ResourceTypeOrder(deploymentOrder=CONNECTOR_RESOURCE) @UniqueResourceNameConstraint(message="{resourcename.isnot.unique}", payload=ConnectorResource.class) @ReferenceConstraint(skipDuringCreation=true, payload=ConnectorResource.class) public interface ConnectorResource extends ConfigBeanProxy, Resource, PropertyBag, BindableResource, jakarta.validation.Payload, ResourcePoolReference
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classConnectorResource.Duck
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()Gets the value of the description property.StringgetEnabled()Gets the value of the enabled property.StringgetIdentity()@NotNull StringgetPoolName()Gets the value of the poolName property.List<Property>getProperty()Properties as perPropertyBagvoidsetDescription(String value)Sets the value of the description property.voidsetEnabled(String value)Sets the value of the enabled property.voidsetPoolName(String value)Sets the value of the poolName property.-
Methods inherited from interface com.sun.enterprise.config.serverbeans.BindableResource
getJndiName, setJndiName
-
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
-
getPoolName
@NotNull @RemoteKey(message="{resourceref.invalid.poolname}", type=ConnectorConnectionPool.class) @NotNull String getPoolName()
Gets the value of the poolName property.- Specified by:
getPoolNamein interfaceResourcePoolReference- Returns:
- possible object is
String
-
setPoolName
void setPoolName(String value) throws PropertyVetoException
Sets the value of the poolName property.- Specified by:
setPoolNamein interfaceResourcePoolReference- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getEnabled
String getEnabled()
Gets the value of the enabled property.- Specified by:
getEnabledin interfaceBindableResource- Returns:
- possible object is
String
-
setEnabled
void setEnabled(String value) throws PropertyVetoException
Sets the value of the enabled property.- Specified by:
setEnabledin interfaceBindableResource- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getDescription
String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
void setDescription(String value) throws PropertyVetoException
Sets the value of the description 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 interfaceBindableResource- Specified by:
getIdentityin interfaceResource
-
-