Package com.webmethods.portal.framework
Interface IHandler
- All Superinterfaces:
IComponent
,IInitializable
,ISystemHandler
- All Known Subinterfaces:
IAuthHandler
,IDispatchHandler
,IDispatchPostProcessor
,IDispatchPreProcessor
,IDispatchRedirectProcessor
,IDispatchResolver
,IPresentationHandler
,IPresentationHook
,IPropertyEditor
,IRenderer
,ISessionHandler
,ISessionHook
- All Known Implementing Classes:
Handler
The IHandler is a simplistic interface to ease initialization actions.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.getName()
Deprecated.instead useIComponent.getComponentName()
void
initialize
(IManager manager, Element configElem, String name) Deprecated.should only be called internallyvoid
This allows various managers and handlers get references to each othervoid
shutdown()
Deprecated.ovveridesIInitializable.shutdown()
Methods inherited from interface com.webmethods.portal.system.IComponent
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
Methods inherited from interface com.webmethods.portal.system.init.IInitializable
init
-
Method Details
-
initialize
Deprecated.should only be called internallyinitialize this handler- Parameters:
manager
- is the manager for this particular handlerconfigElem
- is the configuration element for this handler- Throws:
FrameworkInitException
-
postInitialize
This allows various managers and handlers get references to each other- Throws:
InitializationException
-
shutdown
void shutdown()Deprecated.ovveridesIInitializable.shutdown()
shutdown the handler- Specified by:
shutdown
in interfaceIInitializable
- See Also:
-
getConfigElem
Element getConfigElem()Deprecated.instead useIComponent.getComponentData()
Gets the config element for this handler -
getName
String getName()Deprecated.instead useIComponent.getComponentName()
returns this IHandler's name -
getPerfToken
Object getPerfToken()- See Also:
-
PerfUtil
-
getHandlerBean
- Returns:
- IHandlerBean for this Handler if valid, NULL otherwise
- Throws:
FrameworkException
-
IComponent.getComponentData()