Package org.jboss.gravia.resource

Examples of org.jboss.gravia.resource.DefaultMatchPolicy


    private final ResourceStore systemStore;
    private final Runtime runtime;

    public RuntimeEnvironment(Runtime runtime) {
        this(runtime, new DefaultResourceStore("SystemResources"), new DefaultMatchPolicy());
    }
View Full Code Here


    private final ResourceStore systemStore;
    private final Runtime runtime;

    public RuntimeEnvironment(Runtime runtime) {
        this(runtime, new DefaultResourceStore("SystemResources"), new DefaultMatchPolicy());
    }
View Full Code Here

    @Override
    @SuppressWarnings("deprecation")
    public void start(StartContext startContext) throws StartException {
        Runtime runtime = injectedRuntime.getValue();
        MatchPolicy matchPolicy = new DefaultMatchPolicy();
        File modulesDir = injectedServerEnvironment.getValue().getModulesDir();
        environment = new RuntimeEnvironment(runtime, new SystemResourceStore(modulesDir), matchPolicy);

        ModuleContext syscontext = runtime.getModuleContext();
        registration = syscontext.registerService(RuntimeEnvironment.class, environment, null);
View Full Code Here

public class RuntimeEnvironment extends AbstractEnvironment {

    private final ResourceStore systemStore;

    public RuntimeEnvironment(Runtime runtime) {
        this(runtime, new DefaultResourceStore("SystemResources"), new DefaultMatchPolicy());
    }
View Full Code Here

    private final AtomicLong increment = new AtomicLong();
    private final Repository repository;

    public MemoryRepositoryStorage(PropertiesProvider propertyProvider, Repository repository) {
        super(MemoryRepositoryStorage.class.getSimpleName(), new DefaultMatchPolicy());
        this.repository = repository;
    }
View Full Code Here

        super(envname);
    }

    @Override
    protected MatchPolicy createMatchPolicy() {
        return new DefaultMatchPolicy();
    }
View Full Code Here

public class RuntimeEnvironment extends AbstractEnvironment {

    private final ResourceStore systemStore;

    public RuntimeEnvironment(Runtime runtime) {
        this(runtime, new DefaultResourceStore("SystemResources"), new DefaultMatchPolicy());
    }
View Full Code Here

    @Override
    @SuppressWarnings("deprecation")
    public void start(StartContext startContext) throws StartException {
        Runtime runtime = injectedRuntime.getValue();
        MatchPolicy matchPolicy = new DefaultMatchPolicy();
        File modulesDir = injectedServerEnvironment.getValue().getModulesDir();
        environment = new RuntimeEnvironment(runtime, new SystemResourceStore(modulesDir), matchPolicy);

        ModuleContext syscontext = runtime.getModuleContext();
        registration = syscontext.registerService(RuntimeEnvironment.class, environment, null);
View Full Code Here

* @since 06-May-2013
*/
public class DefaultEnvironment extends AbstractEnvironment {

    public DefaultEnvironment(String envname) {
        super(envname, new DefaultMatchPolicy());
    }
View Full Code Here

    private final AtomicLong increment = new AtomicLong();
    private final Repository repository;

    public MemoryRepositoryStorage(Repository repository) {
        super(MemoryRepositoryStorage.class.getSimpleName(), new DefaultMatchPolicy());
        this.repository = repository;
    }
View Full Code Here

TOP

Related Classes of org.jboss.gravia.resource.DefaultMatchPolicy

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.