KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > web > deployers > AbstractWarDeployerMBean


1 /*
2 * JBoss, Home of Professional Open Source
3 * Copyright 2005, JBoss Inc., and individual contributors as indicated
4 * by the @authors tag. See the copyright.txt in the distribution for a
5 * full listing of individual contributors.
6 *
7 * This is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU Lesser General Public License as
9 * published by the Free Software Foundation; either version 2.1 of
10 * the License, or (at your option) any later version.
11 *
12 * This software is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this software; if not, write to the Free
19 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21 */

22 package org.jboss.web.deployers;
23
24 /**
25  * MBean interface.
26  * @see org.jboss.web.AbstractWebDeployer
27  */

28 public interface AbstractWarDeployerMBean
29 {
30
31    /**
32     * Get the flag indicating if the normal Java2 parent first class loading model should be used over the servlet 2.3 web container first model.
33     * @return true for parent first, false for the servlet 2.3 model
34     */

35   boolean getJava2ClassLoadingCompliance() ;
36
37    /**
38     * Set the flag indicating if the normal Java2 parent first class loading model should be used over the servlet 2.3 web container first model.
39     * @param flag true for parent first, false for the servlet 2.3 model
40     */

41   void setJava2ClassLoadingCompliance(boolean flag) ;
42
43    /**
44     * Set the flag indicating if war archives should be unpacked. This may need to be set to false as long extraction paths under deploy can show up as deployment failures on some platforms.
45     * @return true is war archives should be unpacked */

46   boolean getUnpackWars() ;
47
48    /**
49     * Get the flag indicating if war archives should be unpacked. This may need to be set to false as long extraction paths under deploy can show up as deployment failures on some platforms.
50     * @param flag , true is war archives should be unpacked */

51   void setUnpackWars(boolean flag) ;
52
53    /**
54     * Get the flag indicating if ejb-link errors should be ignored in favour of trying the jndi-name in jboss-web.xml
55     * @return the LenientEjbLink flag
56     */

57   boolean getLenientEjbLink() ;
58
59    /**
60     * Set the flag indicating if ejb-link errors should be ignored in favour of trying the jndi-name in jboss-web.xml
61     */

62   void setLenientEjbLink(boolean flag) ;
63
64    /**
65     * Get the default security domain implementation to use if a war does not declare a security-domain.
66     * @return jndi name of the security domain binding to use.
67     */

68   java.lang.String JavaDoc getDefaultSecurityDomain() ;
69
70    /**
71     * Set the default security domain implementation to use if a war does not declare a security-domain.
72     * @param defaultSecurityDomain - jndi name of the security domain binding to use.
73     */

74   void setDefaultSecurityDomain(java.lang.String JavaDoc defaultSecurityDomain) ;
75
76    /**
77     * Get the session attribute number under which the caller Subject is stored
78     */

79   java.lang.String JavaDoc getSubjectAttributeName() ;
80
81    /**
82     * Set the session attribute number under which the caller Subject is stored
83     */

84   void setSubjectAttributeName(java.lang.String JavaDoc subjectAttributeName) ;
85
86 }
87
Popular Tags