public static class ListenerResource.ListenerConfig
extends java.lang.Object
Constructor and Description |
---|
ListenerConfig() |
Modifier and Type | Method and Description |
---|---|
void |
init() |
MessageListener |
newInstance()
Creates a new MessageListener
|
void |
setInit(ContainerProgram init)
Sets the init program.
|
void |
setType(java.lang.Class type)
Sets the listener's type.
|
public void setType(java.lang.Class type) throws ConfigException
type
- implementation class of MessageListenerConfigException
public void setInit(ContainerProgram init)
@PostConstruct public void init() throws ConfigException
ConfigException
public MessageListener newInstance() throws java.lang.Throwable, java.lang.InstantiationException
java.lang.Throwable
java.lang.InstantiationException