Package com.webmethods.portal.framework
Class Handler
java.lang.Object
com.webmethods.portal.system.BaseComponent
com.webmethods.portal.framework.Handler
- All Implemented Interfaces:
IHandler
,IComponent
,IConstants
,IInitializable
,ISystemHandler
Base implementation of IHandler
-
Field Summary
FieldsFields inherited from class com.webmethods.portal.system.BaseComponent
m_componentData, m_componentProvider, m_isInitialized, m_uri
Fields inherited from interface com.webmethods.portal.system.IConstants
ALL_CRITERIA, CATEGORY_TAG, CLASS, COMPONENT_TAG, COMPONENTS_TAG, CONFIG, CONFIG_FILE, CONFIG_TAG, CRITERION, DATACHANNEL_NONE, DEFAULT, DEFAULT_JAVA_HEAP_SIZE, DELIV_METHOD, DESCRIPTION, EMPTY_STRING, ENABLED, FALSE, FOLDER_TYPE, FORWARD_SLASH, FRAMEWORK_ACCESS_MODEL, FRAMEWORK_DEV_MODE, FRAMEWORK_EDITOR_CONFIG, FRAMEWORK_JAVA_COMMAND_LINE, FRAMEWORK_JAVA_COMPILER, FRAMEWORK_JAVA_HEAP_SIZE, GROUPID, ID_NAME, INFO, INIT_FILE, INIT_FILE_ENABLED, INIT_ONLY_MODE, LIBRARY_MODE, NAME, NOTIFICATION_IDS, OWNERID, PAGE_SIZE, PARAM_STRING, PERMISSIVE_MODEL, PHASE_TAG, PHASEINFO_TAG, PHASES_TAG, PROVIDER_TAG, PROVIDERS_TAG, REMOTE_OBJECT_BODY, RESOURCE_URI, RESTRICTIVE_MODEL, SPACE, START_INDEX, SYSTEM_PATH_CLASSES, SYSTEM_PATH_CONFIG, SYSTEM_PATH_DATA, SYSTEM_PATH_DEPLOY, SYSTEM_PATH_HOME, SYSTEM_PATH_INSTALL, SYSTEM_PATH_LIB, SYSTEM_PATH_LOGS, SYSTEM_PATH_PREFIX, SYSTEM_PATH_SCRIPTS, SYSTEM_PATH_SYSTEMLIB, SYSTEM_PATH_TEMPCLASSES, SYSTEM_PATH_WEBINF, SYSTEM_PATH_WEBROOT, TAG_BR, TEXT_HTML, TEXT_IPL, TEXT_PLAIN, TEXT_XML, TRUE, TYPE, URL_NAME, VALUE, XTYPE_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
createPerfToken
(IComponentData componentData) Deprecated.getName()
Deprecated.instead useBaseComponent.getComponentName()
void
initialize
(IManager manager, Element configElem, String name) Deprecated.You should override standard component init() method instead.void
This allows various managers and handlers get references to each othervoid
setComponentProvider
(IComponentProvider componentProvider) This should only be used by IComponentProviders and only under extreme cautionvoid
shutdown()
Allows your component to shutdown This will clear the data structures, so do your work firstMethods inherited from class com.webmethods.portal.system.BaseComponent
activate, bindGlobalProvider, deactivate, getComponentData, getComponentName, getComponentProvider, getGlobalProvider, getURI, init, isInitialized, setComponentData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.webmethods.portal.system.IComponent
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData
Methods inherited from interface com.webmethods.portal.system.init.IInitializable
init
-
Field Details
-
PERF_CAT_HANDLER
- See Also:
-
m_perfToken
-
-
Constructor Details
-
Handler
public Handler()
-
-
Method Details
-
createPerfToken
- Parameters:
componentData
-- Throws:
InitializationException
-
setComponentProvider
Description copied from class:BaseComponent
This should only be used by IComponentProviders and only under extreme caution- Specified by:
setComponentProvider
in interfaceIComponent
- Overrides:
setComponentProvider
in classBaseComponent
-
initialize
public void initialize(IManager manager, Element configElem, String name) throws FrameworkInitException Deprecated.You should override standard component init() method instead.initialize this handler- Specified by:
initialize
in interfaceIHandler
- Parameters:
manager
- is the manager for this particular handlerconfigElem
- is the configuration element for this handler NB: should only be called internally- Throws:
FrameworkInitException
-
shutdown
public void shutdown()Description copied from class:BaseComponent
Allows your component to shutdown This will clear the data structures, so do your work first- Specified by:
shutdown
in interfaceIHandler
- Specified by:
shutdown
in interfaceIInitializable
- Overrides:
shutdown
in classBaseComponent
- See Also:
-
postInitialize
This allows various managers and handlers get references to each other- Specified by:
postInitialize
in interfaceIHandler
- Throws:
InitializationException
-
getConfigElem
Deprecated.instead useBaseComponent.getComponentData()
Gets the config element for this handler- Specified by:
getConfigElem
in interfaceIHandler
-
getName
Deprecated.instead useBaseComponent.getComponentName()
returns this IHandler's name -
getPerfToken
- Specified by:
getPerfToken
in interfaceIHandler
- See Also:
-
PerfUtil
-
getHandlerBean
- Specified by:
getHandlerBean
in interfaceIHandler
- Returns:
- IHandlerBean for this Handler if valid, NULL otherwise
- Throws:
FrameworkException
-
BaseComponent.getComponentData()