Examples of EZBBeanNamingInfo


Examples of org.ow2.easybeans.api.bean.info.EZBBeanNamingInfo

                    // Look at local interfaces
                    IJLocal localItfs = classAnnotationMetadata.getLocalInterfaces();
                    IJRemote remoteItfs = classAnnotationMetadata.getRemoteInterfaces();
                    if (localItfs != null) {
                        for (String itf : localItfs.getInterfaces()) {
                            EZBBeanNamingInfo namingInfo = BeanNamingInfoHelper.buildInfo(classAnnotationMetadata, itf, "Local",
                                    this.applicationName);
                            addInterface(namingInfo, namingStrategy, url);
                        }
                    }

                    // Look at remote interfaces
                    if (remoteItfs != null) {
                        for (String itf : remoteItfs.getInterfaces()) {
                            EZBBeanNamingInfo namingInfo = BeanNamingInfoHelper.buildInfo(classAnnotationMetadata, itf, "Remote",
                                    this.applicationName);
                            addInterface(namingInfo, namingStrategy, url);
                        }
                    }

                    // Remote Home
                    String remoteHome = classAnnotationMetadata.getRemoteHome();
                    if (remoteHome != null) {
                        EZBBeanNamingInfo namingInfo = BeanNamingInfoHelper.buildInfo(classAnnotationMetadata, remoteHome,
                                "RemoteHome", this.applicationName);
                        addInterface(namingInfo, namingStrategy, url);
                    }

                    // Local Home
                    String localHome = classAnnotationMetadata.getLocalHome();
                    if (localHome != null) {
                        EZBBeanNamingInfo namingInfo = BeanNamingInfoHelper.buildInfo(classAnnotationMetadata, localHome,
                                "LocalHome", this.applicationName);
                        addInterface(namingInfo, namingStrategy, url);
                    }
                }
            }
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.