Obtain a locking policy for use in openContainer(). The mode and isolation must be constants from LockingPolicy. If higherOK is true then the object returned may implement a stricter form of locking than the one requested. A null LockingPolicy reference is identical to a LockingPolicy obtained by using MODE_NONE which is guaranteed to exist.
@param mode A constant of the form LockingPolicy.MODE_
@param isolation A constant of the form LockingPolicy.ISOLATION_
@param stricterOk True if a stricter level of locking is acceptable, false if an exact match is required.
@return A object that can be used in an openContainer call, null if a matching policy cannot be found.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.