Package org.tanukisoftware.wrapper.jmx

Examples of org.tanukisoftware.wrapper.jmx.WrapperManagerMBean


    /* @see org.mule.api.context.Agent#getDescription() */
    @Override
    public String getDescription()
    {
        WrapperManagerMBean wm = (WrapperManagerMBean) wrapperManagerRef.get();
        if (wm == null)
        {
            return "Wrapper Manager";
        }
        else
View Full Code Here


        return WrapperSystemPropertyUtil.getIntProperty("wrapper.pid", 0);
    }

    protected void lazyInitWrapperManager()
    {
        WrapperManagerMBean wm = (WrapperManagerMBean) wrapperManagerRef.get();

        if (wm != null)
        {
            return;
        }
View Full Code Here

    // /////////////////////////////////////////////////////////////////////////

    @Override
    public String getDescription()
    {
        WrapperManagerMBean wm = wrapperManagerRef.get();
        if (wm == null)
        {
            return "Wrapper Manager";
        }
        else
View Full Code Here

        return WrapperSystemPropertyUtil.getIntProperty("wrapper.pid", 0);
    }

    protected void lazyInitWrapperManager()
    {
        WrapperManagerMBean wm = wrapperManagerRef.get();

        if (wm != null)
        {
            return;
        }
View Full Code Here

    protected static JmxSupportFactory jmxSupportFactory;
    protected static JmxSupport jmxSupport;

    public static void restart() throws Exception
    {
        WrapperManagerMBean proxy = getProxy();
        if (proxy != null) {
            proxy.restart();
        }
        else
        {
            throw new RuntimeException("The wrapper is not enabled.");
        }
View Full Code Here

        if (!mBeanServer.isRegistered(on))
        {
            mBeanServer.registerMBean(new WrapperManager(), on);
        }

        WrapperManagerMBean proxy = MBeanServerInvocationHandler.newProxyInstance(
            mBeanServer, on, WrapperManagerMBean.class, false);
        return proxy;
    }
View Full Code Here

TOP

Related Classes of org.tanukisoftware.wrapper.jmx.WrapperManagerMBean

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.