Database Reference
In-Depth Information
{
static final Log v_logger =
LogFactory.getLog("cargoBookingAdapter");
private String v_eventTypeName;
private EventType v_eventType;
private StreamSender v_eventSender;
private EventTypeRepository v_EvtRep = null;
public cargoBookingAdapter(){
super();
}
/**
* Called by the server to pass in the name of the event
* v_EvTypee to which event data should be bound.
*/
public void setEventType(String v_EvType){
v_eventTypeName = v_EvType;
}
/**
* Called by the server to set an event v_EvTypee
* repository instance that knows about event
* v_EvTypees configured for this application
*
* This repository instance will be used to retrieve an
* event v_EvTypee instance that will be populated
* with event data retrieved from the event data file
* @param etr The event repository.
*/
@Service(filter = EventTypeRepository.SERVICE_FILTER)
public void setEventTypeRepository(EventTypeRepository
etr){
v_EvtRep = etr;
}
/**
* Executes to retrieve raw event data and
* create event v_EvTypee instances from it, then
* sends the events to the next stage in the
* EPN.
* This method, implemented from the RunnableBean
* interface, executes when this adapter instance
Search WWH ::




Custom Search