// 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);
}
}
}