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 class
ConnectorResource.Duck
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDescription()
Gets the value of the description property.String
getEnabled()
Gets the value of the enabled property.String
getIdentity()
@NotNull String
getPoolName()
Gets the value of the poolName property.List<Property>
getProperty()
Properties as perPropertyBag
void
setDescription(String value)
Sets the value of the description property.void
setEnabled(String value)
Sets the value of the enabled property.void
setPoolName(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:
getPoolName
in interfaceResourcePoolReference
- Returns:
- possible object is
String
-
setPoolName
void setPoolName(String value) throws PropertyVetoException
Sets the value of the poolName property.- Specified by:
setPoolName
in interfaceResourcePoolReference
- Parameters:
value
- allowed object isString
- Throws:
PropertyVetoException
-
getEnabled
String getEnabled()
Gets the value of the enabled property.- Specified by:
getEnabled
in interfaceBindableResource
- Returns:
- possible object is
String
-
setEnabled
void setEnabled(String value) throws PropertyVetoException
Sets the value of the enabled property.- Specified by:
setEnabled
in 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:
getProperty
in interfacePropertyBag
- Returns:
- the property list
-
getIdentity
@DuckTyped String getIdentity()
- Specified by:
getIdentity
in interfaceBindableResource
- Specified by:
getIdentity
in interfaceResource
-
-