Package org.jboss.gravia.repository

Examples of org.jboss.gravia.repository.DefaultRepository


        return resolver;
    }

    private Repository registerRepositoryService(final Runtime runtime) {
        PropertiesProvider propertyProvider = new RuntimePropertiesProvider(runtime);
        Repository repository = new DefaultRepository(propertyProvider);
        ModuleContext syscontext = runtime.getModuleContext();
        repositoryRegistration =  RepositoryRuntimeRegistration.registerRepository(syscontext, repository);
        return repository;
    }
View Full Code Here


    private Repository delegate;

    @Activate
    void activate(BundleContext context) throws JMException {
        Runtime runtime = RuntimeLocator.getRequiredRuntime();
        delegate = new DefaultRepository(new RuntimePropertiesProvider(runtime));
    }
View Full Code Here

    @Override
    public void start(BundleContext context) throws Exception {
        Runtime runtime = RuntimeLocator.getRequiredRuntime();
        Module module = runtime.getModule(context.getBundle().getBundleId());
        DefaultRepository repository = new DefaultRepository(new RuntimePropertiesProvider(runtime));
        registration =  RepositoryRuntimeRegistration.registerRepository(module.getModuleContext(), repository);
    }
View Full Code Here

    private Repository delegate;

    @Activate
    void activate(BundleContext context) throws JMException {
        Runtime runtime = RuntimeLocator.getRequiredRuntime();
        delegate = new DefaultRepository(new RuntimePropertiesProvider(runtime));
    }
View Full Code Here

        return resolver;
    }

    private Repository registerRepositoryService(final Runtime runtime) {
        PropertiesProvider propertyProvider = new RuntimePropertiesProvider(runtime);
        Repository repository = new DefaultRepository(propertyProvider);
        ModuleContext syscontext = runtime.getModuleContext();
        repositoryRegistration =  RepositoryRuntimeRegistration.registerRepository(syscontext, repository);
        return repository;
    }
View Full Code Here

TOP

Related Classes of org.jboss.gravia.repository.DefaultRepository

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.