Package org.xdoclet.plugin.ejb.interfaces

Examples of org.xdoclet.plugin.ejb.interfaces.RemoteInterfacePlugin


    }

    private JavaClass findBeanByInterface(Collection metadata, Type type) {
        JavaClass retVal = null;
        LocalInterfacePlugin localPlugin = EjbRuntime.getLocalInterfacePlugin();
        RemoteInterfacePlugin remotePlugin = EjbRuntime.getRemoteInterfacePlugin();

        if (log.isDebugEnabled()) {
            log.debug("Looking for bean with local|remote interface named " + type);
        }

        for (Iterator iter = metadata.iterator(); retVal == null && iter.hasNext();) {
            JavaClass javaClass = (JavaClass) iter.next();
            Type localType = localPlugin.getVirtualType(javaClass).getType();
            Type remoteType = remotePlugin.getVirtualType(javaClass).getType();

            if (localType.equals(type) || remoteType.equals(type)) {
                if (log.isDebugEnabled()) {
                    log.debug("Match found for " + javaClass.getFullyQualifiedName());
                    log.debug("Local Interface " + localType);
View Full Code Here


    }

    protected synchronized RemoteInterfacePlugin _getRemoteInterfacePlugin() {
        if (this.remoteInterfacePlugin == null) {
            this.remoteInterfacePlugin =
              new RemoteInterfacePlugin(null, null, config);
        }

        return this.remoteInterfacePlugin;
    }
View Full Code Here

TOP

Related Classes of org.xdoclet.plugin.ejb.interfaces.RemoteInterfacePlugin

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.