edu.internet2.middleware.grouper.misc
Class GrouperStartup

java.lang.Object
  extended by edu.internet2.middleware.grouper.misc.GrouperStartup

public class GrouperStartup
extends Object

this should be called when grouper starts up. this file needs to be utf-8


Field Summary
static boolean ignoreCheckConfig
          if we should ignore checkconfig
static boolean logErrorStatic
          if errors should be logged (perhaps in all cases except registry init)
static boolean runDdlBootstrap
          if we should run the boot strap from startup
static boolean runFromMain
          if running from main and expecting to print to the screen
static boolean started
          keep track if started or not
 
Constructor Summary
GrouperStartup()
           
 
Method Summary
static void initData(boolean logError)
          init data
static void initIncludeExcludeType()
          init the include/exclude type if configured in the grouper.properties
static void initLoaderType()
          init the loader types and attributes if configured to
static void initMembershipLiteConfigType()
          init membership lite config type
static boolean isFinishedStartupSuccessfully()
          if startup has finished sucessfully
static boolean startup()
          call this when grouper starts up
static void verifyMemberSortAndSearchConfig()
          verify that at least one search/sort column is specified for each source
static void verifyTableIdIndexes()
          verify that table id indexes
static void verifyUtf8andTransactions()
          make sure grouper can handle utf8
static void verifyUtf8andTransactionsHelper()
          make sure grouper can handle utf8
static String versionTimestamp()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

runFromMain

public static boolean runFromMain
if running from main and expecting to print to the screen


started

public static boolean started
keep track if started or not


ignoreCheckConfig

public static boolean ignoreCheckConfig
if we should ignore checkconfig


logErrorStatic

public static boolean logErrorStatic
if errors should be logged (perhaps in all cases except registry init)


runDdlBootstrap

public static boolean runDdlBootstrap
if we should run the boot strap from startup

Constructor Detail

GrouperStartup

public GrouperStartup()
Method Detail

isFinishedStartupSuccessfully

public static boolean isFinishedStartupSuccessfully()
if startup has finished sucessfully

Returns:
the finishedStartupSuccessfully

versionTimestamp

public static String 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


verifyTableIdIndexes

public static void verifyTableIdIndexes()
verify that table id indexes


initMembershipLiteConfigType

public static void initMembershipLiteConfigType()
init membership lite config type


initLoaderType

public static void initLoaderType()
init the loader types and attributes if configured to


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 -