Package org.rioproject.impl.util

Examples of org.rioproject.impl.util.BannerProvider


    private void bootstrap(String[] configArgs) throws Exception {
        context = ServiceBeanActivation.getServiceBeanContext(CONFIG_COMPONENT,
                                                              "ProvisionMonitor",
                                                              configArgs,
                                                              getClass().getClassLoader());
        BannerProvider bannerProvider =
            (BannerProvider)context.getConfiguration().getEntry(CONFIG_COMPONENT,
                                                                "bannerProvider",
                                                                BannerProvider.class,
                                                                new BannerProviderImpl());
        logger.info(bannerProvider.getBanner(context.getServiceElement().getName()));
        start(context);
        LifeCycleManager lMgr = (LifeCycleManager)context.getServiceBeanManager().getDiscardManager();
        lMgr.register(getServiceProxy(), context);
    }
View Full Code Here


        context = ServiceBeanActivation.getServiceBeanContext(getConfigComponent(),
                                                              "Cybernode",
                                                              configArgs,
                                                              getClass().getClassLoader());
        logger.trace("Obtained ServiceBeanContext {}", context);
        BannerProvider bannerProvider = (BannerProvider)context.getConfiguration().getEntry(getConfigComponent(),
                                                                                            "bannerProvider",
                                                                                            BannerProvider.class,
                                                                                            new BannerProviderImpl());
        logger.info(bannerProvider.getBanner(context.getServiceElement().getName()));
        start(context);
        LifeCycleManager lMgr = (LifeCycleManager)context. getServiceBeanManager().getDiscardManager();
        lMgr.register(getServiceProxy(), context);
    }
View Full Code Here

    private void bootstrap(String[] configArgs) throws Exception {
        ServiceBeanContext context = ServiceBeanActivation.getServiceBeanContext(CONFIG_COMPONENT,
                                                                                 "Event Collector",
                                                                                 configArgs,
                                                                                 getClass().getClassLoader());
        BannerProvider bannerProvider =
            (BannerProvider)context.getConfiguration().getEntry(CONFIG_COMPONENT,
                                                                "bannerProvider",
                                                                BannerProvider.class,
                                                                new BannerProviderImpl());
        logger.info(bannerProvider.getBanner(context.getServiceElement().getName()));
        try {
            start(context);
            ServiceBeanActivation.LifeCycleManager lMgr =
                (ServiceBeanActivation.LifeCycleManager)context.getServiceBeanManager().getDiscardManager();
            lMgr.register(getServiceProxy(), context);
View Full Code Here

TOP

Related Classes of org.rioproject.impl.util.BannerProvider

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.