Package org.apache.geronimo.obr

Examples of org.apache.geronimo.obr.GeronimoOBRGBean.refresh()


    protected Object doExecute() throws Exception {
        ServiceReference ref =  bundleContext.getServiceReference(GeronimoOBRGBean.class.getName());
        GeronimoOBRGBean service = (GeronimoOBRGBean) getService(GeronimoOBRGBean.class, ref);

        service.refresh();
       
        return null;
    }
      
}
View Full Code Here


            if (GeronimoOBRGBean.REPOSITORY_NAME.equals(name)) {
                reference = bundleContext.getServiceReference(GeronimoOBRGBean.class.getName());
                GeronimoOBRGBean obrGBean = (GeronimoOBRGBean) bundleContext.getService(reference);

                // do refresh
                obrGBean.refresh();               
            } else {
                reference = bundleContext.getServiceReference(RepositoryAdmin.class.getName());
                RepositoryAdmin repositoryAdmin = (RepositoryAdmin) bundleContext.getService(reference);

                // do refresh
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.