public class SchedulerComponent extends BaseComponent
Modifier and Type | Field and Description |
---|---|
static String |
PARAMETER_THREADS |
Constructor and Description |
---|
SchedulerComponent() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Component lifecycle hook.
|
void |
init(Session session,
Map<String,String> parameters)
Component lifecycle hook.
|
getName, getParameter, getParameter, getParameterInt, getParameters, getSession, setParameter, setParameter
public static final String PARAMETER_THREADS
public void init(Session session, Map<String,String> parameters) throws OpenAS2Exception
Component
init
in interface Component
init
in class BaseComponent
session
- the component uses this object to access other componentsparameters
- configuration values for the componentOpenAS2Exception
- If an error occurs while initializing the componentSession
public void destroy() throws Exception
Component
Component
requires a destroy function this method can be used.destroy
in interface Component
destroy
in class BaseComponent
Exception
- Something went wrongComponent.init(Session, Map)
,
Session
Copyright © 2018. All rights reserved.