Examples of DynamicGBeanDelegate


Examples of org.apache.geronimo.gbean.DynamicGBeanDelegate

            @ParamReference(name="TransactionManager", namingType = NameFactory.JTA_RESOURCE)RecoverableTransactionManager transactionManager,
            @ParamReference(name="TransactionSynchronizationRegistry", namingType = NameFactory.JTA_RESOURCE) TransactionSynchronizationRegistry transactionSynchronizationRegistry,
            @ParamSpecial(type= SpecialAttributeType.classLoader )ClassLoader cl,
            @ParamSpecial(type= SpecialAttributeType.objectName )String objectName) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
        super(objectName, resourceAdapterClass, messageListenerToActivationSpecMap, new GeronimoBootstrapContext(workManager, xaTerminator, transactionSynchronizationRegistry), transactionManager, cl);
        delegate = new DynamicGBeanDelegate();
        delegate.addAll(resourceAdapter);
        this.objectName = objectName;
    }
View Full Code Here

Examples of org.apache.geronimo.gbean.DynamicGBeanDelegate

    public ActivationSpecWrapperGBean(@ParamAttribute(name="activationSpecClass")final String activationSpecClass,
                                      @ParamAttribute(name="containerId")final String containerId,
                                      @ParamReference(name="ResourceAdapaterWrapper", namingType = NameFactory.RESOURCE_ADAPTER)final ResourceAdapterWrapper resourceAdapterWrapper,
                                      @ParamSpecial(type = SpecialAttributeType.classLoader)final ClassLoader cl) throws IllegalAccessException, InstantiationException, ClassNotFoundException {
        super(activationSpecClass, containerId, resourceAdapterWrapper, cl);
        delegate = new DynamicGBeanDelegate();
        delegate.addAll(activationSpec);
    }
View Full Code Here

Examples of org.apache.geronimo.gbean.DynamicGBeanDelegate

        //set up that must be done before start
        classLoader = cl;
        Class clazz = cl.loadClass(managedConnectionFactoryClass);
        managedConnectionFactory = (ManagedConnectionFactory) clazz.newInstance();
        delegate = new DynamicGBeanDelegate();
        delegate.addAll(managedConnectionFactory);
        this.kernel = kernel;
        this.abstractName = abstractName;
        this.objectName = objectName;
    }
View Full Code Here

Examples of org.apache.geronimo.gbean.DynamicGBeanDelegate

        this.kernel = kernel;
        this.abstractName = abstractName;
        this.objectName = objectName;
        Class clazz = cl.loadClass(adminObjectClass);
        adminObject = clazz.newInstance();
        delegate = new DynamicGBeanDelegate();
        delegate.addAll(adminObject);
    }
View Full Code Here

Examples of org.apache.geronimo.gbean.DynamicGBeanDelegate

        objectName = null;
    }

    public ResourceAdapterWrapperGBean(String resourceAdapterClass, WorkManager workManager, XATerminator xaTerminator, ClassLoader cl, String objectName) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
        super(resourceAdapterClass, new GeronimoBootstrapContext (workManager, xaTerminator), cl);
        delegate = new DynamicGBeanDelegate();
        delegate.addAll(resourceAdapter);
        this.objectName = objectName;
    }
View Full Code Here

Examples of org.apache.geronimo.gbean.DynamicGBeanDelegate

        //set up that must be done before start
        classLoader = cl;
        Class clazz = cl.loadClass(managedConnectionFactoryClass);
        managedConnectionFactory = (ManagedConnectionFactory) clazz.newInstance();
        delegate = new DynamicGBeanDelegate();
        delegate.addAll(managedConnectionFactory);
        this.kernel = kernel;
        this.abstractName = abstractName;
        this.objectName = objectName;
    }
View Full Code Here

Examples of org.apache.geronimo.gbean.DynamicGBeanDelegate

        delegate = null;
    }

    public ActivationSpecWrapperGBean(final String activationSpecClass, final String containerId, final ResourceAdapterWrapper resourceAdapterWrapper, final ClassLoader cl) throws IllegalAccessException, InstantiationException, ClassNotFoundException {
        super(activationSpecClass, containerId, resourceAdapterWrapper, cl);
        delegate = new DynamicGBeanDelegate();
        delegate.addAll(activationSpec);
    }
View Full Code Here

Examples of org.apache.geronimo.gbean.DynamicGBeanDelegate

        this.resourceAdapterWrapper = resourceAdapterWrapper;
        this.connectionManagerFactory = connectionManagerFactory;

        //set up that must be done before start
        managedConnectionFactory = (ManagedConnectionFactory) managedConnectionFactoryClass.newInstance();
        delegate = new DynamicGBeanDelegate();
        delegate.addAll(managedConnectionFactory);
        this.managedConnectionFactoryListener = managedConnectionFactoryListener;
        this.kernel = kernel;
        this.objectName = objectName;
View Full Code Here

Examples of org.apache.geronimo.gbean.DynamicGBeanDelegate

                                  final GeronimoWorkManager workManager) throws InstantiationException, IllegalAccessException {
        this.resourceAdapterClass = resourceAdapterClass;
        this.bootstrapContext = new BootstrapContextImpl(workManager);
        this.activationSpecInfoMap = activationSpecInfoMap;
        resourceAdapter = (ResourceAdapter) resourceAdapterClass.newInstance();
        delegate = new DynamicGBeanDelegate();
        delegate.addAll(resourceAdapter);
    }
View Full Code Here

Examples of org.apache.geronimo.gbean.DynamicGBeanDelegate

    public AdminObjectWrapper(final Class adminObjectInterface,
                              final Class adminObjectClass) throws IllegalAccessException, InstantiationException {
        this.adminObjectInterface = adminObjectInterface;
        this.adminObjectClass = adminObjectClass;
        adminObject = adminObjectClass.newInstance();
        delegate = new DynamicGBeanDelegate();
        delegate.addAll(adminObject);
    }
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.