Package org.tubo.event

Examples of org.tubo.event.Event


     * @return FlowContext used on this life cycle
     */
    protected FlowContext doConsumerLifeCycle(String eventAction, Object consumedRawData) {
        //
        // create new Event
        Event event = createEvent();
        //
        // set default event stuff
        event.setAction(eventAction);
        event.setWhen(System.currentTimeMillis());
        //
        // setup event (hook)
        initializeEvent(event);
        //
        // create new item
View Full Code Here


     * Create a new Item instance using ResourceManager
     *
     * @return a Item instance
     */
    protected Event createEvent() {
        Event event = getResourceManager().getNewEvent();
        return event;
    }
View Full Code Here

     * </p>
     * @return new Item instance
     * @throws TuboException
     */
    public Event getNewEvent() throws TuboException {
        Event event = null;
        try {
            //
            // get Event via Spring
            event = (Event)beanFactory.getBean(SPRING_EVENT_BEAN_ID);
        } catch (BeansException e) {
View Full Code Here

TOP

Related Classes of org.tubo.event.Event

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.