Package org.rhq.bindings.client

Examples of org.rhq.bindings.client.RhqManager


                        String beanName = jndiName.substring(0,jndiName.indexOf('!'));
                        beanName = beanName.substring(beanName.lastIndexOf('/') + 1);
                        String managerName = beanName.substring(0, beanName.length() - "Bean".length());
                        //we basically need to define a mock implementation of both the local and remote
                        //interface here - as if it were a proper SLSB.
                        RhqManager manager = Enum.valueOf(RhqManager.class, managerName);
                        Class<?> remoteIface = manager.remote();

                        String localIfaceName = remoteIface.getName().substring(0,
                            remoteIface.getName().length() - "Remote".length())
                            + "Local";
                        Class<?> localIface = Class.forName(localIfaceName);
View Full Code Here


        return managers;
    }

    @Override
    public <T> T getProxy(final Class<T> remoteApiIface) {
        final RhqManager manager = RhqManager.forInterface(remoteApiIface);

        if (manager == null) {
            throw new IllegalArgumentException("Unknown remote interface " + remoteApiIface);
        }
View Full Code Here

        return this.managers;
    }

    @Override
    public <T> T getProxy(Class<T> remoteApiIface) {
        RhqManager manager = RhqManager.forInterface(remoteApiIface);

        if (manager == null) {
            throw new IllegalArgumentException("Unknown remote interface " + remoteApiIface);
        }
View Full Code Here

TOP

Related Classes of org.rhq.bindings.client.RhqManager

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.