* http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157770
*/
log.warn("Populating JBoss-specific annotation metadata manually until done by deployers: " + this);
// Obtain annotations
RemoteBindings remoteBindings = this.getAnnotation(RemoteBindings.class);
RemoteBinding remoteBinding = this.getAnnotation(RemoteBinding.class);
RemoteHomeBinding remoteHomeBinding = this.getAnnotation(RemoteHomeBinding.class);
LocalHomeBinding localHomeBinding = this.getAnnotation(LocalHomeBinding.class);
// LocalBinding localBinding = this.getAnnotation(LocalBinding.class); // < No LocalBindingMetaData?
// Create a Set to hold RemoteBindings
Set<RemoteBinding> remoteBindingsSet = new HashSet<RemoteBinding>();
// Populate Set with Remote Bindings
if (remoteBindings != null)
{
for (RemoteBinding binding : remoteBindings.value())
{
remoteBindingsSet.add(binding);
}
}
if (remoteBinding != null)