All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.drools.grid.conf.impl.GridPeerConfiguration Maven / Gradle / Ivy

There is a newer version: 5.6.0.Final
Show newest version
package org.drools.grid.conf.impl;

import java.util.ArrayList;
import java.util.List;

import org.drools.grid.Grid;
import org.drools.grid.conf.GridPeerServiceConfiguration;

public class GridPeerConfiguration {
    private List configurations;

    public GridPeerConfiguration() {
        this.configurations = new ArrayList();
    }

    public void addConfiguration(GridPeerServiceConfiguration configuration) {
        this.configurations.add( configuration );
    }

    public void configure(Grid grid) {
        for ( GridPeerServiceConfiguration entry : this.configurations ) {
            entry.configureService( grid );
        }

    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy