Class GrouperStartup
java.lang.Object
edu.internet2.middleware.grouper.misc.GrouperStartup
this should be called when grouper starts up. this file needs to be utf-8
-
Field Summary
Modifier and TypeFieldDescriptionstatic boolean
if we should ignore checkconfigstatic boolean
if errors should be logged (perhaps in all cases except registry init)static boolean
if we should run the boot strap from startupstatic boolean
if running from main and expecting to print to the screenstatic boolean
keep track if started or not -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
initData
(boolean logError) init datastatic void
init the include/exclude type if configured in the grouper.propertiesstatic void
init membership lite config typestatic boolean
if startup has finished sucessfullystatic void
static boolean
startup()
call this when grouper starts upstatic void
verify that at least one search/sort column is specified for each sourcestatic void
make sure grouper can handle utf8static void
make sure grouper can handle utf8static String
static void
-
Field Details
-
runFromMain
public static boolean runFromMainif running from main and expecting to print to the screen -
started
public static boolean startedkeep track if started or not -
ignoreCheckConfig
public static boolean ignoreCheckConfigif we should ignore checkconfig -
logErrorStatic
public static boolean logErrorStaticif errors should be logged (perhaps in all cases except registry init) -
runDdlBootstrap
public static boolean runDdlBootstrapif we should run the boot strap from startup
-
-
Constructor Details
-
GrouperStartup
public GrouperStartup()
-
-
Method Details
-
waitForGrouperStartup
public static void waitForGrouperStartup() -
main
- Parameters:
args
-
-
isFinishedStartupSuccessfully
public static boolean isFinishedStartupSuccessfully()if startup has finished sucessfully- Returns:
- the finishedStartupSuccessfully
-
versionTimestamp
- Returns:
- version timestamp
-
startup
public static boolean startup()call this when grouper starts up- Returns:
- false if already started, true if this started it
-
verifyUtf8andTransactions
public static void verifyUtf8andTransactions()make sure grouper can handle utf8 -
verifyUtf8andTransactionsHelper
public static void verifyUtf8andTransactionsHelper()make sure grouper can handle utf8 -
verifyMemberSortAndSearchConfig
public static void verifyMemberSortAndSearchConfig()verify that at least one search/sort column is specified for each source -
initMembershipLiteConfigType
public static void initMembershipLiteConfigType()init membership lite config type -
initIncludeExcludeType
public static void initIncludeExcludeType()init the include/exclude type if configured in the grouper.properties -
initData
public static void initData(boolean logError) init data- Parameters:
logError
-
-