public class OnAPIStart
extends java.lang.Object
when the DTSContainer is created, the database associated is opened and actions are executed before
Modifier and Type | Class and Description |
---|---|
static class |
OnAPIStart.ActionCode
All actions that can be stored into the database
OnAPIStart.ActionCode.RENAME
. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IGNOREALLREQUESTS
If this property is set to "true" this catalog will be disabled and no requests about the StaticCatalog
file will be ever sent.
|
Modifier and Type | Method and Description |
---|---|
void |
addAction(OnAPIStart.ActionCode action,
java.lang.Object... params)
This is the entry point to add an action to be executed at API initialization.
|
static OnAPIStart |
getInstance()
Gets the single instance of OnAPIStart.
|
void |
runPendingActions()
When the DTSContainer is created this method is called.
|
public static java.lang.String IGNOREALLREQUESTS
public static OnAPIStart getInstance()
public void addAction(OnAPIStart.ActionCode action, java.lang.Object... params)
This method checks if the service is enabled and only if the service is enabled the action is written to the database
action
- the action code form the OnAPIStart.ActionCode
enumerationparams
- action parameterspublic void runPendingActions()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa