Package org.apache.isis.core.runtime.services.eventbus

Examples of org.apache.isis.core.runtime.services.eventbus.EventBusServiceDefault


    }

   
    private void initOtherApplibServicesIfConfigured(final List<Object> registeredServices) {
       
        final EventBusServiceDefault ebsd = getServiceOrNull(EventBusServiceDefault.class);
        if(ebsd != null) {
            ebsd.open();
        }
       
        final Bulk.InteractionContext bic = getServiceOrNull(Bulk.InteractionContext.class);
        if(bic != null) {
            Bulk.InteractionContext.current.set(bic);
View Full Code Here


    private void closeOtherApplibServicesIfConfigured() {
        Bulk.InteractionContext bic = getServiceOrNull(Bulk.InteractionContext.class);
        if(bic != null) {
            Bulk.InteractionContext.current.set(null);
        }
        EventBusServiceDefault ebs = getServiceOrNull(EventBusServiceDefault.class);
        if(ebs != null) {
            ebs.close();
        }
    }
View Full Code Here

        getTransactionManager().endTransaction();
    }

    private void initOtherApplibServicesIfConfigured(final List<Object> registeredServices) {
       
        final EventBusServiceDefault ebsd = getServiceOrNull(EventBusServiceDefault.class);
        if(ebsd != null) {
            ebsd.open();
        }
       
        final Bulk.InteractionContext bic = getServiceOrNull(Bulk.InteractionContext.class);
        if(bic != null) {
            Bulk.InteractionContext.current.set(bic);
View Full Code Here

    private void closeOtherApplibServicesIfConfigured() {
        Bulk.InteractionContext bic = getServiceOrNull(Bulk.InteractionContext.class);
        if(bic != null) {
            Bulk.InteractionContext.current.set(null);
        }
        EventBusServiceDefault ebs = getServiceOrNull(EventBusServiceDefault.class);
        if(ebs != null) {
            ebs.close();
        }
    }
View Full Code Here

    }

   
    private void initOtherApplibServicesIfConfigured(final List<Object> registeredServices) {
       
        final EventBusServiceDefault ebsd = getServiceOrNull(EventBusServiceDefault.class);
        if(ebsd != null) {
            ebsd.open();
        }
       
        final Bulk.InteractionContext bic = getServiceOrNull(Bulk.InteractionContext.class);
        if(bic != null) {
            Bulk.InteractionContext.current.set(bic);
View Full Code Here

    private void closeOtherApplibServicesIfConfigured() {
        Bulk.InteractionContext bic = getServiceOrNull(Bulk.InteractionContext.class);
        if(bic != null) {
            Bulk.InteractionContext.current.set(null);
        }
        EventBusServiceDefault ebs = getServiceOrNull(EventBusServiceDefault.class);
        if(ebs != null) {
            ebs.close();
        }
    }
View Full Code Here

           
            // a bit of a hack
            final Object object = serviceAdapter.getObject();
            if(object instanceof EventBusServiceDefault) {
                eventBusService = (EventBusServiceDefault) object;
                EventBusServiceDefault ebs = eventBusService;
                ebs.open();
            }

        }
        getTransactionManager().endTransaction();
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.core.runtime.services.eventbus.EventBusServiceDefault

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.