Package com.ibm.wsspi.resource
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 aResourceFactory
.This interface is not intended to be implemented by clients.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.ibm.wsspi.resource.ResourceInfo
ResourceInfo.Property
-
-
Field Summary
-
Fields inherited from interface com.ibm.wsspi.resource.ResourceInfo
AUTH_APPLICATION, AUTH_CONTAINER, BRANCH_COUPLING_LOOSE, BRANCH_COUPLING_TIGHT, BRANCH_COUPLING_UNSET, SHARING_SCOPE_SHAREABLE, SHARING_SCOPE_UNSHAREABLE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addLoginProperty(java.lang.String name, java.lang.String value)
Returns the non-null list of login properties.void
setBranchCoupling(int branchCoupling)
Sets the branch coupling.void
setCommitPriority(int commitPriority)
Sets the commit priority.void
setDescription(java.lang.String description)
Sets the description.void
setIsolationLevel(int isolationLevel)
Sets the isolation level.void
setLoginConfigurationName(java.lang.String name)
Sets the login configuration name.void
setResAuthType(int auth)
Sets the authentication type.void
setSharingScope(int sharingScope)
Sets the sharing scope.void
setType(java.lang.String className)
Sets the type class name.-
Methods inherited from interface com.ibm.wsspi.resource.ResourceInfo
getAuth, getBranchCoupling, getCommitPriority, getDescription, getIsolationLevel, getLoginConfigurationName, getLoginPropertyList, getName, getSharingScope, getType
-
-
-
-
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.
-
-