Package org.apache.cocoon.portal.event

Examples of org.apache.cocoon.portal.event.ConvertableEventFactory


        context.invokeNext( service );
  }

    private ConvertableEvent getEvent(PortalService service, String factoryName, String eventData) {
        ServiceSelector selector = null;
        ConvertableEventFactory factory = null;
        ConvertableEvent event;
        try {
            selector = (ServiceSelector) this.manager.lookup(ConvertableEventFactory.ROLE + "Selector");
            factory = (ConvertableEventFactory) selector.select(factoryName);
            event = factory.createEvent(service, eventData);
        } catch (ServiceException ce) {
            if (getLogger().isErrorEnabled()) {
                getLogger().error("Unable to create event for " + factoryName +
                    " using " + eventData);
            }
View Full Code Here


        context.invokeNext( service );
  }

    private ConvertableEvent getEvent(PortalService service, String factoryName, String eventData) {
        ServiceSelector selector = null;
        ConvertableEventFactory factory = null;
        ConvertableEvent event;
        try {
            selector = (ServiceSelector) this.manager.lookup(ConvertableEventFactory.ROLE + "Selector");
            factory = (ConvertableEventFactory) selector.select(factoryName);
            event = factory.createEvent(service, eventData);
        } catch (ServiceException ce) {
            if (getLogger().isErrorEnabled()) {
                getLogger().error("Unable to create event for " + factoryName +
                    " using " + eventData);
            }
View Full Code Here

        context.invokeNext( service );
  }

    private ConvertableEvent getEvent(PortalService service, String factoryName, String eventData) {
        ServiceSelector selector = null;
        ConvertableEventFactory factory = null;
        ConvertableEvent event;
        try {
            selector = (ServiceSelector) this.manager.lookup(ConvertableEventFactory.ROLE + "Selector");
            factory = (ConvertableEventFactory) selector.select(factoryName);
            event = factory.createEvent(service, eventData);
        } catch (ServiceException ce) {
            if (getLogger().isErrorEnabled()) {
                getLogger().error("Unable to create event for " + factoryName +
                    " using " + eventData);
            }
View Full Code Here

TOP

Related Classes of org.apache.cocoon.portal.event.ConvertableEventFactory

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.