Examples of BusinessLogic


Examples of org.osgilab.tips.jaxb.bl.BusinessLogic

/**
* @author dmytro.pishchukhin
*/
public class Activator implements BundleActivator {
    public void start(BundleContext bundleContext) throws Exception {
        int personesCount = new BusinessLogic().getPersonesCount();
        System.out.println("personesCount = " + personesCount);

        ServiceReference reference = bundleContext.getServiceReference(BusinessLogic.class.getName());
        BusinessLogic bl = (BusinessLogic) bundleContext.getService(reference);
        personesCount = bl.getPersonesCount();
        System.out.println("personesCount = " + personesCount);
    }
View Full Code Here

Examples of org.osgilab.tips.jaxb.bl.BusinessLogic

/**
* @author dmytro.pishchukhin
*/
public class Activator implements BundleActivator {
    public void start(BundleContext bundleContext) throws Exception {
       bundleContext.registerService(BusinessLogic.class.getName(), new BusinessLogic(), null);
    }
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.