public class TroubleTicketer extends Object implements SpringServiceDaemon, EventListener
Constructor and Description |
---|
TroubleTicketer() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
SpringFramework method from implementation of the Spring Interface
org.springframework.beans.factory.InitializingBean |
void |
destroy()
destroy
|
static String |
getLoggingCategory() |
String |
getName()
EventListener Interface required implementation
|
void |
onEvent(IEvent e)
Process a sent event.
|
void |
setEventIpcManager(EventIpcManager eventIpcManager)
setEventIpcManager
|
void |
setTicketerServiceLayer(TicketerServiceLayer ticketerServiceLayer)
setTicketerServiceLayer
|
void |
start()
start
|
public void setEventIpcManager(EventIpcManager eventIpcManager)
setEventIpcManager
eventIpcManager
- a EventIpcManager
object.public void setTicketerServiceLayer(TicketerServiceLayer ticketerServiceLayer)
setTicketerServiceLayer
ticketerServiceLayer
- a TicketerServiceLayer
object.public void afterPropertiesSet() throws Exception
org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
- An exception is thrown when detecting an invalid state such
as data not properly initialized or this method called more then once.public void start() throws Exception
start
start
in interface SpringServiceDaemon
Exception
- if any.public void destroy() throws Exception
destroy
destroy
in interface org.springframework.beans.factory.DisposableBean
Exception
- if any.public String getName()
getName
in interface EventListener
java.lang.String
representing the name of this service daemonpublic void onEvent(IEvent e)
onEvent
in interface EventListener
e
- a IEvent
object.public static String getLoggingCategory()
Copyright © 2021. All rights reserved.