Class LockManagerFactory
- java.lang.Object
-
- org.apache.manifoldcf.core.interfaces.LockManagerFactory
-
public class LockManagerFactory extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_rcsid
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleangetBooleanProperty(IThreadContext tc, java.lang.String s, boolean defaultValue)static doublegetDoubleProperty(IThreadContext tc, java.lang.String s, double defaultValue)static intgetIntProperty(IThreadContext tc, java.lang.String s, int defaultValue)static longgetLongProperty(IThreadContext tc, java.lang.String s, long defaultValue)static java.lang.StringgetPossiblyObfuscatedStringProperty(IThreadContext tc, java.lang.String s, java.lang.String defaultValue)static java.lang.StringgetProperty(IThreadContext tc, java.lang.String s)static java.lang.StringgetStringProperty(IThreadContext tc, java.lang.String s, java.lang.String defaultValue)static ILockManagermake(IThreadContext context)Instantiate a lock manager.
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
-
Method Detail
-
make
public static ILockManager make(IThreadContext context) throws ManifoldCFException
Instantiate a lock manager. This should be thread specific (so that locks can nest properly in the same thread).- Throws:
ManifoldCFException
-
getProperty
public static java.lang.String getProperty(IThreadContext tc, java.lang.String s) throws ManifoldCFException
- Throws:
ManifoldCFException
-
getStringProperty
public static java.lang.String getStringProperty(IThreadContext tc, java.lang.String s, java.lang.String defaultValue) throws ManifoldCFException
- Throws:
ManifoldCFException
-
getPossiblyObfuscatedStringProperty
public static java.lang.String getPossiblyObfuscatedStringProperty(IThreadContext tc, java.lang.String s, java.lang.String defaultValue) throws ManifoldCFException
- Throws:
ManifoldCFException
-
getIntProperty
public static int getIntProperty(IThreadContext tc, java.lang.String s, int defaultValue) throws ManifoldCFException
- Throws:
ManifoldCFException
-
getLongProperty
public static long getLongProperty(IThreadContext tc, java.lang.String s, long defaultValue) throws ManifoldCFException
- Throws:
ManifoldCFException
-
getDoubleProperty
public static double getDoubleProperty(IThreadContext tc, java.lang.String s, double defaultValue) throws ManifoldCFException
- Throws:
ManifoldCFException
-
getBooleanProperty
public static boolean getBooleanProperty(IThreadContext tc, java.lang.String s, boolean defaultValue) throws ManifoldCFException
- Throws:
ManifoldCFException
-
-