Examples of GBeanInstance


Examples of org.apache.geronimo.gbean.runtime.GBeanInstance

    public ProxyManager getProxyManager() {
        return proxyManager;
    }

    public Object getAttribute(ObjectName objectName, String attributeName) throws GBeanNotFoundException, NoSuchAttributeException, Exception {
        GBeanInstance gbeanInstance = registry.getGBeanInstance(createGBeanName(objectName));
        return gbeanInstance.getAttribute(attributeName);
    }
View Full Code Here

Examples of org.apache.geronimo.gbean.runtime.GBeanInstance

        GBeanInstance gbeanInstance = registry.getGBeanInstance(createGBeanName(objectName));
        return gbeanInstance.getAttribute(attributeName);
    }

    public void setAttribute(ObjectName objectName, String attributeName, Object attributeValue) throws GBeanNotFoundException, NoSuchAttributeException, Exception {
        GBeanInstance gbeanInstance = registry.getGBeanInstance(createGBeanName(objectName));
        gbeanInstance.setAttribute(attributeName, attributeValue);
    }
View Full Code Here

Examples of org.apache.geronimo.gbean.runtime.GBeanInstance

    public Object invoke(ObjectName objectName, String methodName) throws GBeanNotFoundException, NoSuchOperationException, InternalKernelException, Exception {
        return invoke(objectName, methodName, NO_ARGS, NO_TYPES);
    }

    public Object invoke(ObjectName objectName, String methodName, Object[] args, String[] types) throws GBeanNotFoundException, NoSuchOperationException, InternalKernelException, Exception {
        GBeanInstance gbeanInstance = registry.getGBeanInstance(createGBeanName(objectName));
        return gbeanInstance.invoke(methodName, args, types);
    }
View Full Code Here

Examples of org.apache.geronimo.gbean.runtime.GBeanInstance

    public boolean isLoaded(ObjectName name) {
        return registry.isRegistered(createGBeanName(name));
    }

    public GBeanInfo getGBeanInfo(ObjectName name) throws GBeanNotFoundException {
        GBeanInstance gbeanInstance = registry.getGBeanInstance(createGBeanName(name));
        return gbeanInstance.getGBeanInfo();
    }
View Full Code Here

Examples of org.apache.geronimo.gbean.runtime.GBeanInstance

        GBeanInstance gbeanInstance = registry.getGBeanInstance(createGBeanName(name));
        return gbeanInstance.getGBeanInfo();
    }

    public GBeanData getGBeanData(ObjectName name) throws GBeanNotFoundException, InternalKernelException {
        GBeanInstance gbeanInstance = registry.getGBeanInstance(createGBeanName(name));
        return gbeanInstance.getGBeanData();
    }
View Full Code Here

Examples of org.apache.geronimo.gbean.runtime.GBeanInstance

        return gbeanInstance.getGBeanData();
    }

    public void loadGBean(GBeanData gbeanData, ClassLoader classLoader) throws GBeanAlreadyExistsException, InternalKernelException {
        ObjectName objectName = gbeanData.getName();
        GBeanInstance gbeanInstance = new GBeanInstance(gbeanData, this, dependencyManager, lifecycleMonitor.createLifecycleBroadcaster(objectName), classLoader);
        registry.register(gbeanInstance);
    }
View Full Code Here

Examples of org.apache.geronimo.gbean.runtime.GBeanInstance

        GBeanInstance gbeanInstance = new GBeanInstance(gbeanData, this, dependencyManager, lifecycleMonitor.createLifecycleBroadcaster(objectName), classLoader);
        registry.register(gbeanInstance);
    }

    public void startGBean(ObjectName name) throws GBeanNotFoundException, InternalKernelException, IllegalStateException {
        GBeanInstance gbeanInstance = registry.getGBeanInstance(createGBeanName(name));
        gbeanInstance.start();
    }
View Full Code Here

Examples of org.apache.geronimo.gbean.runtime.GBeanInstance

        GBeanInstance gbeanInstance = registry.getGBeanInstance(createGBeanName(name));
        gbeanInstance.start();
    }

    public void startRecursiveGBean(ObjectName name) throws GBeanNotFoundException, InternalKernelException, IllegalStateException {
        GBeanInstance gbeanInstance = registry.getGBeanInstance(createGBeanName(name));
        gbeanInstance.startRecursive();
    }
View Full Code Here

Examples of org.apache.geronimo.gbean.runtime.GBeanInstance

        GBeanInstance gbeanInstance = registry.getGBeanInstance(createGBeanName(name));
        gbeanInstance.startRecursive();
    }

    public void stopGBean(ObjectName name) throws GBeanNotFoundException, InternalKernelException, IllegalStateException {
        GBeanInstance gbeanInstance = registry.getGBeanInstance(createGBeanName(name));
        gbeanInstance.stop();
    }
View Full Code Here

Examples of org.apache.geronimo.gbean.runtime.GBeanInstance

        gbeanInstance.stop();
    }

    public void unloadGBean(ObjectName name) throws GBeanNotFoundException, InternalKernelException, IllegalStateException {
        GBeanName gbeanName = createGBeanName(name);
        GBeanInstance gbeanInstance = registry.getGBeanInstance(gbeanName);
        gbeanInstance.die();
        registry.unregister(gbeanName);
    }
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.