public class EventBeanFactoryXML extends Object implements EventBeanFactory
Constructor and Description |
---|
EventBeanFactoryXML(EventType type,
EventAdapterService eventAdapterService) |
Modifier and Type | Method and Description |
---|---|
Class |
getUnderlyingType()
Returns the type of the underlying class expected for successful wrapping.
|
EventBean |
wrap(Object underlying)
Wraps the underlying event object.
|
public EventBeanFactoryXML(EventType type, EventAdapterService eventAdapterService)
public EventBean wrap(Object underlying)
EventBeanFactory
wrap
in interface EventBeanFactory
underlying
- event to wrappublic Class getUnderlyingType()
EventBeanFactory
getUnderlyingType
in interface EventBeanFactory