Package org.rioproject.associations

Examples of org.rioproject.associations.ServiceSelectionStrategy


            List<Class> list = loadAssociatedInterfaces(association.getAssociationDescriptor(), loader);
            aProxy.setProxyInterfaces(list.toArray(new Class[list.size()]));
            list.add(AssociationProxy.class);

            if(strategyClassName!=null) {
                ServiceSelectionStrategy strategy =
                    (ServiceSelectionStrategy)loader.loadClass(strategyClassName).newInstance();
                strategy.setAssociation(association);
                aProxy.setServiceSelectionStrategy(strategy);
            }

            Class[] interfaces = list.toArray(new Class[list.size()]);
            proxy = Proxy.newProxyInstance(loader, interfaces, aProxy.getInvocationHandler(association));
View Full Code Here

TOP

Related Classes of org.rioproject.associations.ServiceSelectionStrategy

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.