Class ManifoldCF
- java.lang.Object
-
- org.apache.manifoldcf.core.system.ManifoldCF
-
- org.apache.manifoldcf.authorities.system.ManifoldCF
-
public class ManifoldCF extends ManifoldCF
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.manifoldcf.core.system.ManifoldCF
ManifoldCF.CachePoll, ManifoldCF.DatabaseConnectionReleaseThread, ManifoldCF.DatabaseShutdown, ManifoldCF.FileTrack, ManifoldCF.OverrideableManifoldCFConfiguration, ManifoldCF.ShutdownThread
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
authCheckThreadCountProperty
protected static AuthCheckThread[]
authCheckThreads
protected static boolean
authoritiesInitialized
protected static IdleCleanupThread
idleCleanupThread
protected static RequestQueue<MappingRequest>
mappingRequestQueue
protected static java.lang.String
mappingThreadCountProperty
protected static MappingThread[]
mappingThreads
protected static int
numAuthCheckThreads
protected static int
numMappingThreads
protected static RequestQueue<AuthRequest>
requestQueue
-
Fields inherited from class org.apache.manifoldcf.core.system.ManifoldCF
_rcsid, alreadyClosed, alreadyShutdown, applicationName, ATTRIBUTE_PATH, authImplementation, cleanupHooks, configSignalCommandProperty, databaseConnectionTrackingProperty, databaseHandleMaxcountProperty, databaseHandleTimeoutProperty, databaseImplementation, databaseQueryMaxTimeProperty, dbShutdown, fileResourcesProperty, initializeFlagLock, initializeLevel, IV_LENGTH, lcfConfigFileProperty, localConfiguration, lockManagerImplementation, logConfigFileProperty, maintenanceFileSignalProperty, masterDatabaseName, masterDatabaseNameProperty, masterDatabasePassword, masterDatabasePasswordProperty, masterDatabaseUsername, masterDatabaseUsernameProperty, mcfVersion, NODE_LIBDIR, pollingHooks, processID, processIDProperty, propertyFilelastMod, propertyFilePath, resourceLoader, saltProperty, shutdownThread, tracker, versionProperty, workingDirectory
-
-
Constructor Summary
Constructors Constructor Description ManifoldCF()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
cleanUpEnvironment(IThreadContext tc)
static void
deinstallSystemTables(IThreadContext threadcontext)
Uninstall all the authority manager system tables.static RequestQueue<MappingRequest>
getMappingRequestQueue()
Get the current mapping request queuestatic RequestQueue<AuthRequest>
getRequestQueue()
Get the current request queuestatic void
initializeEnvironment(IThreadContext tc)
Initialize environment.static void
installSystemTables(IThreadContext threadcontext)
Install all the authority manager system tables.static void
localCleanup(IThreadContext tc)
static void
localInitialize(IThreadContext tc)
static void
startSystem(IThreadContext threadContext)
Start the authority system.static void
stopSystem(IThreadContext threadContext)
Shut down the authority system.-
Methods inherited from class org.apache.manifoldcf.core.system.ManifoldCF
addFile, addPollingHook, addShutdownHook, addToHash, checkMaintenanceUnderway, checkProperties, cleanUpEnvironment, createResourceLoader, createSystemDatabase, createTempDir, decrypt, deleteFile, deleteFolder, deobfuscate, dropSystemDatabase, encrypt, ensureFolder, findClass, getBooleanProperty, getChildDatabaseName, getCipher, getCipher, getConfiguration, getDoubleProperty, getFileProperty, getHashValue, getIntProperty, getLongProperty, getMasterDatabaseName, getMasterDatabasePassword, getMasterDatabaseUsername, getMcfVersion, getProcessID, getProperty, getSaltValue, getSecureRandom, getStringProperty, hash, initializeEnvironment, isFolder, noteConfigurationChange, obfuscate, pollAll, readByte, readByteArray, readBytes, readDword, readfloat, readLong, readNibble, readSdword, readString, readWord, recursiveDelete, registerConnectorServices, resetEnvironment, resetEnvironment, resolvePath, safeFileName, sleep, startHash, systemExit, writeByte, writeByteArray, writeBytes, writeDword, writefloat, writeLong, writeNibble, writeSdword, writeString, writeWord
-
-
-
-
Field Detail
-
authoritiesInitialized
protected static boolean authoritiesInitialized
-
idleCleanupThread
protected static IdleCleanupThread idleCleanupThread
-
authCheckThreads
protected static AuthCheckThread[] authCheckThreads
-
mappingThreads
protected static MappingThread[] mappingThreads
-
numAuthCheckThreads
protected static int numAuthCheckThreads
-
numMappingThreads
protected static int numMappingThreads
-
authCheckThreadCountProperty
protected static final java.lang.String authCheckThreadCountProperty
- See Also:
- Constant Field Values
-
mappingThreadCountProperty
protected static final java.lang.String mappingThreadCountProperty
- See Also:
- Constant Field Values
-
requestQueue
protected static RequestQueue<AuthRequest> requestQueue
-
mappingRequestQueue
protected static RequestQueue<MappingRequest> mappingRequestQueue
-
-
Method Detail
-
initializeEnvironment
public static void initializeEnvironment(IThreadContext tc) throws ManifoldCFException
Initialize environment.- Throws:
ManifoldCFException
-
cleanUpEnvironment
public static void cleanUpEnvironment(IThreadContext tc)
-
localInitialize
public static void localInitialize(IThreadContext tc) throws ManifoldCFException
- Throws:
ManifoldCFException
-
localCleanup
public static void localCleanup(IThreadContext tc)
-
installSystemTables
public static void installSystemTables(IThreadContext threadcontext) throws ManifoldCFException
Install all the authority manager system tables.- Parameters:
threadcontext
- is the thread context.- Throws:
ManifoldCFException
-
deinstallSystemTables
public static void deinstallSystemTables(IThreadContext threadcontext) throws ManifoldCFException
Uninstall all the authority manager system tables.- Parameters:
threadcontext
- is the thread context.- Throws:
ManifoldCFException
-
startSystem
public static void startSystem(IThreadContext threadContext) throws ManifoldCFException
Start the authority system.- Throws:
ManifoldCFException
-
stopSystem
public static void stopSystem(IThreadContext threadContext) throws ManifoldCFException
Shut down the authority system.- Throws:
ManifoldCFException
-
getRequestQueue
public static RequestQueue<AuthRequest> getRequestQueue()
Get the current request queue
-
getMappingRequestQueue
public static RequestQueue<MappingRequest> getMappingRequestQueue()
Get the current mapping request queue
-
-