1 19 20 package org.netbeans.modules.j2ee.api.ejbjar; 21 22 import org.openide.nodes.Node; 23 import org.netbeans.api.project.ant.AntArtifact; 24 import org.netbeans.modules.j2ee.dd.api.common.EjbLocalRef; 25 import org.netbeans.modules.j2ee.dd.api.common.EjbRef; 26 27 31 public interface EjbReference extends Node.Cookie { 32 33 36 boolean supportsLocalInvocation(); 37 38 boolean supportsRemoteInvocation(); 39 40 void populateReference(EjbRef ref); 41 42 void populateReference(EjbLocalRef ref); 43 44 AntArtifact getClientJarTarget(); 45 46 EjbRef createRef(); 47 48 EjbLocalRef createLocalRef(); 49 50 Object generateReferenceCode(Object target, EjbRef ref, boolean throwExceptions); 51 52 Object generateReferenceCode(Object target, EjbLocalRef ref, boolean throwExceptions); 53 54 Object generateServiceLocatorLookup(Object target, EjbRef ref, String serviceLocatorName, boolean throwExceptions); 55 56 Object generateServiceLocatorLookup(Object target, EjbLocalRef ref, String serviceLocatorName, boolean throwExceptions); 57 58 } 59 | Popular Tags |