1 22 package org.jboss.annotation.ejb; 23 24 import java.lang.annotation.Annotation ; 25 import java.util.List ; 26 import org.jboss.annotation.ejb.RemoteBinding; 27 import org.jboss.annotation.ejb.RemoteBindings; 28 29 35 public class RemoteBindingsImpl implements RemoteBindings 36 { 37 private RemoteBinding[] bindings; 38 39 public RemoteBindingsImpl(RemoteBinding[] bindings) 40 { 41 this.bindings = bindings; 42 } 43 44 public RemoteBindingsImpl(List bindings) 45 { 46 this.bindings = (RemoteBinding[])bindings.toArray(new RemoteBinding[bindings.size()]); 47 } 48 49 public RemoteBinding[] value() 50 { 51 return bindings; 52 } 53 54 public Class <? extends Annotation > annotationType() 55 { 56 return null; 57 } 58 } 59 | Popular Tags |