blob: dc113afbd55985d5f14bb75a51b7a1f33f54d838 [file] [log] [blame]
<%@ jet package="org.eclipse.jst.j2ee.ejb.internal.operations"
class="LocalHomeInterfaceTemplate"
%>
<% CreateSessionBeanTemplateModel model = (CreateSessionBeanTemplateModel) argument; %>
<%
if (model.getLocalHomePackage() != null && model.getLocalHomePackage().length() > 0) {
%>
package <%=model.getLocalHomePackage()%>;
<%
}
%>
import javax.ejb.CreateException;
import javax.ejb.EJBLocalHome;
<% if(!model.getLocalComponentPackage().equals(model.getLocalHomePackage())){%>
import <%= model.getLocalComponentPackage()%>.<%= model.getLocalComponentClassSimpleName()%>;
<%}%>
public interface <%=model.getLocalHomeClassSimpleName()%> extends EJBLocalHome {
public <%= model.getLocalComponentClassSimpleName() %> create() throws CreateException;
}