public interface Component
BaseComponent,
Session| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Component lifecycle hook.
|
String |
getName()
Returns a name for the component.
|
Map<String,String> |
getParameters()
Returns the parameters used to initialize this Component, and can also be used
to modify parameters.
|
Session |
getSession()
Returns the Session used to initialize this Component.
|
void |
init(Session session,
Map<String,String> parameters)
Component lifecycle hook.
|
String getName()
Map<String,String> getParameters()
Session getSession()
void init(Session session, Map<String,String> parameters) throws OpenAS2Exception
session - the component uses this object to access other componentsparameters - configuration values for the componentOpenAS2Exception - If an error occurs while initializing the componentSessionvoid destroy()
throws Exception
Component requires a destroy function this method can be used.Exception - Something went wronginit(Session, Map),
SessionCopyright © 2018. All rights reserved.