1 19 20 package org.netbeans.modules.j2ee.api.ejbjar; 21 22 import java.io.IOException ; 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 import org.netbeans.modules.j2ee.dd.api.common.MessageDestinationRef; 27 import org.netbeans.modules.j2ee.dd.api.common.ResourceRef; 28 import org.openide.filesystems.FileObject; 29 30 38 public interface EnterpriseReferenceContainer { 39 40 58 String addEjbReference(EjbRef ref, FileObject referencingFile, String referencingClass, AntArtifact target) throws IOException ; 59 60 63 String addEjbLocalReference(EjbLocalRef localRef, FileObject referencingFile, String referencingClass, AntArtifact target) throws IOException ; 64 65 69 String getServiceLocatorName(); 70 71 75 void setServiceLocatorName(String serviceLocator) throws IOException ; 76 77 83 String addDestinationRef(MessageDestinationRef ref, FileObject referencingFile, String referencingClass) throws IOException ; 84 85 MessageDestinationRef createDestinationRef(String className) throws IOException ; 86 87 93 String addResourceRef(ResourceRef ref, FileObject referencingFile, String referencingClass) throws IOException ; 94 95 99 ResourceRef createResourceRef(String className) throws IOException ; 100 } 101 | Popular Tags |