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.StringauthCheckThreadCountPropertyprotected static AuthCheckThread[]authCheckThreadsprotected static booleanauthoritiesInitializedprotected static IdleCleanupThreadidleCleanupThreadprotected static RequestQueue<MappingRequest>mappingRequestQueueprotected static java.lang.StringmappingThreadCountPropertyprotected static MappingThread[]mappingThreadsprotected static intnumAuthCheckThreadsprotected static intnumMappingThreadsprotected 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 voidcleanUpEnvironment(IThreadContext tc)static voiddeinstallSystemTables(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 voidinitializeEnvironment(IThreadContext tc)Initialize environment.static voidinstallSystemTables(IThreadContext threadcontext)Install all the authority manager system tables.static voidlocalCleanup(IThreadContext tc)static voidlocalInitialize(IThreadContext tc)static voidstartSystem(IThreadContext threadContext)Start the authority system.static voidstopSystem(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
-
-