Interface IPhaseProvider
- All Superinterfaces:
IComponent
,IComponentProvider
,IInitializable
,IURIResolver
A provider that exposes the various phases
-
Field Summary
Fields inherited from interface com.webmethods.portal.system.IComponentProvider
ATTR_APP_NAME, ATTR_BEG_QUERY, ATTR_END_QUERY, ATTR_MID_QUERY, BIZPOLICY_MANAGER, CACHE_PROVIDER, COMMAND_PROVIDER, COMPONENTS_QUERY, INSTALL_PROVIDER, MECH_PROVIDER, METACONTEXT_PROVIDER, PHASE_PROVIDER, POLICY_PROVIDER, SEARCH_PROVIDER
-
Method Summary
Modifier and TypeMethodDescriptionReturns phase component by its namevoid
initializePhases
(String configLocation) This is the main api that begins all initialization...boolean
isPhaseInitialized
(String phaseName) Returns whether the phase with the given name has been initializeddefault void
Do any actions that have to be done before the async init starts in another thread.Methods inherited from interface com.webmethods.portal.system.IComponent
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
Methods inherited from interface com.webmethods.portal.system.IComponentProvider
exists, getComponent, getComponent, getComponent, getComponentQueryString, getComponents, getDefaultComponent, getLogger, initDeferredWebAppComponents, lookup, registerComponent, reloadComponent, reloadComponent, unregisterComponent, upgradeComponentDataFromBootstrapComponentData
Methods inherited from interface com.webmethods.portal.system.init.IInitializable
init, shutdown
Methods inherited from interface com.webmethods.portal.system.IURIResolver
acquireURI, acquireURI
-
Method Details
-
preInit
Do any actions that have to be done before the async init starts in another thread.- Parameters:
configLocation
- the location that holds all of the config parameters- Throws:
InitializationException
-
initializePhases
This is the main api that begins all initialization... Lots of internal bootstrapping going on here...- Parameters:
configLocation
- the location that holds all of the config parameters- Throws:
InitializationException
-
isPhaseInitialized
Returns whether the phase with the given name has been initialized- Parameters:
phaseName
- the phase name to check- Returns:
- true if the requested phase has been initialized, false otherwise
-
getPhase
Returns phase component by its name- Parameters:
phaseName
- phase name- Returns:
- IPhase component or null
-