Interface ResourcePropertySet


  • public interface ResourcePropertySet
    Gathers all resource properties valid for all types of containers.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String PARAMETERS
      Parameters passed to the implementation class.
      static String RESOURCE
      A property to encapsulate all the other resource properties.
      static String RESOURCE_CLASS
      The class name of the Resource implementation class.
      static String RESOURCE_ID
      Unique id to use in configuration files.
      static String RESOURCE_NAME
      The JNDI location that this datasource should be bound do (in the config file).
      static String RESOURCE_TYPE
      The type of the resource (ex.
    • Field Detail

      • RESOURCE

        static final String RESOURCE
        A property to encapsulate all the other resource properties. This is to get around cargo only passing strings around, instead of objects.
        Important: Please only use this as a setter, as the resources can also be set using the addResource method.
        See Also:
        LocalConfiguration.getResources(), Constant Field Values
      • RESOURCE_NAME

        static final String RESOURCE_NAME
        The JNDI location that this datasource should be bound do (in the config file). Note that many application servers may prepend a context (typically java:comp/env) to this context.
        See Also:
        Constant Field Values
      • RESOURCE_TYPE

        static final String RESOURCE_TYPE
        The type of the resource (ex. javax.sql.XADataSource, javax.sql.ConnectionPoolDataSource, etc..
        See Also:
        Constant Field Values
      • RESOURCE_CLASS

        static final String RESOURCE_CLASS
        The class name of the Resource implementation class. Example: org.apache.derby.jdbc.EmbeddedXADataSource.
        See Also:
        Constant Field Values