01: /**
02: * JOnAS: Java(TM) Open Application Server
03: * Copyright (C) 1999 Bull S.A.
04: * Contact: jonas-team@objectweb.org
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation; either
09: * version 2.1 of the License, or any later version.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: *
16: * You should have received a copy of the GNU Lesser General Public
17: * License along with this library; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19: * USA
20: *
21: * Initial developer(s): Philippe Coq
22: * --------------------------------------------------------------------------
23: * $Id: CommonEjbXml.java 4716 2004-05-10 11:45:44Z sauthieg $
24: * --------------------------------------------------------------------------
25: */package org.objectweb.jonas_ejb.deployment.xml;
26:
27: import org.objectweb.jonas_lib.deployment.xml.JndiEnvRefsGroupXml;
28: import org.objectweb.jonas_lib.deployment.xml.JLinkedList;
29:
30: /**
31: * This interface provides to the value of Xml elements common for session/entity/mdb
32: * @author Philippe Coq
33: */
34:
35: public interface CommonEjbXml extends JndiEnvRefsGroupXml {
36: /**
37: * @return ejb-name element
38: */
39: String getEjbName();
40:
41: /**
42: * @return home element
43: */
44: String getHome();
45:
46: /**
47: * @return remote element
48: */
49: String getRemote();
50:
51: /**
52: * @return local-home element
53: */
54: String getLocalHome();
55:
56: /**
57: * @return local element
58: */
59: String getLocal();
60:
61: /**
62: * @return ejb-class element
63: */
64: String getEjbClass();
65:
66: /**
67: * Gets the security-identity
68: * @return the security-identity
69: */
70: SecurityIdentity getSecurityIdentity();
71:
72: /**
73: * Gets the security-role-ref
74: * @return the security-role-ref
75: */
76: JLinkedList getSecurityRoleRefList();
77: }
|