Interface JdbcResource

All Superinterfaces:
com.sun.enterprise.config.serverbeans.BindableResource, org.jvnet.hk2.config.ConfigBeanProxy, jakarta.validation.Payload, org.jvnet.hk2.config.types.PropertyBag, com.sun.enterprise.config.serverbeans.Resource, com.sun.enterprise.config.serverbeans.ResourcePoolReference

@ResourceConfigCreator(commandName="create-jdbc-resource") @ResourceTypeOrder(deploymentOrder=JDBC_RESOURCE) @ReferenceConstraint(skipDuringCreation=true, payload=JdbcResource.class) @UniqueResourceNameConstraint(message="{resourcename.isnot.unique}", payload=JdbcResource.class) public interface JdbcResource extends org.jvnet.hk2.config.ConfigBeanProxy, com.sun.enterprise.config.serverbeans.Resource, org.jvnet.hk2.config.types.PropertyBag, com.sun.enterprise.config.serverbeans.BindableResource, jakarta.validation.Payload, com.sun.enterprise.config.serverbeans.ResourcePoolReference
JDBC javax.sql.(XA)DataSource resource definition
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from interface com.sun.enterprise.config.serverbeans.BindableResource

    PATTERN_JNDI

    Fields inherited from interface com.sun.enterprise.config.serverbeans.Resource

    OBJECT_TYPES
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the value of the description property.
    Gets the value of the enabled property.
     
    @NotNull String
    Gets the value of the poolName property.
    List<org.jvnet.hk2.config.types.Property>
    Properties as per PropertyBag
    void
    Sets the value of the description property.
    void
    Sets the value of the enabled 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

    Methods inherited from interface com.sun.enterprise.config.serverbeans.ResourcePoolReference

    setPoolName
  • Field Details

  • Method Details

    • getPoolName

      @NotNull @RemoteKey(message="{resourceref.invalid.poolname}", type=JdbcConnectionPool.class) @NotNull String getPoolName()
      Gets the value of the poolName property.
      Specified by:
      getPoolName in interface com.sun.enterprise.config.serverbeans.ResourcePoolReference
      Returns:
      possible object is String
    • getEnabled

      String getEnabled()
      Gets the value of the enabled property.
      Specified by:
      getEnabled in interface com.sun.enterprise.config.serverbeans.BindableResource
      Returns:
      possible object is String
    • setEnabled

      void setEnabled(String value) throws PropertyVetoException
      Sets the value of the enabled property.
      Specified by:
      setEnabled in interface com.sun.enterprise.config.serverbeans.BindableResource
      Parameters:
      value - allowed object is String
      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 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
    • getIdentity

      @DuckTyped String getIdentity()
      Specified by:
      getIdentity in interface com.sun.enterprise.config.serverbeans.BindableResource
      Specified by:
      getIdentity in interface com.sun.enterprise.config.serverbeans.Resource