com.ibm.wsspi.resource

Interface ResourceConfig

All Superinterfaces:
ResourceInfo

  1. public interface ResourceConfig
  2. 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.


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

Modifier and Type Method and Description
  1. void
addLoginProperty(java.lang.String name,java.lang.String value)
Returns the non-null list of login properties.
  1. void
setBranchCoupling(int branchCoupling)
Sets the branch coupling.
  1. void
setCommitPriority(int commitPriority)
Sets the commit priority.
  1. void
setDescription(java.lang.String description)
Sets the description.
  1. void
setIsolationLevel(int isolationLevel)
Sets the isolation level.
  1. void
setLoginConfigurationName(java.lang.String name)
Sets the login configuration name.
  1. void
setResAuthType(int auth)
Sets the authentication type.
  1. void
setSharingScope(int sharingScope)
Sets the sharing scope.
  1. 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

  1. void setDescription(java.lang.String description)
Sets the description.
Parameters:
description - the description
See Also:

setType

  1. void setType(java.lang.String className)
Sets the type class name.
Parameters:
className - the class name
See Also:

setResAuthType

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

setSharingScope

  1. void setSharingScope(int sharingScope)
Sets the sharing scope.
Parameters:
sharingScope - the sharing scope
See Also:

setLoginConfigurationName

  1. void setLoginConfigurationName( java.lang.String name)
Sets the login configuration name.

addLoginProperty

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

setIsolationLevel

  1. void setIsolationLevel(int isolationLevel)
Sets the isolation level.

setCommitPriority

  1. void setCommitPriority(int commitPriority)
Sets the commit priority.

setBranchCoupling

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