Class DataSourceProviderImpl

    • Field Detail

      • PARAM_CHECK_TX

        protected static final String PARAM_CHECK_TX
        The name of the parameter to know if the tx has to be checked or not.
        See Also:
        Constant Field Values
      • PARAM_ALWAYS_MANAGED

        protected static final String PARAM_ALWAYS_MANAGED
        The name of the parameter to know if the data sources are always managed.
        See Also:
        Constant Field Values
      • PARAM_MANAGED_DS

        protected static final String PARAM_MANAGED_DS
        The name of the parameter of all the managed data sources.
        See Also:
        Constant Field Values
      • checkIfTxActive

        protected boolean checkIfTxActive
        Indicates if the data source needs to check if a tx is active to decide if the provided connection needs to be managed or not. If it is set to false, the data source will provide only managed connections if the data source itself is managed.
      • alwaysManaged

        protected boolean alwaysManaged
        Indicates that all the data sources are managed
      • managedDS

        protected final Set<String> managedDS
        A set of all the data sources that are managed
    • Constructor Detail

      • DataSourceProviderImpl

        public DataSourceProviderImpl​(org.exoplatform.container.xml.InitParams params)
        The default constructor
      • DataSourceProviderImpl

        public DataSourceProviderImpl​(org.exoplatform.container.xml.InitParams params,
                                      TransactionService tService)
        The default constructor