Package org.drools.grid

Examples of org.drools.grid.CoreServicesLookup


    public CoreServicesSchedulerConfiguration() {

    }

    public void configureService(Grid grid) {
        CoreServicesLookup wp = grid.get( CoreServicesLookup.class );

        ((GridImpl) grid).addService( CoreServicesScheduler.class,
                                      new CoreServicesSchedulerImpl( new SchedulerImpl( "scheduler:core" ) ) );
        wp.getServices().put( CoreServicesScheduler.class.getName(),
                              new GridServiceDescriptionImpl( CoreServicesScheduler.class ) );
    }
View Full Code Here


    public CoreServicesSchedulerConfiguration() {

    }

    public void configureService(Grid grid) {
        CoreServicesLookup wp = grid.get( CoreServicesLookup.class );

        ((GridImpl) grid).addService( CoreServicesScheduler.class,
                                      new CoreServicesSchedulerImpl( new SchedulerImpl( "scheduler:core" ) ) );
        wp.getServices().put( CoreServicesScheduler.class.getName(),
                              new GridServiceDescriptionImpl( CoreServicesScheduler.class, grid.getId() ) );
    }
View Full Code Here

TOP

Related Classes of org.drools.grid.CoreServicesLookup

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.