Interface ResourceConfig

  • All Superinterfaces:
    ResourceInfo

    public interface ResourceConfig
    extends ResourceInfo
    Mutable configuration for a resource. The configuration should not be mutated after it is passed to a ResourceFactory.

    This interface is not intended to be implemented by clients.

    • Method Detail

      • setDescription

        void setDescription​(java.lang.String description)
        Sets the description.
        Parameters:
        description - the description
        See Also:
        ResourceInfo.getDescription()
      • setType

        void setType​(java.lang.String className)
        Sets the type class name.
        Parameters:
        className - the class name
        See Also:
        ResourceInfo.getType()
      • setResAuthType

        void setResAuthType​(int auth)
        Sets the authentication type.
        Parameters:
        auth - the authentication type
        See Also:
        #getResAuthType
      • setSharingScope

        void setSharingScope​(int sharingScope)
        Sets the sharing scope.
        Parameters:
        sharingScope - the sharing scope
        See Also:
        ResourceInfo.getSharingScope()
      • setLoginConfigurationName

        void setLoginConfigurationName​(java.lang.String name)
        Sets the login configuration name.
      • addLoginProperty

        void addLoginProperty​(java.lang.String name,
                              java.lang.String value)
        Returns the non-null list of login properties.
      • setIsolationLevel

        void setIsolationLevel​(int isolationLevel)
        Sets the isolation level.
      • setCommitPriority

        void setCommitPriority​(int commitPriority)
        Sets the commit priority.
      • setBranchCoupling

        void setBranchCoupling​(int branchCoupling)
        Sets the branch coupling.