Package org.rioproject.event

Examples of org.rioproject.event.NoEventConsumerException


        event.setEventID(descriptor.eventID);
        event.setSequenceNumber(sequenceNumber);
        while (true) {
            ServiceResource sr = getNextServiceResource();
            if(sr == null)
                throw new NoEventConsumerException("No event consumers");
            try {
                EventRegistrationResource er = (EventRegistrationResource)sr.getResource();
                RemoteEventListener listener = er.getListener();
                MarshalledObject handback = er.getHandback();
                event.setHandback(handback);
View Full Code Here

TOP

Related Classes of org.rioproject.event.NoEventConsumerException

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.