Commit 5d48046aea1050a5f50216fde59703d484b75457
0 parents
created trunk directory and moved whole repo to it
Showing
234 changed files
with
6475 additions
and
0 deletions
.settings/org.jboss.tools.seam.core.prefs
0 → 100644
1 | +#Wed Aug 06 19:35:32 BST 2008 | |
2 | +action.package=pl.labno.bernard.seamTestInAction | |
3 | +action.sources=/seamTestInAction/src/hot | |
4 | +eclipse.preferences.version=1 | |
5 | +model.package=pl.labno.bernard.seamTestInAction | |
6 | +model.sources=/seamTestInAction/src/main | |
7 | +seam.ejb.project=seamTestInAction | |
8 | +seam.project.connection.profile= | |
9 | +seam.project.deployment.type=war | |
10 | +seam.project.settings.version=1.1 | |
11 | +seam.project.web.root.folder=/seamTestInAction/view | |
12 | +seam.runtime.name= | |
13 | +seam.test.creating=true | |
14 | +seam.test.project=seamTestInAction | |
15 | +test.package=pl.labno.bernard.seamTestInAction.test | |
16 | +test.sources=/seamTestInAction/src/test | ... | ... |
bootstrap/META-INF/persistence.properties
0 → 100644
1 | +hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup | |
2 | +#hibernate.connection.release_mode=after_statement | |
3 | +#hibernate.transaction.flush_before_completion=false | |
4 | +#hibernate.transaction.auto_close_session=false | |
5 | +#hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTranslatorFactory | |
6 | +#hibernate.hbm2ddl.auto=create-drop | |
7 | +#hibernate.hbm2ddl.auto=create | |
8 | +hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider | |
9 | +# Clustered cache with TreeCache | |
10 | +#hibernate.cache.provider_class=org.jboss.ejb3.entity.TreeCacheProviderHook | |
11 | +#hibernate.treecache.mbean.object_name=jboss.cache:service=EJB3EntityTreeCache | |
12 | +#hibernate.dialect=org.hibernate.dialect.HSQLDialect | |
13 | +hibernate.jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | |
14 | +hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | |
15 | +hibernate.bytecode.use_reflection_optimizer=false | |
16 | +# I don't think this is honored, but EJB3Deployer uses it | |
17 | +hibernate.bytecode.provider=javassist | |
\ No newline at end of file | ... | ... |
bootstrap/commons-logging.properties
0 → 100644
1 | +# The Sun JSF RI bundles and wraps commons-logging, which, for unknown reasons, disables any other | |
2 | +# commons-logging (my guess: the LogFactoryImpl detection routine is broken). This configuration | |
3 | +# file makes it work again (also for unknown reasons). | |
4 | +org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl | |
5 | +org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger | |
\ No newline at end of file | ... | ... |
bootstrap/conf/bootstrap-beans.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | + | |
3 | +<!-- | |
4 | + The bootstrap of the server | |
5 | +--> | |
6 | +<deployment xmlns="urn:jboss:bean-deployer:2.0"> | |
7 | + | |
8 | + <bean name="SystemProperties" class="org.jboss.embedded.util.SystemProperties"> | |
9 | + <property name="properties"> | |
10 | + <map keyClass="java.lang.String" valueClass="java.lang.String"> | |
11 | + <entry> | |
12 | + <key>jboss.bind.address</key> | |
13 | + <value>127.0.0.1</value> | |
14 | + </entry> | |
15 | + <entry> | |
16 | + <key>com.arjuna.ats.arjuna.common.propertiesFile</key> | |
17 | + <value>${jboss.home.dir}/conf/jbossjta-properties.xml</value> | |
18 | + </entry> | |
19 | + <entry> | |
20 | + <key>com.arjuna.ats.arjuna.objectstore.objectStoreDir</key> | |
21 | + <value>${jboss.server.data.dir}/ObjectStore</value> | |
22 | + </entry> | |
23 | + </map> | |
24 | + </property> | |
25 | + </bean> | |
26 | + | |
27 | + <!-- The legacy JMX kernel --> | |
28 | + <bean name="JMXKernel" class="org.jboss.embedded.adapters.JMXKernel"> | |
29 | + <property name="kernel"> | |
30 | + <inject bean="jboss.kernel:service=Kernel"/> | |
31 | + </property> | |
32 | + <property name="serverConfig"> | |
33 | + <inject bean="ServerConfig"/> | |
34 | + </property> | |
35 | + </bean> | |
36 | + | |
37 | + <!-- The MainDeployer --> | |
38 | + <bean name="MainDeployer" class="org.jboss.deployers.plugins.main.MainDeployerImpl"> | |
39 | + <property name="structuralDeployers"><inject bean="StructuralDeployers"/></property> | |
40 | + <property name="deployers"><inject bean="Deployers"/></property> | |
41 | + </bean> | |
42 | + | |
43 | + <!-- The holder for deployers that determine structure --> | |
44 | + <bean name="StructuralDeployers" class="org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl"> | |
45 | + <property name="structureBuilder"> | |
46 | + <!-- The consolidator of the structure information --> | |
47 | + <bean name="StructureBuilder" class="org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder"/> | |
48 | + </property> | |
49 | + <!-- Accept any implementor of structure deployer --> | |
50 | + <incallback method="addDeployer"/> | |
51 | + <uncallback method="removeDeployer"/> | |
52 | + </bean> | |
53 | + | |
54 | + <!-- The holder for deployers that do real deployment --> | |
55 | + <bean name="Deployers" class="org.jboss.deployers.plugins.deployers.DeployersImpl"> | |
56 | + <constructor><parameter><inject bean="jboss.kernel:service=KernelController"/></parameter></constructor> | |
57 | + <!-- Accept any implementor of deployer --> | |
58 | + <incallback method="addDeployer"/> | |
59 | + <uncallback method="removeDeployer"/> | |
60 | + </bean> | |
61 | + | |
62 | + <!-- A declared structure descriptor deployer --> | |
63 | + <bean name="DeclaredStructure" class="org.jboss.deployers.vfs.plugins.structure.explicit.DeclaredStructure"></bean> | |
64 | + | |
65 | + <!-- JAR Structure --> | |
66 | + <bean name="JARStructure" class="org.jboss.deployers.vfs.plugins.structure.jar.JARStructure"> | |
67 | + <!-- Unless specified the default list of suffixes is .zip, .ear, .jar, ,.rar, .war, .sar, .har, .aop --> | |
68 | + <constructor> | |
69 | + <parameter> | |
70 | + <set elementClass="java.lang.String"> | |
71 | + <value>.zip</value> | |
72 | + <value>.ear</value> | |
73 | + <value>.jar</value> | |
74 | + <value>.rar</value> | |
75 | + <value>.war</value> | |
76 | + <value>.sar</value> | |
77 | + <value>.har</value> | |
78 | + <value>.aop</value> | |
79 | + <value>.deployer</value> | |
80 | + <value>.beans</value> | |
81 | + </set> | |
82 | + </parameter> | |
83 | + </constructor> | |
84 | + <property name="candidateStructureVisitorFactory"> | |
85 | + <!-- Any file that is not an ordinary directory is a candidate --> | |
86 | + <bean name="JARStructureCandidates" class="org.jboss.deployers.vfs.spi.structure.helpers.DefaultCandidateStructureVisitorFactory"> | |
87 | + <!-- A filter to exclude some obvious non-subdeployments --> | |
88 | + <property name="filter"> | |
89 | + <bean name="JARFilter" class="org.jboss.virtual.plugins.vfs.helpers.SuffixesExcludeFilter"> | |
90 | + <constructor><parameter> | |
91 | + <list elementClass="java.lang.String"> | |
92 | + <!-- Exclude class files as subdeployments --> | |
93 | + <value>.class</value> | |
94 | + </list> | |
95 | + </parameter></constructor> | |
96 | + </bean> | |
97 | + </property> | |
98 | + </bean> | |
99 | + </property> | |
100 | + </bean> | |
101 | + | |
102 | + <!-- File Structure --> | |
103 | + <bean name="FileStructure" class="org.jboss.deployers.vfs.plugins.structure.file.FileStructure"> | |
104 | + <!-- Unless specified the default list of suffixes is -service.xml, -beans.xml, -ds.xml, -aop.xml --> | |
105 | + <constructor> | |
106 | + <parameter> | |
107 | + <set elementClass="java.lang.String"> | |
108 | + <value>-service.xml</value> | |
109 | + <value>-beans.xml</value> | |
110 | + <value>-ds.xml</value> | |
111 | + <value>-aop.xml</value> | |
112 | + </set> | |
113 | + </parameter> | |
114 | + </constructor> | |
115 | + </bean> | |
116 | + | |
117 | + <!-- POJO Deployment --> | |
118 | + <bean name="BeanDeployer" class="org.jboss.deployers.vfs.deployer.kernel.BeanDeployer"> | |
119 | + <property name="type">beans</property> | |
120 | + </bean> | |
121 | + <bean name="KernelDeploymentDeployer" class="org.jboss.deployers.vfs.deployer.kernel.KernelDeploymentDeployer"> | |
122 | + <property name="type">beans</property> | |
123 | + </bean> | |
124 | + <bean name="BeanMetaDataDeployer" class="org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer"> | |
125 | + <constructor><parameter><inject bean="jboss.kernel:service=Kernel"/></parameter></constructor> | |
126 | + <property name="type">beans</property> | |
127 | + </bean> | |
128 | + | |
129 | + <!-- JMX Deployment --> | |
130 | + <bean name="SARDeployer" class="org.jboss.system.deployers.SARDeployer"> | |
131 | + <property name="type">sar</property> | |
132 | + </bean> | |
133 | + <bean name="ServiceClassLoaderDeployer" class="org.jboss.embedded.ClassLoaderDeployer"/> | |
134 | + <bean name="ServiceDeploymentDeployer" class="org.jboss.system.deployers.ServiceDeploymentDeployer"> | |
135 | + <property name="type">sar</property> | |
136 | + </bean> | |
137 | + <bean name="ServiceDeployer" class="org.jboss.system.deployers.ServiceDeployer"> | |
138 | + <constructor><parameter><inject bean="JMXKernel" property="serviceController"/></parameter></constructor> | |
139 | + <property name="type">sar</property> | |
140 | + </bean> | |
141 | + | |
142 | + <!-- A filter for excluding files from the scanner --> | |
143 | + <bean name="DeploymentFilter" class="org.jboss.virtual.plugins.vfs.helpers.ExtensibleFilter"> | |
144 | + <!-- Files starting with theses strings are ignored --> | |
145 | + <property name="prefixes">#,%,\,,.,_$</property> | |
146 | + <!-- Files ending with theses strings are ignored --> | |
147 | + <property name="suffixes">#,$,%,~,\,v,.BAK,.bak,.old,.orig,.tmp,.rej,.sh</property> | |
148 | + <!-- Files matching with theses strings are ignored --> | |
149 | + <property name="matches">.make.state,.nse_depinfo,CVS,CVS.admin,RCS,RCSLOG,SCCS,TAGS,core,tags</property> | |
150 | + </bean> | |
151 | + | |
152 | + <!-- | |
153 | + JNDI Initialization of basic beans (NO REMOTING) | |
154 | + --> | |
155 | + <bean name="Naming" class="org.jnp.server.SingletonNamingServer"/> | |
156 | + <bean name="java:comp" class="org.jboss.naming.JavaCompInitializer"/> | |
157 | + | |
158 | + <!-- register Naming bean with dispatcher just in case we want to have a remote JNDI connection --> | |
159 | + <bean name="JndiRegistration" class="org.jboss.aspects.remoting.DispatcherRegistration"> | |
160 | + <property name="oid">JNDI</property> | |
161 | + <property name="target"><inject bean="Naming"/></property> | |
162 | + </bean> | |
163 | + | |
164 | + <!-- | |
165 | + Bootstrap old JMX-based core services | |
166 | + setup deployers | |
167 | + setup deploy/ directory | |
168 | + --> | |
169 | + <bean name="ResourcesToDeploy" class="org.jboss.embedded.DeploymentScanner"> | |
170 | + <property name="filter"> | |
171 | + <inject bean="DeploymentFilter"/> | |
172 | + </property> | |
173 | + <property name="mainDeployer"> | |
174 | + <inject bean="MainDeployer"/> | |
175 | + </property> | |
176 | + <property name="kernel"> | |
177 | + <inject bean="jboss.kernel:service=Kernel"/> | |
178 | + </property> | |
179 | + <property name="resources"> | |
180 | + <list elementClass="java.lang.String"> | |
181 | + <value>${jboss.embedded.bootstrap.resource.path}conf/jboss-service.xml</value> | |
182 | + </list> | |
183 | + </property> | |
184 | + </bean> | |
185 | + | |
186 | + <bean name="UserTransaction" class="org.jboss.embedded.adapters.LocalOnlyUserTransaction"/> | |
187 | + | |
188 | + <bean name="UserTransactionBinding" class="org.jboss.naming.JndiBinder"> | |
189 | + <property name="target"> | |
190 | + <inject bean="UserTransaction"/> | |
191 | + </property> | |
192 | + <property name="bindTo">UserTransaction</property> | |
193 | + <property name="serializable">false</property> | |
194 | + </bean> | |
195 | + | |
196 | + <!-- FIXME EMB-2 --> | |
197 | + <bean name="UserTransactionBinding2" class="org.jboss.naming.JndiBinder"> | |
198 | + <property name="target"> | |
199 | + <inject bean="UserTransaction"/> | |
200 | + </property> | |
201 | + <property name="bindTo">java:comp/UserTransaction</property> | |
202 | + <property name="serializable">false</property> | |
203 | + </bean> | |
204 | + | |
205 | + | |
206 | + <bean name="ResourcesToDeploy2" class="org.jboss.embedded.DeploymentScanner"> | |
207 | + <property name="filter"> | |
208 | + <inject bean="DeploymentFilter"/> | |
209 | + </property> | |
210 | + <property name="mainDeployer"> | |
211 | + <inject bean="MainDeployer"/> | |
212 | + </property> | |
213 | + <property name="kernel"> | |
214 | + <inject bean="jboss.kernel:service=Kernel"/> | |
215 | + </property> | |
216 | + <property name="directoriesByResource"> | |
217 | + <list elementClass="java.lang.String"> | |
218 | + <value>${jboss.embedded.bootstrap.resource.path}conf/jboss-service.xml/../deployers</value> | |
219 | + </list> | |
220 | + </property> | |
221 | + </bean> | |
222 | + <bean name="ResourcesToDeploy3" class="org.jboss.embedded.DeploymentScanner"> | |
223 | + <property name="filter"> | |
224 | + <inject bean="DeploymentFilter"/> | |
225 | + </property> | |
226 | + <property name="mainDeployer"> | |
227 | + <inject bean="MainDeployer"/> | |
228 | + </property> | |
229 | + <property name="kernel"> | |
230 | + <inject bean="jboss.kernel:service=Kernel"/> | |
231 | + </property> | |
232 | + <property name="directoriesByResource"> | |
233 | + <list elementClass="java.lang.String"> | |
234 | + <value>${jboss.embedded.bootstrap.resource.path}conf/jboss-service.xml/../deploy</value> | |
235 | + </list> | |
236 | + </property> | |
237 | + </bean> | |
238 | +</deployment> | ... | ... |
bootstrap/conf/jboss-service.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | + | |
3 | +<!-- $Id: jboss-service.xml 6916 2007-12-05 17:53:00Z pmuir $ --> | |
4 | + | |
5 | +<!-- ===================================================================== --> | |
6 | +<!-- JBoss Server Configuration --> | |
7 | +<!-- ===================================================================== --> | |
8 | + | |
9 | +<server> | |
10 | + | |
11 | + <!-- ==================================================================== --> | |
12 | + <!-- Main Deployer --> | |
13 | + <!-- ==================================================================== --> | |
14 | + <mbean code="org.jboss.deployment.MainDeployer" | |
15 | + name="jboss.system:service=MainDeployer"> | |
16 | + <!-- This is used to delegate the deployment handling --> | |
17 | + <attribute name="KernelMainDeployer"><inject bean="MainDeployer" /></attribute> | |
18 | + </mbean> | |
19 | + | |
20 | + <!-- ==================================================================== --> | |
21 | + <!-- SAR Deployer --> | |
22 | + <!-- ==================================================================== --> | |
23 | + <mbean code="org.jboss.deployment.SARDeployer" | |
24 | + name="jboss.system:service=ServiceDeployer"> | |
25 | + <depends>jboss.system:service=MainDeployer</depends> | |
26 | + </mbean> | |
27 | + | |
28 | + <!-- ==================================================================== --> | |
29 | + <!-- Security --> | |
30 | + <!-- ==================================================================== --> | |
31 | + | |
32 | + <mbean code="org.jboss.security.plugins.SecurityConfig" | |
33 | + name="jboss.security:service=SecurityConfig"> | |
34 | + <attribute name="LoginConfig">jboss.security:service=XMLLoginConfig</attribute> | |
35 | + <depends>jboss.security:service=XMLLoginConfig</depends> | |
36 | + </mbean> | |
37 | + <mbean code="org.jboss.security.auth.login.XMLLoginConfig" | |
38 | + name="jboss.security:service=XMLLoginConfig"> | |
39 | + <attribute name="ConfigResource">${jboss.embedded.bootstrap.resource.path}conf/login-config.xml</attribute> | |
40 | + </mbean> | |
41 | + | |
42 | + <!-- JAAS security manager and realm mapping --> | |
43 | + <mbean code="org.jboss.security.plugins.JaasSecurityManagerService" | |
44 | + name="jboss.security:service=JaasSecurityManager"> | |
45 | + <!-- A flag which indicates whether the SecurityAssociation server mode | |
46 | + is set on service creation. This is true by default since the | |
47 | + SecurityAssociation should be thread local for multi-threaded server | |
48 | + operation. | |
49 | + --> | |
50 | + <attribute name="ServerMode">true</attribute> | |
51 | + <attribute name="SecurityManagerClassName">org.jboss.security.plugins.JaasSecurityManager</attribute> | |
52 | + <attribute name="DefaultUnauthenticatedPrincipal">anonymous</attribute> | |
53 | + <!-- DefaultCacheTimeout: Specifies the default timed cache policy timeout | |
54 | + in seconds. | |
55 | + If you want to disable caching of security credentials, set this to 0 to | |
56 | + force authentication to occur every time. This has no affect if the | |
57 | + AuthenticationCacheJndiName has been changed from the default value. | |
58 | + --> | |
59 | + <attribute name="DefaultCacheTimeout">1800</attribute> | |
60 | + <!-- DefaultCacheResolution: Specifies the default timed cache policy | |
61 | + resolution in seconds. This controls the interval at which the cache | |
62 | + current timestamp is updated and should be less than the DefaultCacheTimeout | |
63 | + in order for the timeout to be meaningful. This has no affect if the | |
64 | + AuthenticationCacheJndiName has been changed from the default value. | |
65 | + --> | |
66 | + <attribute name="DefaultCacheResolution">60</attribute> | |
67 | + <!-- DeepCopySubjectMode: This set the copy mode of subjects done by the | |
68 | + security managers to be deep copies that makes copies of the subject | |
69 | + principals and credentials if they are cloneable. It should be set to | |
70 | + true if subject include mutable content that can be corrupted when | |
71 | + multiple threads have the same identity and cache flushes/logout clearing | |
72 | + the subject in one thread results in subject references affecting other | |
73 | + threads. | |
74 | + --> | |
75 | + <attribute name="DeepCopySubjectMode">false</attribute> | |
76 | + </mbean> | |
77 | + | |
78 | + <!-- Authorization manager--> | |
79 | + <mbean code="org.jboss.security.plugins.AuthorizationManagerService" | |
80 | + name="jboss.security:service=AuthorizationManager"> | |
81 | + <attribute name="AuthorizationManagerClassName">org.jboss.security.plugins.JBossAuthorizationManager</attribute> | |
82 | + </mbean> | |
83 | + | |
84 | + <!-- ==================================================================== --> | |
85 | + <!-- Transactions --> | |
86 | + <!-- ==================================================================== --> | |
87 | + | |
88 | + <!-- JBossTS JTA --> | |
89 | + <mbean code="com.arjuna.ats.jbossatx.jta.TransactionManagerService" | |
90 | + name="jboss:service=TransactionManager"> | |
91 | + <attribute name="TransactionTimeout">300</attribute> | |
92 | + <attribute name="ObjectStoreDir">${jboss.server.data.dir}/tx-object-store</attribute> | |
93 | + </mbean> | |
94 | + | |
95 | + <mbean code="org.jboss.util.threadpool.BasicThreadPool" | |
96 | + name="jboss.jca:service=WorkManagerThreadPool"> | |
97 | + <!-- The name that appears in thread names --> | |
98 | + <attribute name="Name">WorkManager</attribute> | |
99 | + <!-- The maximum amount of work in the queue --> | |
100 | + <attribute name="MaximumQueueSize">1024</attribute> | |
101 | + <!-- The maximum number of active threads --> | |
102 | + <attribute name="MaximumPoolSize">100</attribute> | |
103 | + <!-- How long to keep threads alive after their last work (default one minute) --> | |
104 | + <attribute name="KeepAliveTime">60000</attribute> | |
105 | + </mbean> | |
106 | + | |
107 | + <mbean code="org.jboss.resource.work.JBossWorkManager" | |
108 | + name="jboss.jca:service=WorkManager"> | |
109 | + <depends optional-attribute-name="ThreadPoolName">jboss.jca:service=WorkManagerThreadPool</depends> | |
110 | + <depends optional-attribute-name="XATerminatorName">jboss:service=TransactionManager</depends> | |
111 | + </mbean> | |
112 | + | |
113 | + <!-- | |
114 | + | The CachedConnectionManager is used partly to relay started UserTransactions to | |
115 | + | open connections so they may be enrolled in the new tx. | |
116 | + --> | |
117 | + <mbean code="org.jboss.resource.connectionmanager.CachedConnectionManager" | |
118 | + name="jboss.jca:service=CachedConnectionManager"> | |
119 | + <depends optional-attribute-name="TransactionManagerServiceName">jboss:service=TransactionManager</depends> | |
120 | + | |
121 | + <!-- Enable connection close debug monitoring --> | |
122 | + <attribute name="Debug">true</attribute> | |
123 | + | |
124 | + </mbean> | |
125 | + | |
126 | + <mbean code="org.jboss.naming.JNDIView" | |
127 | + name="jboss:service=JNDIView"> | |
128 | + <!-- The HANamingService service name --> | |
129 | + <attribute name="HANamingService">jboss:service=HAJNDI</attribute> | |
130 | + </mbean> | |
131 | + | |
132 | +</server> | ... | ... |
bootstrap/conf/jbossjta-properties.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<transaction-service> | |
3 | + <properties depends="common" name="arjuna"> | |
4 | + <!-- | |
5 | + Transaction Reaper Timeout (default is 120000 ms). | |
6 | + --> | |
7 | + <property | |
8 | + name="com.arjuna.ats.arjuna.coordinator.txReaperTimeout" value="120000"/> | |
9 | + <!-- | |
10 | + Transaction Reaper Mode, can be: NORMAL or DYNAMIC (default is NORMAL). | |
11 | + --> | |
12 | + <property name="com.arjuna.ats.arjuna.coordinator.txReaperMode" value="DYNAMIC"/> | |
13 | + <!-- | |
14 | + Transaction Reaper Cancel Wait Period (default is 500 ms, min is 10 msecs). | |
15 | + --> | |
16 | + <property | |
17 | + name="com.arjuna.ats.arjuna.coordinator.txReaperCancelWaitPeriod" value="500"/> | |
18 | + <!-- | |
19 | + Transaction Reaper Cancel Fail Wait Period (default is 500 ms, min is 10 msecs). | |
20 | + --> | |
21 | + <property | |
22 | + name="com.arjuna.ats.arjuna.coordinator.txReaperCancelFailWaitPeriod" value="500"/> | |
23 | + <!-- | |
24 | + Transaction Reaper Zombie Max (default is 8). | |
25 | + --> | |
26 | + <property | |
27 | + name="com.arjuna.ats.arjuna.coordinator.txReaperZombieMax" value="8"/> | |
28 | + <!-- | |
29 | + (default is NO) | |
30 | + --> | |
31 | + <property name="com.arjuna.ats.arjuna.coordinator.asyncCommit" value="NO"/> | |
32 | + <!-- | |
33 | + (default is NO) | |
34 | + --> | |
35 | + <property name="com.arjuna.ats.arjuna.coordinator.asyncPrepare" value="NO"/> | |
36 | + <!-- | |
37 | + (default is YES) | |
38 | + --> | |
39 | + <property | |
40 | + name="com.arjuna.ats.arjuna.coordinator.commitOnePhase" value="YES"/> | |
41 | + <!-- | |
42 | + (default is defaultStore) | |
43 | + --> | |
44 | + <property name="com.arjuna.ats.arjuna.objectstore.localOSRoot" value="defaultStore"/> | |
45 | + <!-- | |
46 | + default is under user.home - must be writeable!) | |
47 | + --> | |
48 | + <property | |
49 | + name="com.arjuna.ats.arjuna.objectstore.objectStoreDir" value="PutObjectStoreDirHere"/> | |
50 | + <!-- | |
51 | + (default is ON) | |
52 | + --> | |
53 | + <property | |
54 | + name="com.arjuna.ats.arjuna.objectstore.objectStoreSync" value="ON"/> | |
55 | + <!-- | |
56 | + (default is ShadowNoFileLockStore) | |
57 | + --> | |
58 | + <property | |
59 | + name="com.arjuna.ats.arjuna.objectstore.objectStoreType" value="ShadowNoFileLockStore"/> | |
60 | + <!-- | |
61 | + (default is 255) | |
62 | + --> | |
63 | + <property | |
64 | + name="com.arjuna.ats.arjuna.objectstore.hashedDirectories" value="255"/> | |
65 | + <!-- | |
66 | + (default is ON) | |
67 | + --> | |
68 | + <property | |
69 | + name="com.arjuna.ats.arjuna.objectstore.transactionSync" value="ON"/> | |
70 | + <!-- | |
71 | + (Must be unique across all Arjuna instances.) | |
72 | + --> | |
73 | + <property name="com.arjuna.ats.arjuna.xa.nodeIdentifier" value="1"/> | |
74 | + <!-- property | |
75 | + name="com.arjuna.ats.arjuna.coordinator.actionStore" | |
76 | + value="HashedActionStore" | |
77 | + value="JDBCActionStore" | |
78 | + --> | |
79 | + <!-- property | |
80 | + name="com.arjuna.ats.arjuna.objectstore.jdbcTxDbAccess" | |
81 | + value="JDBCAccess" | |
82 | + --> | |
83 | + <!-- property | |
84 | + name="com.arjuna.ats.arjuna.objectstore.objectStoreType" | |
85 | + value="ShadowNoFileLockStore" | |
86 | + value="JDBCStore" | |
87 | + --> | |
88 | + <!-- property | |
89 | + name="com.arjuna.ats.arjuna.objectstore.jdbcUserDbAccess" | |
90 | + value="JDBCAccess" | |
91 | + --> | |
92 | + <!-- property | |
93 | + name="com.arjuna.ats.arjuna.objectstore.jdbcPoolSizeInitial" | |
94 | + value="1" | |
95 | + --> | |
96 | + <!-- property | |
97 | + name="com.arjuna.ats.arjuna.objectstore.jdbcPoolSizeMaximum" | |
98 | + value="1" | |
99 | + --> | |
100 | + <!-- property | |
101 | + name="com.arjuna.ats.arjuna.objectstore.jdbcPoolPutConnections" | |
102 | + value="false" | |
103 | + --> | |
104 | + <!-- property | |
105 | + name="com.arjuna.ats.arjuna.internal.arjuna.objectstore.cacheStore.size" | |
106 | + value="" | |
107 | + --> | |
108 | + <!-- property | |
109 | + name="com.arjuna.ats.arjuna.internal.arjuna.objectstore.cacheStore.period" | |
110 | + value="" | |
111 | + --> | |
112 | + <!-- | |
113 | + The location for creating temporary files, e.g., Uids. | |
114 | + Default is under user.home. | |
115 | + IMPORTANT: make sure the directory is lockable, e.g., /tmp on Unix | |
116 | + may not be! | |
117 | + --> | |
118 | + <!-- | |
119 | + <property | |
120 | + name="com.arjuna.ats.arjuna.common.varDir" | |
121 | + value="var"/> | |
122 | + --> | |
123 | + </properties> | |
124 | + <properties name="common"> | |
125 | + <!-- CLF 2.0 properties --> | |
126 | + <property name="com.arjuna.common.util.logging.DebugLevel" | |
127 | + type="System" value="0x00000000"/> | |
128 | + <property name="com.arjuna.common.util.logging.FacilityLevel" | |
129 | + type="System" value="0xffffffff"/> | |
130 | + <property name="com.arjuna.common.util.logging.VisibilityLevel" | |
131 | + type="System" value="0xffffffff"/> | |
132 | + <property name="com.arjuna.common.util.logger" type="System" value="log4j"/> | |
133 | + </properties> | |
134 | + <properties depends="arjuna" name="txoj"> | |
135 | + <!-- | |
136 | + (default is LockStore of installation - must be writeable!) | |
137 | + --> | |
138 | + <!-- | |
139 | + <property | |
140 | + name="com.arjuna.ats.txoj.lockstore.lockStoreDir" | |
141 | + value="LockStore"/> | |
142 | + --> | |
143 | + <!-- | |
144 | + (default is BasicLockStore) | |
145 | + --> | |
146 | + <property name="com.arjuna.ats.txoj.lockstore.lockStoreType" value="BasicLockStore"/> | |
147 | + <!-- | |
148 | + (default is NO) | |
149 | + --> | |
150 | + <property name="com.arjuna.ats.txoj.lockstore.multipleLockStore" value="NO"/> | |
151 | + <!-- | |
152 | + (default is YES) | |
153 | + --> | |
154 | + <property name="com.arjuna.ats.txoj.lockstore.singleLockStore" value="YES"/> | |
155 | + <!-- | |
156 | + (default is YES) | |
157 | + --> | |
158 | + <property | |
159 | + name="com.arjuna.ats.txoj.lockstore.allowNestedLocking" value="YES"/> | |
160 | + </properties> | |
161 | + <properties depends="arjuna" name="jta"> | |
162 | + <!-- | |
163 | + Support subtransactions in the JTA layer? | |
164 | + Default is NO. | |
165 | + --> | |
166 | + <property name="com.arjuna.ats.jta.supportSubtransactions" value="NO"/> | |
167 | + <property name="com.arjuna.ats.jta.jtaTMImplementation" value="com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionManagerImple"/> | |
168 | + <!-- | |
169 | + com.arjuna.ats.internal.jta.transaction.jts.TransactionManagerImple | |
170 | + --> | |
171 | + <property name="com.arjuna.ats.jta.jtaUTImplementation" value="com.arjuna.ats.internal.jta.transaction.arjunacore.UserTransactionImple"/> | |
172 | + <!-- | |
173 | + com.arjuna.ats.internal.jta.transaction.jts.UserTransactionImple | |
174 | + --> | |
175 | + </properties> | |
176 | + <properties depends="arjuna,txoj,jta" name="recoverymanager"> | |
177 | + <!-- | |
178 | + Properties used only by the RecoveryManager. | |
179 | + --> | |
180 | + <!-- | |
181 | + Periodic recovery settings. | |
182 | + Time values in this section are in seconds. | |
183 | + --> | |
184 | + <!-- | |
185 | + Interval in seconds between initiating the periodic recovery modules. | |
186 | + Default is 120 seconds. | |
187 | + --> | |
188 | + <property | |
189 | + name="com.arjuna.ats.arjuna.recovery.periodicRecoveryPeriod" value="120"/> | |
190 | + <!-- | |
191 | + Interval in seconds between first and second pass of periodic recovery. | |
192 | + Default is 10 seconds. | |
193 | + --> | |
194 | + <property | |
195 | + name="com.arjuna.ats.arjuna.recovery.recoveryBackoffPeriod" value="10"/> | |
196 | + <!-- | |
197 | + Periodic recovery modules to use. Invoked in sort-order of names. | |
198 | + --> | |
199 | + <property | |
200 | + name="com.arjuna.ats.arjuna.recovery.recoveryExtension1" value="com.arjuna.ats.internal.arjuna.recovery.AtomicActionRecoveryModule"/> | |
201 | + <property | |
202 | + name="com.arjuna.ats.arjuna.recovery.recoveryExtension2" value="com.arjuna.ats.internal.txoj.recovery.TORecoveryModule"/> | |
203 | + <property | |
204 | + name="com.arjuna.ats.arjuna.recovery.recoveryExtension3" value="com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule"/> | |
205 | + <!-- | |
206 | + Expired entry removal | |
207 | + --> | |
208 | + <!-- | |
209 | + Expiry scanners to use (order of invocation is random). | |
210 | + Names must begin with "com.arjuna.ats.arjuna.recovery.expiryScanner" | |
211 | + --> | |
212 | + <property | |
213 | + name="com.arjuna.ats.arjuna.recovery.expiryScannerTransactionStatusManager" value="com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionStatusManagerScanner"/> | |
214 | + <!-- | |
215 | + Interval, in hours, between running the expiry scanners. | |
216 | + This can be quite long. The absolute value determines the interval - | |
217 | + if the value is negative, the scan will NOT be run until after one | |
218 | + interval has elapsed. If positive the first scan will be immediately | |
219 | + after startup. Zero will prevent any scanning. | |
220 | + Default = 12 = run immediately, then every 12 hours. | |
221 | + --> | |
222 | + <property | |
223 | + name="com.arjuna.ats.arjuna.recovery.expiryScanInterval" value="12"/> | |
224 | + <!-- | |
225 | + Age, in hours, for removal of transaction status manager item. | |
226 | + This should be longer than any ts-using process will remain running. | |
227 | + Zero = Never removed. Default is 12. | |
228 | + --> | |
229 | + <property | |
230 | + name="com.arjuna.ats.arjuna.recovery.transactionStatusManagerExpiryTime" value="12"/> | |
231 | + <!-- | |
232 | + Use this to fix the port on which the TransactionStatusManager listens, | |
233 | + The default behaviour is to use any free port. | |
234 | + --> | |
235 | + <property | |
236 | + name="com.arjuna.ats.arjuna.recovery.transactionStatusManagerPort" value="0"/> | |
237 | + </properties> | |
238 | + <properties depends="jta" name="jdbc"> | |
239 | + <!-- | |
240 | + property name="com.arjuna.ats.jdbc.isolationLevel" value="TRANSACTION_SERIALIZABLE"/> | |
241 | + --> | |
242 | + </properties> | |
243 | +</transaction-service> | ... | ... |
bootstrap/conf/login-config.xml
0 → 100644
1 | +<?xml version='1.0'?> | |
2 | + | |
3 | +<!DOCTYPE policy PUBLIC | |
4 | + "-//JBoss//DTD JBOSS Security Config 3.0//EN" | |
5 | + "http://www.jboss.org/j2ee/dtd/security_config.dtd"> | |
6 | + | |
7 | +<!-- The XML based JAAS login configuration read by the | |
8 | +org.jboss.security.auth.login.XMLLoginConfig mbean. Add | |
9 | +an application-policy element for each security domain. | |
10 | + | |
11 | +The outline of the application-policy is: | |
12 | +<application-policy name="security-domain-name"> | |
13 | + <authentication> | |
14 | + <login-module code="login.module1.class.name" flag="control_flag"> | |
15 | + <module-option name = "option1-name">option1-value</module-option> | |
16 | + <module-option name = "option2-name">option2-value</module-option> | |
17 | + ... | |
18 | + </login-module> | |
19 | + | |
20 | + <login-module code="login.module2.class.name" flag="control_flag"> | |
21 | + ... | |
22 | + </login-module> | |
23 | + ... | |
24 | + </authentication> | |
25 | +</application-policy> | |
26 | + | |
27 | +$Revision: 6916 $ | |
28 | +--> | |
29 | + | |
30 | +<policy> | |
31 | + <application-policy name="HsqlDbRealm"> | |
32 | + <authentication> | |
33 | + <login-module code="org.jboss.resource.security.ConfiguredIdentityLoginModule" | |
34 | + flag="required"> | |
35 | + <module-option name="principal">sa</module-option> | |
36 | + <module-option name="userName">sa</module-option> | |
37 | + <module-option name="password"></module-option> | |
38 | + <module-option name="managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=DefaultDS</module-option> | |
39 | + </login-module> | |
40 | + </authentication> | |
41 | + </application-policy> | |
42 | + | |
43 | + <application-policy name="messaging"> | |
44 | + <authentication> | |
45 | + <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag = "required"> | |
46 | + <module-option name="unauthenticatedIdentity">guest</module-option> | |
47 | + <module-option name="usersProperties">conf/props/messaging-users.properties</module-option> | |
48 | + <module-option name="rolesProperties">conf/props/messaging-roles.properties</module-option> | |
49 | + </login-module> | |
50 | + </authentication> | |
51 | + </application-policy> | |
52 | + | |
53 | + | |
54 | + <!-- Used by clients within the application server VM such as | |
55 | + mbeans and servlets that access EJBs. | |
56 | + --> | |
57 | + <application-policy name="client-login"> | |
58 | + <authentication> | |
59 | + <login-module code="org.jboss.security.ClientLoginModule" | |
60 | + flag="required"> | |
61 | + <!-- Any existing security context will be restored on logout --> | |
62 | + <module-option name="restore-login-identity">true</module-option> | |
63 | + </login-module> | |
64 | + </authentication> | |
65 | + </application-policy> | |
66 | + | |
67 | + <application-policy name="other"> | |
68 | + <!-- A simple server login module, which can be used when the number | |
69 | + of users is relatively small. It uses two properties files: | |
70 | + users.properties, which holds users (key) and their password (value). | |
71 | + roles.properties, which holds users (key) and a comma-separated list of | |
72 | + their roles (value). | |
73 | + The unauthenticatedIdentity property defines the name of the principal | |
74 | + that will be used when a null username and password are presented as is | |
75 | + the case for an unuathenticated web client or MDB. If you want to | |
76 | + allow such users to be authenticated add the property, e.g., | |
77 | + unauthenticatedIdentity="nobody" | |
78 | + --> | |
79 | + <authentication> | |
80 | + <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" | |
81 | + flag="required"/> | |
82 | + </authentication> | |
83 | + </application-policy> | |
84 | + | |
85 | +</policy> | |
86 | + | ... | ... |
bootstrap/data/hypersonic/localDB.log
0 → 100644
1 | +/*C3*/SET SCHEMA PUBLIC | |
2 | +CONNECT USER SA | |
3 | +/*C4*/SET SCHEMA PUBLIC | |
4 | +CONNECT USER SA | |
5 | +SET AUTOCOMMIT FALSE | |
6 | +INSERT INTO JBM_DUAL VALUES(1) | |
7 | +COMMIT | |
8 | +DELETE FROM JBM_COUNTER WHERE NAME='MESSAGE_ID' | |
9 | +INSERT INTO JBM_COUNTER VALUES('MESSAGE_ID',20480) | |
10 | +COMMIT | |
11 | +DELETE FROM JBM_COUNTER WHERE NAME='CHANNEL_ID' | |
12 | +INSERT INTO JBM_COUNTER VALUES('CHANNEL_ID',50) | |
13 | +COMMIT | |
14 | +DELETE FROM JBM_COUNTER WHERE NAME='TRANSACTION_ID' | |
15 | +INSERT INTO JBM_COUNTER VALUES('TRANSACTION_ID',5120) | |
16 | +COMMIT | |
17 | +SET AUTOCOMMIT TRUE | |
18 | +drop table TAG if exists | |
19 | +create table TAG (ID bigint generated by default as identity (start with 1), NAME varchar(20) not null, VERSION integer, primary key (ID)) | |
20 | +drop table TAG if exists | |
21 | +create table TAG (ID bigint generated by default as identity (start with 1), NAME varchar(20) not null, VERSION integer, primary key (ID)) | |
22 | +SET AUTOCOMMIT FALSE | |
23 | +INSERT INTO TAG VALUES(1,'My new legal act',0) | |
24 | +COMMIT | ... | ... |
bootstrap/data/hypersonic/localDB.properties
0 → 100644
1 | +#HSQL Database Engine 1.8.0.8 | |
2 | +#Wed Sep 23 12:01:20 CEST 2009 | |
3 | +hsqldb.script_format=0 | |
4 | +runtime.gc_interval=0 | |
5 | +sql.enforce_strict_size=false | |
6 | +hsqldb.cache_size_scale=8 | |
7 | +readonly=false | |
8 | +hsqldb.nio_data_file=true | |
9 | +hsqldb.cache_scale=14 | |
10 | +version=1.8.0 | |
11 | +hsqldb.default_table_type=memory | |
12 | +hsqldb.cache_file_scale=1 | |
13 | +hsqldb.log_size=200 | |
14 | +modified=yes | |
15 | +hsqldb.cache_version=1.7.0 | |
16 | +hsqldb.original_version=1.8.0 | |
17 | +hsqldb.compatible_version=1.8.0 | ... | ... |
bootstrap/data/hypersonic/localDB.script
0 → 100644
1 | +CREATE SCHEMA PUBLIC AUTHORIZATION DBA | |
2 | +CREATE MEMORY TABLE JBM_DUAL(DUMMY INTEGER) | |
3 | +CREATE MEMORY TABLE JBM_MSG_REF(CHANNEL_ID BIGINT NOT NULL,MESSAGE_ID BIGINT NOT NULL,TRANSACTION_ID BIGINT,STATE CHAR(1),ORD BIGINT,PAGE_ORD BIGINT,DELIVERY_COUNT INTEGER,SCHED_DELIVERY BIGINT,PRIMARY KEY(CHANNEL_ID,MESSAGE_ID)) | |
4 | +CREATE INDEX JBM_MSG_REF_TX ON JBM_MSG_REF(TRANSACTION_ID) | |
5 | +CREATE INDEX JBM_MSG_REF_ORD ON JBM_MSG_REF(ORD) | |
6 | +CREATE INDEX JBM_MSG_REF__PAGE_ORD ON JBM_MSG_REF(PAGE_ORD) | |
7 | +CREATE INDEX JBM_MSG_REF_MESSAGE_ID ON JBM_MSG_REF(MESSAGE_ID) | |
8 | +CREATE INDEX JBM_MSG_REF_SCHED_DELIVERY ON JBM_MSG_REF(SCHED_DELIVERY) | |
9 | +CREATE MEMORY TABLE JBM_MSG(MESSAGE_ID BIGINT NOT NULL PRIMARY KEY,RELIABLE CHAR(1),EXPIRATION BIGINT,TIMESTAMP BIGINT,PRIORITY TINYINT,TYPE TINYINT,INS_TIME BIGINT,HEADERS LONGVARBINARY,PAYLOAD LONGVARBINARY) | |
10 | +CREATE INDEX JBM_MSG_REF_TIMESTAMP ON JBM_MSG(TIMESTAMP) | |
11 | +CREATE MEMORY TABLE JBM_TX(NODE_ID INTEGER,TRANSACTION_ID BIGINT NOT NULL PRIMARY KEY,BRANCH_QUAL VARBINARY(254),FORMAT_ID INTEGER,GLOBAL_TXID VARBINARY(254)) | |
12 | +CREATE MEMORY TABLE JBM_COUNTER(NAME VARCHAR(255) NOT NULL PRIMARY KEY,NEXT_ID BIGINT) | |
13 | +CREATE MEMORY TABLE JBM_USER(USER_ID VARCHAR(32) NOT NULL PRIMARY KEY,PASSWD VARCHAR(32) NOT NULL,CLIENTID VARCHAR(128)) | |
14 | +CREATE MEMORY TABLE JBM_ROLE(ROLE_ID VARCHAR(32) NOT NULL,USER_ID VARCHAR(32) NOT NULL,PRIMARY KEY(USER_ID,ROLE_ID)) | |
15 | +CREATE MEMORY TABLE JBM_POSTOFFICE(POSTOFFICE_NAME VARCHAR(255) NOT NULL,NODE_ID INTEGER NOT NULL,QUEUE_NAME VARCHAR(255) NOT NULL,CONDITION VARCHAR(1023),SELECTOR VARCHAR(1023),CHANNEL_ID BIGINT,CLUSTERED CHAR(1),ALL_NODES CHAR(1),PRIMARY KEY(POSTOFFICE_NAME,NODE_ID,QUEUE_NAME)) | |
16 | +CREATE MEMORY TABLE TAG(ID BIGINT GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,NAME VARCHAR(20) NOT NULL,VERSION INTEGER) | |
17 | +ALTER TABLE TAG ALTER COLUMN ID RESTART WITH 2 | |
18 | +CREATE USER SA PASSWORD "" | |
19 | +GRANT DBA TO SA | |
20 | +SET WRITE_DELAY 10 | |
21 | +SET SCHEMA PUBLIC | |
22 | +INSERT INTO JBM_DUAL VALUES(1) | |
23 | +INSERT INTO JBM_DUAL VALUES(1) | |
24 | +INSERT INTO JBM_DUAL VALUES(1) | |
25 | +INSERT INTO JBM_DUAL VALUES(1) | |
26 | +INSERT INTO JBM_COUNTER VALUES('CHANNEL_ID',40) | |
27 | +INSERT INTO JBM_COUNTER VALUES('MESSAGE_ID',16384) | |
28 | +INSERT INTO JBM_COUNTER VALUES('TRANSACTION_ID',4096) | |
29 | +INSERT INTO JBM_USER VALUES('dynsub','dynsub',NULL) | |
30 | +INSERT INTO JBM_USER VALUES('guest','guest',NULL) | |
31 | +INSERT INTO JBM_USER VALUES('j2ee','j2ee',NULL) | |
32 | +INSERT INTO JBM_USER VALUES('john','needle','DurableSubscriberExample') | |
33 | +INSERT INTO JBM_USER VALUES('nobody','nobody',NULL) | |
34 | +INSERT INTO JBM_ROLE VALUES('durpublisher','dynsub') | |
35 | +INSERT INTO JBM_ROLE VALUES('publisher','dynsub') | |
36 | +INSERT INTO JBM_ROLE VALUES('guest','guest') | |
37 | +INSERT INTO JBM_ROLE VALUES('j2ee','guest') | |
38 | +INSERT INTO JBM_ROLE VALUES('john','guest') | |
39 | +INSERT INTO JBM_ROLE VALUES('durpublisher','john') | |
40 | +INSERT INTO JBM_ROLE VALUES('publisher','john') | |
41 | +INSERT INTO JBM_ROLE VALUES('subscriber','john') | |
42 | +INSERT INTO JBM_ROLE VALUES('noacc','nobody') | |
43 | +INSERT INTO JBM_POSTOFFICE VALUES('JMS post office',0,'DLQ','queue.DLQ',NULL,0,'N','N') | |
44 | +INSERT INTO JBM_POSTOFFICE VALUES('JMS post office',0,'ExpiryQueue','queue.ExpiryQueue',NULL,1,'N','N') | |
45 | +INSERT INTO TAG VALUES(1,'My new legal act',0) | ... | ... |
No preview for this file type
No preview for this file type
bootstrap/deploy/ejb3-interceptors-aop.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!DOCTYPE aop PUBLIC | |
3 | + "-//JBoss//DTD JBOSS AOP 1.0//EN" | |
4 | + "http://labs.jboss.com/portal/jbossaop/dtd/jboss-aop_1_0.dtd"> | |
5 | + | |
6 | +<aop> | |
7 | + <interceptor class="org.jboss.aspects.remoting.InvokeRemoteInterceptor" scope="PER_VM"/> | |
8 | + <interceptor class="org.jboss.aspects.security.SecurityClientInterceptor" scope="PER_VM"/> | |
9 | + <interceptor class="org.jboss.aspects.tx.ClientTxPropagationInterceptor" scope="PER_VM"/> | |
10 | + <interceptor class="org.jboss.ejb3.remoting.IsLocalInterceptor" scope="PER_VM"/> | |
11 | + <interceptor class="org.jboss.aspects.remoting.ClusterChooserInterceptor" scope="PER_VM"/> | |
12 | + | |
13 | + <interceptor class="org.jboss.aspects.tx.TxPropagationInterceptor" scope="PER_VM"/> | |
14 | + | |
15 | + <stack name="ServiceClientInterceptors"> | |
16 | + <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/> | |
17 | + <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/> | |
18 | + <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/> | |
19 | + <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/> | |
20 | + </stack> | |
21 | + | |
22 | + <stack name="AsynchronousStatelessSessionClientInterceptors"> | |
23 | + <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/> | |
24 | + <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/> | |
25 | + <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/> | |
26 | + <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/> | |
27 | + </stack> | |
28 | + | |
29 | + <stack name="AsynchronousStatefulSessionClientInterceptors"> | |
30 | + <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/> | |
31 | + <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/> | |
32 | + <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/> | |
33 | + <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/> | |
34 | + </stack> | |
35 | + | |
36 | + <stack name="StatelessSessionClientInterceptors"> | |
37 | + <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/> | |
38 | + <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/> | |
39 | + <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/> | |
40 | + <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/> | |
41 | + </stack> | |
42 | + | |
43 | + <stack name="StatefulSessionClientInterceptors"> | |
44 | + <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/> | |
45 | + <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/> | |
46 | + <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/> | |
47 | + <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/> | |
48 | + </stack> | |
49 | + | |
50 | + <stack name="ClusteredStatelessSessionClientInterceptors"> | |
51 | + <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/> | |
52 | + <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/> | |
53 | + <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/> | |
54 | + <interceptor-ref name="org.jboss.aspects.remoting.ClusterChooserInterceptor"/> | |
55 | + <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/> | |
56 | + </stack> | |
57 | + | |
58 | + <stack name="ClusteredStatefulSessionClientInterceptors"> | |
59 | + <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/> | |
60 | + <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/> | |
61 | + <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/> | |
62 | + <interceptor-ref name="org.jboss.aspects.remoting.ClusterChooserInterceptor"/> | |
63 | + <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/> | |
64 | + </stack> | |
65 | + | |
66 | + <interceptor class="org.jboss.ejb3.asynchronous.AsynchronousInterceptor" scope="PER_CLASS"/> | |
67 | + <interceptor class="org.jboss.ejb3.ENCPropagationInterceptor" scope="PER_VM"/> | |
68 | + <interceptor name="Basic Authorization" factory="org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorFactory" scope="PER_CLASS"/> | |
69 | + <interceptor name="JACC Authorization" factory="org.jboss.ejb3.security.JaccAuthorizationInterceptorFactory" scope="PER_CLASS"/> | |
70 | + <interceptor factory="org.jboss.ejb3.security.AuthenticationInterceptorFactory" scope="PER_CLASS"/> | |
71 | + <interceptor factory="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory" scope="PER_CLASS"/> | |
72 | + <interceptor class="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor" scope="PER_VM"/> | |
73 | + <interceptor class="org.jboss.ejb3.stateless.StatelessInstanceInterceptor" scope="PER_VM"/> | |
74 | + <interceptor class="org.jboss.ejb3.stateful.StatefulInstanceInterceptor" scope="PER_VM"/> | |
75 | + <interceptor class="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor" scope="PER_VM"/> | |
76 | + <interceptor class="org.jboss.ejb3.service.ServiceSingletonInterceptor" scope="PER_VM"/> | |
77 | + <interceptor class="org.jboss.ejb3.cache.StatefulReplicationInterceptor" scope="PER_VM"/> | |
78 | + <interceptor factory="org.jboss.ejb3.stateful.StatefulRemoveFactory" scope="PER_CLASS_JOINPOINT"/> | |
79 | + <interceptor factory="org.jboss.ejb3.tx.TxInterceptorFactory" scope="PER_CLASS_JOINPOINT"/> | |
80 | + <interceptor factory="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory" scope="PER_CLASS_JOINPOINT"/> | |
81 | + <interceptor factory="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory" scope="PER_CLASS"/> | |
82 | + <interceptor class="org.jboss.ejb3.AllowedOperationsInterceptor" scope="PER_VM"/> | |
83 | + <interceptor factory="org.jboss.ejb3.mdb.CurrentMessageInjectorInterceptorFactory" scope="PER_CLASS"/> | |
84 | + <interceptor class="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor" scope="PER_VM"/> | |
85 | + | |
86 | + <domain name="Stateless Bean"> | |
87 | + <bind pointcut="execution(public * *->*(..))"> | |
88 | + <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/> | |
89 | + <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/> | |
90 | + <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/> | |
91 | + </bind> | |
92 | + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.SecurityDomain->*(..))"> | |
93 | + <interceptor-ref name="Basic Authorization"/> | |
94 | + </bind> | |
95 | + <bind pointcut="execution(public * *->*(..))"> | |
96 | + <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/> | |
97 | + </bind> | |
98 | + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.Clustered->*(..))"> | |
99 | + <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/> | |
100 | + </bind> | |
101 | + <bind pointcut="execution(public * *->*(..))"> | |
102 | + <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/> | |
103 | + <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/> | |
104 | + <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/> | |
105 | + <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/> | |
106 | + <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/> | |
107 | + <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/> | |
108 | + </bind> | |
109 | + <annotation expr="!class(@org.jboss.ejb3.annotation.Pool)"> | |
110 | + @org.jboss.ejb3.annotation.Pool (value="ThreadlocalPool", maxSize=30, timeout=10000) | |
111 | + </annotation> | |
112 | + <annotation expr="!class(@org.jboss.ejb3.annotation.JndiBindingPolicy)"> | |
113 | + @org.jboss.ejb3.annotation.JndiBindingPolicy (policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class) | |
114 | + </annotation> | |
115 | + </domain> | |
116 | + | |
117 | + <domain name="JACC Stateless Bean"> | |
118 | + <bind pointcut="execution(public * *->*(..))"> | |
119 | + <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/> | |
120 | + <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/> | |
121 | + <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/> | |
122 | + </bind> | |
123 | + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.SecurityDomain->*(..))"> | |
124 | + <interceptor-ref name="JACC Authorization"/> | |
125 | + </bind> | |
126 | + <bind pointcut="execution(public * *->*(..))"> | |
127 | + <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/> | |
128 | + </bind> | |
129 | + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.Clustered->*(..))"> | |
130 | + <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/> | |
131 | + </bind> | |
132 | + <bind pointcut="execution(public * *->*(..))"> | |
133 | + <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/> | |
134 | + <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/> | |
135 | + <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/> | |
136 | + <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/> | |
137 | + <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/> | |
138 | + <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/> | |
139 | + </bind> | |
140 | + <annotation expr="!class(@org.jboss.ejb3.annotation.Pool)"> | |
141 | + @org.jboss.ejb3.annotation.Pool (value="ThreadlocalPool", maxSize=30, timeout=10000) | |
142 | + </annotation> | |
143 | + <annotation expr="!class(@org.jboss.ejb3.annotation.JndiBindingPolicy)"> | |
144 | + @org.jboss.ejb3.annotation.JndiBindingPolicy (policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class) | |
145 | + </annotation> | |
146 | + </domain> | |
147 | + | |
148 | + <domain name="Base Stateful Bean"> | |
149 | + <bind pointcut="execution(public * *->*(..))"> | |
150 | + <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/> | |
151 | + <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/> | |
152 | + <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/> | |
153 | + </bind> | |
154 | + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.SecurityDomain->*(..))"> | |
155 | + <interceptor-ref name="Basic Authorization"/> | |
156 | + </bind> | |
157 | + <bind pointcut="execution(public * *->*(..))"> | |
158 | + <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/> | |
159 | + </bind> | |
160 | + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.Clustered->*(..))"> | |
161 | + <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/> | |
162 | + </bind> | |
163 | + <bind pointcut="execution(public * *->@javax.ejb.Remove(..))"> | |
164 | + <interceptor-ref name="org.jboss.ejb3.stateful.StatefulRemoveFactory"/> | |
165 | + </bind> | |
166 | + <bind pointcut="execution(public * *->*(..))"> | |
167 | + <interceptor-ref name="org.jboss.ejb3.stateful.StatefulInstanceInterceptor"/> | |
168 | + <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/> | |
169 | + <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/> | |
170 | + <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/> | |
171 | + </bind> | |
172 | + <bind pointcut="execution(public * $instanceof{javax.ejb.SessionSynchronization}->*(..))"> | |
173 | + <interceptor-ref name="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor"/> | |
174 | + </bind> | |
175 | + <bind pointcut="execution(public * *->*(..))"> | |
176 | + <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/> | |
177 | + <interceptor-ref name="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor"/> | |
178 | + </bind> | |
179 | + | |
180 | + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.Clustered->*(..)) AND !execution(public * *->@javax.ejb.Remove(..))"> | |
181 | + <interceptor-ref name="org.jboss.ejb3.cache.StatefulReplicationInterceptor"/> | |
182 | + </bind> | |
183 | + | |
184 | + <bind pointcut="execution(public * *->*(..))"> | |
185 | + <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/> | |
186 | + </bind> | |
187 | + | |
188 | + <annotation expr="!class(@org.jboss.ejb3.annotation.Pool)"> | |
189 | + @org.jboss.ejb3.annotation.Pool (value="ThreadlocalPool", maxSize=30, timeout=10000) | |
190 | + </annotation> | |
191 | + <annotation expr="!class(@org.jboss.ejb3.annotation.JndiBindingPolicy)"> | |
192 | + @org.jboss.ejb3.annotation.JndiBindingPolicy (policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class) | |
193 | + </annotation> | |
194 | + </domain> | |
195 | + | |
196 | + <domain name="Stateful Bean" extends="Base Stateful Bean" inheritBindings="true"> | |
197 | + <!-- NON Clustered cache configuration --> | |
198 | + <annotation expr="!class(@org.jboss.ejb3.annotation.Cache) AND !class(@org.jboss.ejb3.annotation.Clustered)"> | |
199 | + @org.jboss.ejb3.annotation.Cache ("SimpleStatefulCache") | |
200 | + </annotation> | |
201 | + <annotation expr="!class(@org.jboss.ejb3.annotation.PersistenceManager) AND !class(@org.jboss.ejb3.annotation.Clustered)"> | |
202 | + @org.jboss.ejb3.annotation.PersistenceManager ("StatefulSessionFilePersistenceManager") | |
203 | + </annotation> | |
204 | + <annotation expr="!class(@org.jboss.ejb3.annotation.CacheConfig) AND !class(@org.jboss.ejb3.annotation.Clustered)"> | |
205 | + @org.jboss.ejb3.annotation.CacheConfig (maxSize=100000, idleTimeoutSeconds=300, removalTimeoutSeconds=0) | |
206 | + </annotation> | |
207 | + | |
208 | + <!-- Clustered cache configuration --> | |
209 | + <annotation expr="!class(@org.jboss.ejb3.annotation.Cache) AND class(@org.jboss.ejb3.annotation.Clustered)"> | |
210 | + @org.jboss.ejb3.annotation.Cache ("StatefulTreeCache") | |
211 | + </annotation> | |
212 | + <annotation expr="!class(@org.jboss.ejb3.annotation.CacheConfig) AND class(@org.jboss.ejb3.annotation.Clustered)"> | |
213 | + @org.jboss.ejb3.annotation.CacheConfig (name="jboss.cache:service=EJB3SFSBClusteredCache", maxSize=100000, idleTimeoutSeconds=300, removalTimeoutSeconds=0) | |
214 | + </annotation> | |
215 | + </domain> | |
216 | + | |
217 | + <domain name="JACC Stateful Bean"> | |
218 | + <bind pointcut="execution(public * *->*(..))"> | |
219 | + <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/> | |
220 | + <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/> | |
221 | + <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/> | |
222 | + </bind> | |
223 | + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.SecurityDomain->*(..))"> | |
224 | + <interceptor-ref name="JACC Authorization"/> | |
225 | + </bind> | |
226 | + <bind pointcut="execution(public * *->*(..))"> | |
227 | + <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/> | |
228 | + </bind> | |
229 | + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.Clustered->*(..))"> | |
230 | + <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/> | |
231 | + </bind> | |
232 | + <bind pointcut="execution(public * *->@javax.ejb.Remove(..))"> | |
233 | + <interceptor-ref name="org.jboss.ejb3.stateful.StatefulRemoveFactory"/> | |
234 | + </bind> | |
235 | + <bind pointcut="execution(public * *->*(..))"> | |
236 | + <interceptor-ref name="org.jboss.ejb3.stateful.StatefulInstanceInterceptor"/> | |
237 | + <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/> | |
238 | + <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/> | |
239 | + <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/> | |
240 | + </bind> | |
241 | + <bind pointcut="execution(public * $instanceof{javax.ejb.SessionSynchronization}->*(..))"> | |
242 | + <interceptor-ref name="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor"/> | |
243 | + </bind> | |
244 | + <bind pointcut="execution(public * *->*(..))"> | |
245 | + <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/> | |
246 | + <interceptor-ref name="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor"/> | |
247 | + <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/> | |
248 | + </bind> | |
249 | + | |
250 | + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.Clustered->*(..)) AND !execution(public * *->@javax.ejb.Remove(..))"> | |
251 | + <interceptor-ref name="org.jboss.ejb3.cache.StatefulReplicationInterceptor"/> | |
252 | + </bind> | |
253 | + <annotation expr="!class(@org.jboss.ejb3.annotation.Pool)"> | |
254 | + @org.jboss.ejb3.annotation.Pool (value="ThreadlocalPool", maxSize=30, timeout=10000) | |
255 | + </annotation> | |
256 | + <annotation expr="!class(@org.jboss.ejb3.annotation.JndiBindingPolicy)"> | |
257 | + @org.jboss.ejb3.annotation.JndiBindingPolicy (policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class) | |
258 | + </annotation> | |
259 | + | |
260 | + <!-- NON Clustered cache configuration --> | |
261 | + <annotation expr="!class(@org.jboss.ejb3.annotation.Cache) AND !class(@org.jboss.ejb3.annotation.Clustered)"> | |
262 | + @org.jboss.ejb3.annotation.Cache ("SimpleStatefulCache") | |
263 | + </annotation> | |
264 | + <annotation expr="!class(@org.jboss.ejb3.annotation.PersistenceManager) AND !class(@org.jboss.ejb3.annotation.Clustered)"> | |
265 | + @org.jboss.ejb3.annotation.PersistenceManager ("StatefulSessionFilePersistenceManager") | |
266 | + </annotation> | |
267 | + <annotation expr="!class(@org.jboss.ejb3.annotation.CacheConfig) AND !class(@org.jboss.ejb3.annotation.Clustered)"> | |
268 | + @org.jboss.ejb3.annotation.CacheConfig (maxSize=100000, idleTimeoutSeconds=300, removalTimeoutSeconds=0) | |
269 | + </annotation> | |
270 | + | |
271 | + <!-- Clustered cache configuration --> | |
272 | + <annotation expr="!class(@org.jboss.ejb3.annotation.Cache) AND class(@org.jboss.ejb3.annotation.Clustered)"> | |
273 | + @org.jboss.ejb3.annotation.Cache ("StatefulTreeCache") | |
274 | + </annotation> | |
275 | + <annotation expr="!class(@org.jboss.ejb3.annotation.CacheConfig) AND class(@org.jboss.ejb3.annotation.Clustered)"> | |
276 | + @org.jboss.ejb3.annotation.CacheConfig (name="jboss.cache:service=EJB3SFSBClusteredCache", maxSize=100000, idleTimeoutSeconds=300, removalTimeoutSeconds=0) | |
277 | + </annotation> | |
278 | + </domain> | |
279 | + | |
280 | + <domain name="Embedded Stateful Bean" extends="Base Stateful Bean" inheritBindings="true"> | |
281 | + <!-- NON Clustered cache configuration --> | |
282 | + <annotation expr="!class(@org.jboss.ejb3.annotation.Cache)"> | |
283 | + @org.jboss.ejb3.annotation.Cache ("NoPassivationCache") | |
284 | + </annotation> | |
285 | + <annotation expr="!class(@org.jboss.ejb3.annotation.JndiBindingPolicy)"> | |
286 | + @org.jboss.ejb3.annotation.JndiBindingPolicy (policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class) | |
287 | + </annotation> | |
288 | + | |
289 | + </domain> | |
290 | + | |
291 | + <domain name="Message Driven Bean"> | |
292 | + <bind pointcut="execution(public * *->*(..))"> | |
293 | + <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/> | |
294 | + <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/> | |
295 | + </bind> | |
296 | + <!-- TODO: Authorization? --> | |
297 | + <bind pointcut="execution(public * *->*(..))"> | |
298 | + <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/> | |
299 | + <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/> | |
300 | + <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/> | |
301 | + <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/> | |
302 | + <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/> | |
303 | + </bind> | |
304 | + <annotation expr="!class(@org.jboss.ejb3.annotation.Pool)"> | |
305 | + @org.jboss.ejb3.annotation.Pool (value="StrictMaxPool", maxSize=15, timeout=10000) | |
306 | + </annotation> | |
307 | + <annotation expr="!class(@org.jboss.ejb3.annotation.JndiBindingPolicy)"> | |
308 | + @org.jboss.ejb3.annotation.JndiBindingPolicy (policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class) | |
309 | + </annotation> | |
310 | + </domain> | |
311 | + | |
312 | + <domain name="Consumer Bean"> | |
313 | + <bind pointcut="execution(public * *->*(..))"> | |
314 | + <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/> | |
315 | + </bind> | |
316 | + <bind pointcut="execution(public * *->*(..))"> | |
317 | + <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/> | |
318 | + <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/> | |
319 | + <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/> | |
320 | + <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/> | |
321 | + </bind> | |
322 | + <bind pointcut="execution(public * *->*(..)) AND (has(* *->@org.jboss.ejb3.annotation.CurrentMessage(..)) OR hasfield(* *->@org.jboss.ejb3.annotation.CurrentMessage))"> | |
323 | + <interceptor-ref name="org.jboss.ejb3.mdb.CurrentMessageInjectorInterceptorFactory"/> | |
324 | + </bind> | |
325 | + <bind pointcut="execution(public * *->*(..))"> | |
326 | + <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/> | |
327 | + </bind> | |
328 | + <annotation expr="!class(@org.jboss.ejb3.annotation.Pool)"> | |
329 | + @org.jboss.ejb3.annotation.Pool (value="StrictMaxPool", maxSize=15, timeout=10000) | |
330 | + </annotation> | |
331 | + <annotation expr="!class(@org.jboss.ejb3.annotation.JndiBindingPolicy)"> | |
332 | + @org.jboss.ejb3.annotation.JndiBindingPolicy (policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class) | |
333 | + </annotation> | |
334 | + </domain> | |
335 | + | |
336 | + <domain name="Service Bean"> | |
337 | + <bind pointcut="execution(public * *->*(..))"> | |
338 | + <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/> | |
339 | + <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/> | |
340 | + </bind> | |
341 | + <bind pointcut="!execution(* *->create()) AND !execution(* *->start()) AND !execution(*->new(..))"> | |
342 | + <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/> | |
343 | + </bind> | |
344 | + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.SecurityDomain->*(..))"> | |
345 | + <interceptor-ref name="Basic Authorization"/> | |
346 | + </bind> | |
347 | + <bind pointcut="execution(public * *->*(..))"> | |
348 | + <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/> | |
349 | + </bind> | |
350 | + <bind pointcut="execution(public * *->*(..))"> | |
351 | + <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/> | |
352 | + <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/> | |
353 | + <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/> | |
354 | + <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/> | |
355 | + </bind> | |
356 | + <bind pointcut="execution(public * *->*(..)) AND !execution(* *->create()) AND !execution(* *->start())"> | |
357 | + <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/> | |
358 | + </bind> | |
359 | + <annotation expr="!class(@org.jboss.ejb3.annotation.JndiBindingPolicy)"> | |
360 | + @org.jboss.ejb3.annotation.JndiBindingPolicy (policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class) | |
361 | + </annotation> | |
362 | + </domain> | |
363 | + | |
364 | + <domain name="JACC Service Bean"> | |
365 | + <bind pointcut="execution(public * *->*(..))"> | |
366 | + <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/> | |
367 | + <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/> | |
368 | + </bind> | |
369 | + <bind pointcut="!execution(* *->create()) AND !execution(* *->start()) AND !execution(*->new(..))"> | |
370 | + <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/> | |
371 | + </bind> | |
372 | + <bind pointcut="execution(public * @org.jboss.ejb3.annotation.SecurityDomain->*(..))"> | |
373 | + <interceptor-ref name="Basic Authorization"/> | |
374 | + </bind> | |
375 | + <bind pointcut="execution(public * *->*(..))"> | |
376 | + <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/> | |
377 | + </bind> | |
378 | + <bind pointcut="execution(public * *->*(..))"> | |
379 | + <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/> | |
380 | + <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/> | |
381 | + <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/> | |
382 | + <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/> | |
383 | + </bind> | |
384 | + <bind pointcut="execution(public * *->*(..)) AND !execution(* *->create()) AND !execution(* *->start())"> | |
385 | + <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/> | |
386 | + </bind> | |
387 | + <annotation expr="!class(@org.jboss.ejb3.annotation.JndiBindingPolicy)"> | |
388 | + @org.jboss.ejb3.annotation.JndiBindingPolicy (policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class) | |
389 | + </annotation> | |
390 | + </domain> | |
391 | + | |
392 | +</aop> | |
\ No newline at end of file | ... | ... |
bootstrap/deploy/hsqldb-ds.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | + | |
3 | +<!-- The Hypersonic embedded database JCA connection factory config --> | |
4 | + | |
5 | +<!-- $Id: hsqldb-ds.xml 6916 2007-12-05 17:53:00Z pmuir $ --> | |
6 | + | |
7 | +<datasources> | |
8 | + <local-tx-datasource> | |
9 | + | |
10 | + <!-- The jndi name of the DataSource, it is prefixed with java:/ --> | |
11 | + <!-- Datasources are not available outside the virtual machine --> | |
12 | + <jndi-name>DefaultDS</jndi-name> | |
13 | + | |
14 | + <!-- For server mode db, allowing other processes to use hsqldb over tcp. | |
15 | + This requires the org.jboss.jdbc.HypersonicDatabase mbean. | |
16 | + <connection-url>jdbc:hsqldb:hsql://${jboss.bind.address}:1701</connection-url> | |
17 | + --> | |
18 | + <!-- For totally in-memory db, not saved when jboss stops. | |
19 | + The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown | |
20 | + <connection-url>jdbc:hsqldb:.</connection-url> | |
21 | + --> | |
22 | + <!-- For in-process persistent db, saved when jboss stops. | |
23 | + The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown | |
24 | + --> | |
25 | + <connection-url>jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB</connection-url> | |
26 | + | |
27 | + <!-- The driver class --> | |
28 | + <driver-class>org.hsqldb.jdbcDriver</driver-class> | |
29 | + | |
30 | + <!-- The login and password --> | |
31 | + <user-name>sa</user-name> | |
32 | + <password></password> | |
33 | + | |
34 | + <!--example of how to specify class that determines if exception means connection should be destroyed--> | |
35 | + <!--exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter</exception-sorter-class-name--> | |
36 | + | |
37 | + <!-- this will be run before a managed connection is removed from the pool for use by a client--> | |
38 | + <!--<check-valid-connection-sql>select * from something</check-valid-connection-sql> --> | |
39 | + | |
40 | + <!-- The minimum connections in a pool/sub-pool. Pools are lazily constructed on first use --> | |
41 | + <min-pool-size>0</min-pool-size> | |
42 | + | |
43 | + <!-- The maximum connections in a pool/sub-pool --> | |
44 | + <max-pool-size>20</max-pool-size> | |
45 | + | |
46 | + <!-- The time before an unused connection is destroyed --> | |
47 | + <!-- NOTE: This is the check period. It will be destroyed somewhere between 1x and 2x this timeout after last use --> | |
48 | + <!-- TEMPORARY FIX! - Disable idle connection removal, HSQLDB has a problem with not reaping threads on closed connections --> | |
49 | + <idle-timeout-minutes>0</idle-timeout-minutes> | |
50 | + | |
51 | + <!-- sql to call when connection is created | |
52 | + <new-connection-sql>some arbitrary sql</new-connection-sql> | |
53 | + --> | |
54 | + | |
55 | + <!-- sql to call on an existing pooled connection when it is obtained from pool | |
56 | + <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql> | |
57 | + --> | |
58 | + | |
59 | + <!-- example of how to specify a class that determines a connection is valid before it is handed out from the pool | |
60 | + <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyValidConnectionChecker</valid-connection-checker-class-name> | |
61 | + --> | |
62 | + | |
63 | + <!-- Whether to check all statements are closed when the connection is returned to the pool, | |
64 | + this is a debugging feature that should be turned off in production --> | |
65 | + <track-statements/> | |
66 | + | |
67 | + <!-- Use the getConnection(user, pw) for logins | |
68 | + <application-managed-security/> | |
69 | + --> | |
70 | + | |
71 | + <!-- Use the security domain defined in conf/login-config.xml --> | |
72 | + <security-domain>HsqlDbRealm</security-domain> | |
73 | + | |
74 | + <!-- Use the security domain defined in conf/login-config.xml or the | |
75 | + getConnection(user, pw) for logins. The security domain takes precedence. | |
76 | + <security-domain-and-application>HsqlDbRealm</security-domain-and-application> | |
77 | + --> | |
78 | + | |
79 | + <!-- HSQL DB benefits from prepared statement caching --> | |
80 | + <prepared-statement-cache-size>32</prepared-statement-cache-size> | |
81 | + | |
82 | + <!-- When using in-process (standalone) mode --> | |
83 | + <depends>jboss:service=Hypersonic,database=localDB</depends> | |
84 | + <!-- Uncomment when using hsqldb in server mode | |
85 | + <depends>jboss:service=Hypersonic</depends> | |
86 | + --> | |
87 | + </local-tx-datasource> | |
88 | + | |
89 | + <!-- Uncomment if you want hsqldb accessed over tcp (server mode) | |
90 | + <mbean code="org.jboss.jdbc.HypersonicDatabase" | |
91 | + name="jboss:service=Hypersonic"> | |
92 | + <attribute name="Port">1701</attribute> | |
93 | + <attribute name="BindAddress">${jboss.bind.address}</attribute> | |
94 | + <attribute name="Silent">true</attribute> | |
95 | + <attribute name="Database">default</attribute> | |
96 | + <attribute name="Trace">false</attribute> | |
97 | + <attribute name="No_system_exit">true</attribute> | |
98 | + </mbean> | |
99 | + --> | |
100 | + | |
101 | + <!-- For hsqldb accessed from jboss only, in-process (standalone) mode --> | |
102 | + <mbean code="org.jboss.jdbc.HypersonicDatabase" | |
103 | + name="jboss:service=Hypersonic,database=localDB"> | |
104 | + <attribute name="Database">localDB</attribute> | |
105 | + <attribute name="InProcessMode">true</attribute> | |
106 | + </mbean> | |
107 | + | |
108 | +</datasources> | ... | ... |
bootstrap/deploy/jboss-local-jdbc.rar
0 → 100644
No preview for this file type
bootstrap/deploy/jboss-xa-jdbc.rar
0 → 100644
No preview for this file type
bootstrap/deploy/jms-ra.rar
0 → 100644
No preview for this file type
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | + | |
3 | +<!-- | |
4 | + Messaging Connection Factories deployment descriptor. | |
5 | + | |
6 | + $Id: connection-factories-service.xml 6916 2007-12-05 17:53:00Z pmuir $ | |
7 | + --> | |
8 | + | |
9 | +<server> | |
10 | + | |
11 | + <!-- The default connection factory does not support automatic failover or load balancing- | |
12 | + this is so we can maintain compatiblity with applications written for JBoss MQ which use this | |
13 | + connection factory. | |
14 | + --> | |
15 | + <mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory" | |
16 | + name="jboss.messaging.connectionfactory:service=ConnectionFactory" | |
17 | + xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml"> | |
18 | + <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends> | |
19 | + <depends optional-attribute-name="Connector">jboss.messaging:service=Connector,transport=bisocket</depends> | |
20 | + <depends>jboss.messaging:service=PostOffice</depends> | |
21 | + | |
22 | + <attribute name="JNDIBindings"> | |
23 | + <bindings> | |
24 | + <binding>/ConnectionFactory</binding> | |
25 | + <binding>/XAConnectionFactory</binding> | |
26 | + <binding>java:/ConnectionFactory</binding> | |
27 | + <binding>java:/XAConnectionFactory</binding> | |
28 | + </bindings> | |
29 | + </attribute> | |
30 | + </mbean> | |
31 | + | |
32 | + <!-- A clustered connection factory that supports automatic failover and load balancing of created | |
33 | + connections. | |
34 | + This factory is not suitable to be used by MDBs. | |
35 | + --> | |
36 | + <mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory" | |
37 | + name="jboss.messaging.connectionfactory:service=ClusteredConnectionFactory" | |
38 | + xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml"> | |
39 | + <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends> | |
40 | + <depends optional-attribute-name="Connector">jboss.messaging:service=Connector,transport=bisocket</depends> | |
41 | + <depends>jboss.messaging:service=PostOffice</depends> | |
42 | + | |
43 | + <attribute name="JNDIBindings"> | |
44 | + <bindings> | |
45 | + <binding>/ClusteredConnectionFactory</binding> | |
46 | + <binding>/ClusteredXAConnectionFactory</binding> | |
47 | + <binding>java:/ClusteredConnectionFactory</binding> | |
48 | + <binding>java:/ClusteredXAConnectionFactory</binding> | |
49 | + </bindings> | |
50 | + </attribute> | |
51 | + | |
52 | + <attribute name="SupportsFailover">true</attribute> | |
53 | + <attribute name="SupportsLoadBalancing">true</attribute> | |
54 | + </mbean> | |
55 | + | |
56 | + <!-- A connection factory with no JNDI bindings that is used in clustering to create the connections that | |
57 | + pull messages from one node to another | |
58 | + --> | |
59 | + <mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory" | |
60 | + name="jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory" | |
61 | + xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml"> | |
62 | + <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends> | |
63 | + <depends optional-attribute-name="Connector">jboss.messaging:service=Connector,transport=bisocket</depends> | |
64 | + <depends>jboss.messaging:service=PostOffice</depends> | |
65 | + <attribute name="SupportsFailover">false</attribute> | |
66 | + <attribute name="SupportsLoadBalancing">false</attribute> | |
67 | + </mbean> | |
68 | + | |
69 | + <!-- An example connection factory with all attributes shown | |
70 | + | |
71 | + <mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory" | |
72 | + name="jboss.messaging.connectionfactory:service=MyExampleConnectionFactory" | |
73 | + xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml"> | |
74 | + | |
75 | + <constructor> | |
76 | + | |
77 | + <!- - You can specify the default Client ID to use for connections created using this factory - -> | |
78 | + | |
79 | + <arg type="java.lang.String" value="MyClientID"/> | |
80 | + | |
81 | + </constructor> | |
82 | + | |
83 | + <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends> | |
84 | + | |
85 | + <!- - The transport to use - can be bisocket, sslbisocket or http - -> | |
86 | + | |
87 | + <depends optional-attribute-name="Connector">jboss.messaging:service=Connector,transport=http</depends> | |
88 | + | |
89 | + <depends>jboss.messaging:service=PostOffice</depends> | |
90 | + | |
91 | + <!- - PrefetchSize determines the approximate maximum number of messages the client consumer will buffer locally - -> | |
92 | + | |
93 | + <attribute name="PrefetchSize">150</attribute> | |
94 | + | |
95 | + <!- - Paging params to be used for temporary queues - -> | |
96 | + | |
97 | + <attribute name="DefaultTempQueueFullSize">200000</attribute> | |
98 | + | |
99 | + <attribute name="DefaultTempQueuePageSizeSize">2000</attribute> | |
100 | + | |
101 | + <attribute name="DefaultTempQueueDownCacheSize">2000</attribute> | |
102 | + | |
103 | + <!- - The batch size to use when using the DUPS_OK_ACKNOWLEDGE acknowledgement mode - -> | |
104 | + | |
105 | + <attribute name="DupsOKBatchSize">5000</attribute> | |
106 | + | |
107 | + <!- - Does this connection factory support automatic failover? - -> | |
108 | + | |
109 | + <attribute name="SupportsFailover">false</attribute> | |
110 | + | |
111 | + <!- - Does this connection factory support automatic client side load balancing? - -> | |
112 | + | |
113 | + <attribute name="SupportsLoadBalancing">false</attribute> | |
114 | + | |
115 | + <!- - The class name of the factory used to create the load balancing policy to use on the client side - -> | |
116 | + | |
117 | + <attribute name="LoadBalancingFactory">org.jboss.jms.client.plugin.RoundRobinLoadBalancingFactory</attribute> | |
118 | + | |
119 | + <!- - Whether we should be strict TCK compliant, i.e. how we deal with foreign messages, defaults to false- -> | |
120 | + | |
121 | + <attribute name="StrictTck">false</attribute> | |
122 | + | |
123 | + <!- - Disable JBoss Remoting Connector sanity checks - There is rarely a good reason to set this to true - -> | |
124 | + | |
125 | + <attribute name="DisableRemotingChecks">false</attribute> | |
126 | + | |
127 | + <!- - The connection factory will be bound in the following places in JNDI - -> | |
128 | + | |
129 | + <attribute name="JNDIBindings"> | |
130 | + | |
131 | + <bindings> | |
132 | + | |
133 | + <binding>/acme/MyExampleConnectionFactory</binding> | |
134 | + | |
135 | + <binding>/acme/MyExampleConnectionFactoryDupe</binding> | |
136 | + | |
137 | + <binding>java:/xyz/CF1</binding> | |
138 | + | |
139 | + <binding>java:/connectionfactories/acme/connection_factory</binding> | |
140 | + | |
141 | + </bindings> | |
142 | + | |
143 | + </attribute> | |
144 | + | |
145 | + </mbean> | |
146 | + | |
147 | + --> | |
148 | + | |
149 | +</server> | |
\ No newline at end of file | ... | ... |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | + | |
3 | +<!-- | |
4 | + Messaging Destinations deployment descriptor. | |
5 | + | |
6 | + $Id: destinations-service.xml 6916 2007-12-05 17:53:00Z pmuir $ | |
7 | + --> | |
8 | + | |
9 | +<server> | |
10 | + | |
11 | + <!-- | |
12 | + The Default Dead Letter Queue. This destination is a dependency of an EJB MDB container. | |
13 | + --> | |
14 | + | |
15 | + <mbean code="org.jboss.jms.server.destination.QueueService" | |
16 | + name="jboss.messaging.destination:service=Queue,name=DLQ" | |
17 | + xmbean-dd="xmdesc/Queue-xmbean.xml"> | |
18 | + <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation> | |
19 | + <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends> | |
20 | + <depends>jboss.messaging:service=PostOffice</depends> | |
21 | + </mbean> | |
22 | + | |
23 | + <!-- | |
24 | + The Default Expiry Queue. | |
25 | + --> | |
26 | + | |
27 | + <mbean code="org.jboss.jms.server.destination.QueueService" | |
28 | + name="jboss.messaging.destination:service=Queue,name=ExpiryQueue" | |
29 | + xmbean-dd="xmdesc/Queue-xmbean.xml"> | |
30 | + <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation> | |
31 | + <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends> | |
32 | + <depends>jboss.messaging:service=PostOffice</depends> | |
33 | + </mbean> | |
34 | + | |
35 | + | |
36 | +</server> | |
\ No newline at end of file | ... | ... |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | + | |
3 | +<!-- | |
4 | + Hypersonic persistence deployment descriptor. | |
5 | + | |
6 | + DO NOT USE HYPERSONIC IN PRODUCTION or in a clustered environment- Hypersonic does not have transaction isolation | |
7 | + | |
8 | + $Id: hsqldb-persistence-service.xml 6916 2007-12-05 17:53:00Z pmuir $ | |
9 | + --> | |
10 | + | |
11 | +<server> | |
12 | + | |
13 | + <!-- Persistence Manager MBean configuration | |
14 | + ======================================= --> | |
15 | + | |
16 | + <mbean code="org.jboss.messaging.core.jmx.JDBCPersistenceManagerService" | |
17 | + name="jboss.messaging:service=PersistenceManager" | |
18 | + xmbean-dd="xmdesc/JDBCPersistenceManager-xmbean.xml"> | |
19 | + | |
20 | + <depends>jboss.jca:service=DataSourceBinding,name=DefaultDS</depends> | |
21 | + | |
22 | + <depends optional-attribute-name="TransactionManager">jboss:service=TransactionManager</depends> | |
23 | + | |
24 | + <!-- The datasource to use for the persistence manager --> | |
25 | + | |
26 | + <attribute name="DataSource">java:/DefaultDS</attribute> | |
27 | + | |
28 | + <!-- If true will attempt to create tables and indexes on every start-up --> | |
29 | + | |
30 | + <attribute name="CreateTablesOnStartup">true</attribute> | |
31 | + | |
32 | + <!-- If true then will use JDBC batch updates --> | |
33 | + | |
34 | + <attribute name="UsingBatchUpdates">false</attribute> | |
35 | + | |
36 | + <!-- The maximum number of parameters to include in a prepared statement --> | |
37 | + | |
38 | + <attribute name="MaxParams">500</attribute> | |
39 | + </mbean> | |
40 | + | |
41 | + <!-- Messaging Post Office MBean configuration | |
42 | + ========================================= --> | |
43 | + | |
44 | + <mbean code="org.jboss.messaging.core.jmx.MessagingPostOfficeService" | |
45 | + name="jboss.messaging:service=PostOffice" | |
46 | + xmbean-dd="xmdesc/MessagingPostOffice-xmbean.xml"> | |
47 | + | |
48 | + <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends> | |
49 | + | |
50 | + <depends>jboss.jca:service=DataSourceBinding,name=DefaultDS</depends> | |
51 | + | |
52 | + <depends optional-attribute-name="TransactionManager">jboss:service=TransactionManager</depends> | |
53 | + | |
54 | + <!-- The name of the post office --> | |
55 | + | |
56 | + <attribute name="PostOfficeName">JMS post office</attribute> | |
57 | + | |
58 | + <!-- The datasource used by the post office to access it's binding information --> | |
59 | + | |
60 | + <attribute name="DataSource">java:/DefaultDS</attribute> | |
61 | + | |
62 | + <!-- If true will attempt to create tables and indexes on every start-up --> | |
63 | + | |
64 | + <attribute name="CreateTablesOnStartup">true</attribute> | |
65 | + | |
66 | + <!-- This post office is NON CLUSTERED - do not use clustering with Hypersonic!! --> | |
67 | + | |
68 | + <attribute name="Clustered">false</attribute> | |
69 | + </mbean> | |
70 | + | |
71 | + <!-- Messaging JMS User Manager MBean config | |
72 | + ======================================= --> | |
73 | + | |
74 | + <mbean code="org.jboss.jms.server.plugin.JDBCJMSUserManagerService" | |
75 | + name="jboss.messaging:service=JMSUserManager" | |
76 | + xmbean-dd="xmdesc/JMSUserManager-xmbean.xml"> | |
77 | + | |
78 | + <depends>jboss.jca:service=DataSourceBinding,name=DefaultDS</depends> | |
79 | + | |
80 | + <depends optional-attribute-name="TransactionManager">jboss:service=TransactionManager</depends> | |
81 | + | |
82 | + <attribute name="DataSource">java:/DefaultDS</attribute> | |
83 | + | |
84 | + <attribute name="CreateTablesOnStartup">true</attribute> | |
85 | + | |
86 | + <attribute name="SqlProperties"><![CDATA[ | |
87 | +POPULATE.TABLES.1 = INSERT INTO JBM_USER (USER_ID, PASSWD) VALUES ('guest', 'guest') | |
88 | +POPULATE.TABLES.2 = INSERT INTO JBM_USER (USER_ID, PASSWD) VALUES ('j2ee', 'j2ee') | |
89 | +POPULATE.TABLES.3 = INSERT INTO JBM_USER (USER_ID, PASSWD, CLIENTID) VALUES ('john', 'needle', 'DurableSubscriberExample') | |
90 | +POPULATE.TABLES.4 = INSERT INTO JBM_USER (USER_ID, PASSWD) VALUES ('nobody', 'nobody') | |
91 | +POPULATE.TABLES.5 = INSERT INTO JBM_USER (USER_ID, PASSWD) VALUES ('dynsub', 'dynsub') | |
92 | +POPULATE.TABLES.6 = INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('guest','guest') | |
93 | +POPULATE.TABLES.7 = INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('j2ee','guest') | |
94 | +POPULATE.TABLES.8 = INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('john','guest') | |
95 | +POPULATE.TABLES.9 = INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('subscriber','john') | |
96 | +POPULATE.TABLES.10 = INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('publisher','john') | |
97 | +POPULATE.TABLES.11 = INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('publisher','dynsub') | |
98 | +POPULATE.TABLES.12 = INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('durpublisher','john') | |
99 | +POPULATE.TABLES.13 = INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('durpublisher','dynsub') | |
100 | +POPULATE.TABLES.14 = INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('noacc','nobody') | |
101 | + ]]></attribute> | |
102 | + </mbean> | |
103 | + | |
104 | +</server> | |
\ No newline at end of file | ... | ... |
bootstrap/deploy/messaging/jms-ds.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | + | |
3 | +<connection-factories> | |
4 | + | |
5 | + <!-- ==================================================================== --> | |
6 | + <!-- JMS Stuff --> | |
7 | + <!-- ==================================================================== --> | |
8 | + | |
9 | + <!-- | |
10 | + The JMS provider loader. Currently pointing to a non-clustered ConnectionFactory. Need to | |
11 | + be replaced with a clustered non-load-balanced ConnectionFactory when it becomes available. | |
12 | + See http://jira.jboss.org/jira/browse/JBMESSAGING-843. | |
13 | + --> | |
14 | + <mbean code="org.jboss.jms.jndi.JMSProviderLoader" | |
15 | + name="jboss.messaging:service=JMSProviderLoader,name=JMSProvider"> | |
16 | + <attribute name="ProviderName">DefaultJMSProvider</attribute> | |
17 | + <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute> | |
18 | + <attribute name="FactoryRef">java:/XAConnectionFactory</attribute> | |
19 | + <attribute name="QueueFactoryRef">java:/XAConnectionFactory</attribute> | |
20 | + <attribute name="TopicFactoryRef">java:/XAConnectionFactory</attribute> | |
21 | + </mbean> | |
22 | + | |
23 | + <!-- JMS XA Resource adapter, use this to get transacted JMS in beans --> | |
24 | + <tx-connection-factory> | |
25 | + <jndi-name>JmsXA</jndi-name> | |
26 | + <xa-transaction/> | |
27 | + <rar-name>jms-ra.rar</rar-name> | |
28 | + <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition> | |
29 | + <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property> | |
30 | + <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/DefaultJMSProvider</config-property> | |
31 | + <max-pool-size>20</max-pool-size> | |
32 | + <security-domain-and-application>JmsXARealm</security-domain-and-application> | |
33 | + <depends>jboss.messaging:service=ServerPeer</depends> | |
34 | + </tx-connection-factory> | |
35 | + | |
36 | +</connection-factories> | ... | ... |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- | |
3 | + Messaging Destinations deployment descriptor. | |
4 | + | |
5 | + $Id: legacy-service.xml 6916 2007-12-05 17:53:00Z pmuir $ | |
6 | +--> | |
7 | + | |
8 | +<server> | |
9 | + <mbean code="org.jboss.mq.server.jmx.DummyDestMgr" | |
10 | + name="jboss.mq:service=DestinationManager"> | |
11 | + <depends>jboss.messaging:service=ServerPeer</depends> | |
12 | + </mbean> | |
13 | + <mbean code="org.jboss.mq.server.jmx.DummySecurityMgr" | |
14 | + name="jboss.mq:service=SecurityManager" /> | |
15 | + | |
16 | +</server> | ... | ... |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | + | |
3 | +<!-- | |
4 | + The JBoss Messaging service deployment descriptor. | |
5 | + | |
6 | + $Id: messaging-service.xml 7115 2008-01-10 23:23:32Z pmuir $ | |
7 | + --> | |
8 | + | |
9 | +<server> | |
10 | + | |
11 | + <!-- ServerPeer MBean configuration | |
12 | + ============================== --> | |
13 | + | |
14 | + <mbean code="org.jboss.jms.server.ServerPeer" | |
15 | + name="jboss.messaging:service=ServerPeer" | |
16 | + xmbean-dd="xmdesc/ServerPeer-xmbean.xml"> | |
17 | + | |
18 | + <!-- The unique id of the server peer - in a cluster each node MUST have a unique value - must be an integer --> | |
19 | + | |
20 | + <attribute name="ServerPeerID">0</attribute> | |
21 | + | |
22 | + <!-- The default JNDI context to use for queues when they are deployed without specifying one --> | |
23 | + | |
24 | + <attribute name="DefaultQueueJNDIContext">/queue</attribute> | |
25 | + | |
26 | + <!-- The default JNDI context to use for topics when they are deployed without specifying one --> | |
27 | + | |
28 | + <attribute name="DefaultTopicJNDIContext">/topic</attribute> | |
29 | + | |
30 | + <attribute name="PostOffice">jboss.messaging:service=PostOffice</attribute> | |
31 | + | |
32 | + <!-- The JAAS security domain to use for JBoss Messaging --> | |
33 | + | |
34 | + <attribute name="SecurityDomain">java:/jaas/messaging</attribute> | |
35 | + | |
36 | + <!-- The default security configuration to apply to destinations - this can be overridden on a per destination basis --> | |
37 | + | |
38 | + <attribute name="DefaultSecurityConfig"> | |
39 | + <security> | |
40 | + <role name="Administrator" read="true" write="true" create="true"/> | |
41 | + <role name="Manager" read="true" write="true" create="true"/> | |
42 | + <role name="guest" read="true" write="true" create="true"/> | |
43 | + </security> | |
44 | + </attribute> | |
45 | + | |
46 | + <!-- The default Dead Letter Queue (DLQ) to use for destinations. | |
47 | + This can be overridden on a per destinatin basis --> | |
48 | + | |
49 | + <attribute name="DefaultDLQ">jboss.messaging.destination:service=Queue,name=DLQ</attribute> | |
50 | + | |
51 | + <!-- The default maximum number of times to attempt delivery of a message before sending to the DLQ (if configured). | |
52 | + This can be overridden on a per destinatin basis --> | |
53 | + | |
54 | + <attribute name="DefaultMaxDeliveryAttempts">10</attribute> | |
55 | + | |
56 | + <!-- The default Expiry Queue to use for destinations. This can be overridden on a per destinatin basis --> | |
57 | + | |
58 | + <attribute name="DefaultExpiryQueue">jboss.messaging.destination:service=Queue,name=ExpiryQueue</attribute> | |
59 | + | |
60 | + <!-- The default redelivery delay to impose. This can be overridden on a per destination basis --> | |
61 | + | |
62 | + <attribute name="DefaultRedeliveryDelay">0</attribute> | |
63 | + | |
64 | + <!-- The periodicity of the message counter manager enquiring on queues for statistics --> | |
65 | + | |
66 | + <attribute name="MessageCounterSamplePeriod">5000</attribute> | |
67 | + | |
68 | + <!-- The maximum amount of time for a client to wait for failover to start on the server side after | |
69 | + it has detected failure --> | |
70 | + | |
71 | + <attribute name="FailoverStartTimeout">60000</attribute> | |
72 | + | |
73 | + <!-- The maximum amount of time for a client to wait for failover to complete on the server side after | |
74 | + it has detected failure --> | |
75 | + | |
76 | + <attribute name="FailoverCompleteTimeout">300000</attribute> | |
77 | + | |
78 | + <attribute name="StrictTck">false</attribute> | |
79 | + | |
80 | + <!-- The maximum number of days results to maintain in the message counter history --> | |
81 | + | |
82 | + <attribute name="DefaultMessageCounterHistoryDayLimit">-1</attribute> | |
83 | + | |
84 | + <!-- The name of the connection factory to use for creating connections between nodes to pull messages --> | |
85 | + | |
86 | + <attribute name="ClusterPullConnectionFactoryName">jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory</attribute> | |
87 | + | |
88 | + <!-- Use XA when pulling persistent messages from a remote node to this one. --> | |
89 | + | |
90 | + <!-- <attribute name="UseXAForMessagePull">false</attribute>--> | |
91 | + | |
92 | + <!-- When redistributing messages in the cluster. Do we need to preserve the order of messages received | |
93 | + by a particular consumer from a particular producer? --> | |
94 | + | |
95 | + <attribute name="DefaultPreserveOrdering">false</attribute> | |
96 | + | |
97 | + <!-- Max. time to hold previously delivered messages back waiting for clients to reconnect after failover --> | |
98 | + | |
99 | + <attribute name="RecoverDeliveriesTimeout">300000</attribute> | |
100 | + | |
101 | + <!-- The password used by the message sucker connections to create connections. | |
102 | + THIS SHOULD ALWAYS BE CHANGED AT INSTALL TIME TO SECURE SYSTEM | |
103 | + <attribute name="SuckerPassword"></attribute> | |
104 | + --> | |
105 | + | |
106 | + <depends optional-attribute-name="PersistenceManager">jboss.messaging:service=PersistenceManager</depends> | |
107 | + | |
108 | + <depends optional-attribute-name="JMSUserManager">jboss.messaging:service=JMSUserManager</depends> | |
109 | + | |
110 | + <depends>jboss.messaging:service=Connector,transport=bisocket</depends> | |
111 | + | |
112 | + </mbean> | |
113 | + | |
114 | +</server> | ... | ... |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | + | |
3 | +<!-- | |
4 | + Standard bisocket-based Remoting service deployment descriptor. | |
5 | + | |
6 | + $Id: remoting-service.xml 8448 2008-07-13 12:40:54Z pete.muir@jboss.org $ | |
7 | + --> | |
8 | + | |
9 | +<server> | |
10 | + | |
11 | + <!-- Standard bisocket connector - the bisocket transport only opens connection from client->server | |
12 | + so can be used with firewalls where only outgoing connections are allowed. | |
13 | + For examples of HTTP and SSL transports see docs/examples --> | |
14 | + <mbean code="org.jboss.remoting.transport.Connector" | |
15 | + name="jboss.messaging:service=Connector,transport=bisocket" | |
16 | + display-name="Bisocket Transport Connector"> | |
17 | + <attribute name="Configuration"> | |
18 | + <config> | |
19 | + <invoker transport="bisocket"> | |
20 | + | |
21 | + <!-- There should be no reason to change these parameters - warning! | |
22 | + Changing them may stop JBoss Messaging working correctly --> | |
23 | + <attribute name="marshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute> | |
24 | + <attribute name="unmarshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute> | |
25 | + <attribute name="dataType" isParam="true">jms</attribute> | |
26 | + <attribute name="socket.check_connection" isParam="true">false</attribute> | |
27 | + <attribute name="timeout" isParam="true">0</attribute> | |
28 | + <attribute name="serverBindAddress">${jboss.bind.address}</attribute> | |
29 | + <attribute name="serverBindPort">4458</attribute> | |
30 | + <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute> | |
31 | + <attribute name="serverSocketClass">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute> | |
32 | + <attribute name="numberOfCallRetries" isParam="true">1</attribute> | |
33 | + <attribute name="pingFrequency" isParam="true">214748364</attribute> | |
34 | + <attribute name="pingWindowFactor" isParam="true">10</attribute> | |
35 | + <attribute name="onewayThreadPool">org.jboss.jms.server.remoting.DirectThreadPool</attribute> | |
36 | + <!-- End immutable parameters --> | |
37 | + | |
38 | + <!-- Periodicity of client pings. Server window by default is twice this figure --> | |
39 | + <attribute name="clientLeasePeriod" isParam="true">10000</attribute> | |
40 | + | |
41 | + <!-- Number of seconds to wait for a connection in the client pool to become free --> | |
42 | + <attribute name="numberOfRetries" isParam="true">10</attribute> | |
43 | + | |
44 | + <!-- Max Number of connections in client pool. This should be significantly higher than | |
45 | + the max number of sessions/consumers you expect --> | |
46 | + <attribute name="clientMaxPoolSize" isParam="true">200</attribute> | |
47 | + | |
48 | + <!-- Use these parameters to specify values for binding and connecting control connections to | |
49 | + work with your firewall/NAT configuration | |
50 | + <attribute name="secondaryBindPort">xyz</attribute> | |
51 | + <attribute name="secondaryConnectPort">abc</attribute> | |
52 | + --> | |
53 | + | |
54 | + </invoker> | |
55 | + <handlers> | |
56 | + <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler> | |
57 | + </handlers> | |
58 | + </config> | |
59 | + </attribute> | |
60 | + </mbean> | |
61 | + | |
62 | +</server> | ... | ... |
bootstrap/deploy/remoting-service.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- | |
3 | + Connector for both EJB3 and JNDI | |
4 | +--> | |
5 | +<server> | |
6 | + <mbean code="org.jboss.remoting.transport.Connector" | |
7 | + name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3"> | |
8 | + <attribute name="InvokerLocator">socket://${jboss.bind.address}:3883</attribute> | |
9 | + <attribute name="Configuration"> | |
10 | + <handlers> | |
11 | + <handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler> | |
12 | + </handlers> | |
13 | + </attribute> | |
14 | + </mbean> | |
15 | +</server> | ... | ... |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | + | |
3 | +<!-- | |
4 | + Aspect Deployer | |
5 | +--> | |
6 | +<deployment xmlns="urn:jboss:bean-deployer:2.0"> | |
7 | + <bean name="AOPJBossIntegration" class="org.jboss.aop.asintegration.embedded.JBossEmbeddedUCLIntegration"/> | |
8 | + <!-- | |
9 | + Valid values for the AspectManager bean for use with enableTransformer=true are: | |
10 | + * org.jboss.aop.deployers.AspectManagerJDK5 - works with the -javaagent:pluggable-instrumentor.jar switch | |
11 | + * org.jboss.aop.deployers.AspectManagerJRockit - works with JRockit and the -Xmanagement:class=org.jboss.aop.hook.JRockitPluggableClassPreProcessor switch | |
12 | + --> | |
13 | + <bean name="AspectManager" class="org.jboss.aop.deployers.AspectManagerJDK5"> | |
14 | + <constructor> | |
15 | + <parameter><![CDATA[ | |
16 | + <aop> | |
17 | + </aop>]]> | |
18 | + </parameter> | |
19 | + </constructor> | |
20 | + <property name="jbossIntegration"><inject bean="AOPJBossIntegration"/></property> | |
21 | + <property name="enableLoadtimeWeaving">false</property> | |
22 | + <!-- only relevant when EnableLoadtimeWeaving is true. | |
23 | + When transformer is on, every loaded class gets | |
24 | + transformed. If AOP can't find the class, then it | |
25 | + throws an exception. Sometimes, classes may not have | |
26 | + all the classes they reference. So, the Suppressing | |
27 | + is needed. (i.e. Jboss cache in the default configuration --> | |
28 | + <property name="suppressTransformationErrors">true</property> | |
29 | + <property name="prune">true</property> | |
30 | + <property name="include">org.jboss.test., org.jboss.injbossaop.</property> | |
31 | + <property name="exclude">org.jboss.</property> | |
32 | + <!-- This avoids instrumentation of hibernate cglib enhanced proxies | |
33 | + <property name="ignore">*$$EnhancerByCGLIB$$*</property> --> | |
34 | + <property name="optimized">true</property> | |
35 | + <property name="verbose">false</property> | |
36 | + <!-- | |
37 | + Available choices for this attribute are: | |
38 | + org.jboss.aop.instrument.ClassicInstrumentor (default) | |
39 | + org.jboss.aop.instrument.GeneratedAdvisorInstrumentor | |
40 | + <property name="instrumentor">org.jboss.aop.instrument.ClassicInstrumentor</property> | |
41 | + --> | |
42 | + </bean> | |
43 | + | |
44 | + <!-- Aspect Deployment --> | |
45 | + <bean name="AspectDeployer" class="org.jboss.aop.deployers.AspectDeployer"> | |
46 | + <property name="type">aop</property> | |
47 | + <property name="aspectManager"><inject bean="AspectManager" property="aspectManager"/></property> | |
48 | + </bean> | |
49 | + | |
50 | +</deployment> | ... | ... |
bootstrap/deployers/ejb-deployer-beans.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- | |
3 | + EJB 2.x Deployer | |
4 | +--> | |
5 | +<deployment xmlns="urn:jboss:bean-deployer:2.0"> | |
6 | + | |
7 | + <!-- ejb-jar.xml parsing deployer --> | |
8 | + <bean name="Ejb2ParsingDeployer" class="org.jboss.deployment.EjbParsingDeployer"> | |
9 | + <property name="type">ejb2x</property> | |
10 | + <property name="useSchemaValidation">false</property> | |
11 | + <property name="relativeOrder">3000</property> | |
12 | + </bean> | |
13 | + <bean name="JBossEjb2ParsingDeployer" class="org.jboss.deployment.JBossEjbParsingDeployer"> | |
14 | + <property name="type">ejb2x</property> | |
15 | + <property name="relativeOrder">3001</property> | |
16 | + <property name="useSchemaValidation">false</property> | |
17 | + <property name="ignoreMissingStandardJBossXml">true</property> | |
18 | + </bean> | |
19 | + | |
20 | + <bean name="EJB2xDeployer" class="org.jboss.ejb.deployers.EjbDeployer"> | |
21 | + <!-- The EJBDeployer needs the JTA transaction manager service --> | |
22 | + <property name="transactionManagerServiceName">jboss:service=TransactionManager</property> | |
23 | + <!-- The dynamic class loading simple web server --> | |
24 | + <property name="webServiceName">jboss:service=WebService</property> | |
25 | + <!-- The CachedConnectionManager service used by the CachedConnectionInterceptor --> | |
26 | + <property name="cachedConnectionManagerName">jboss.jca:service=CachedConnectionManager</property> | |
27 | + <!-- The ejb timer service --> | |
28 | + <property name="timerServiceName">jboss.ejb:service=EJBTimerService</property> | |
29 | + <!-- A flag indicating if the ejb components should have in VM call | |
30 | + optimization disabled. | |
31 | + --> | |
32 | + <property name="callByValue">false</property> | |
33 | + | |
34 | + <!-- Specify an unauthenticated identity --> | |
35 | + <property name="unauthenticatedIdentity">anonymous</property> | |
36 | + | |
37 | + <!-- Specify a SecurityManagement Wrapper --> | |
38 | + <property name="securityManagement"> | |
39 | + <inject bean="JNDIBasedSecurityManagement"/> | |
40 | + </property> | |
41 | + <!-- Specify a SecurityContext FQN class name --> | |
42 | + <property name="securityContextClassName">org.jboss.security.plugins.JBossSecurityContext</property> | |
43 | + | |
44 | + <!-- Specify a SecurityDomain as fallback --> | |
45 | + <property name="defaultSecurityDomain">jboss-ejb-policy</property> | |
46 | + | |
47 | + <depends>SecurityDeployer</depends> | |
48 | + </bean> | |
49 | + | |
50 | + <bean name="MergedJBossMetaDataDeployer" class="org.jboss.ejb.deployers.MergedJBossMetaDataDeployer"> | |
51 | + </bean> | |
52 | + <bean name="StandardJBossMetaDataDeployer" class="org.jboss.ejb.deployers.StandardJBossMetaDataDeployer"> | |
53 | + </bean> | |
54 | +</deployment> | ... | ... |
bootstrap/deployers/ejb3-deployers-beans.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | + | |
3 | +<!-- | |
4 | + JCA Deployers | |
5 | +--> | |
6 | +<deployment xmlns="urn:jboss:bean-deployer:2.0"> | |
7 | + | |
8 | + <!-- TODO this should be removed later on when ENC gets changed --> | |
9 | + <bean name="java:comp/Initializer" class="org.jboss.ejb3.embedded.JavaCompInitializer"/> | |
10 | + <bean name="DefaultPersistenceProperties" class="org.jboss.ejb3.DefaultPersistenceProperties"/> | |
11 | + | |
12 | + <bean name="Ejb3Deployer" class="org.jboss.ejb3.deployers.Ejb3Deployer"> | |
13 | + <property name="type">ejb3x</property> | |
14 | + <property name="kernel"><inject bean="jboss.kernel:service=Kernel"/></property> | |
15 | + <property name="mbeanServer"><inject bean="JMXKernel" property="mbeanServer"/></property> | |
16 | + <property name="defaultPersistenceProperties"><inject bean="DefaultPersistenceProperties" property="properties"/></property> | |
17 | + <property name="cacheFactoryRegistry"><inject bean="EJB3CacheFactoryRegistry" /></property> | |
18 | + <property name="poolFactoryRegistry"><inject bean="EJB3PoolFactoryRegistry" /></property> | |
19 | + <property name="remoteProxyFactoryRegistry"><inject bean="EJB3RemoteProxyFactoryRegistry" /></property> | |
20 | + <property name="persistenceManagerFactoryRegistry"><inject bean="EJB3PersistenceManagerFactoryRegistry" /></property> | |
21 | + | |
22 | + <!-- | |
23 | + | |
24 | + Configure the deployer to optionally require a deployment | |
25 | + descriptor for deployable units. By turning this switch to "true", | |
26 | + "META-INF/jboss.xml" or the EJB3 Deployment Descriptor "META-INF/ejb-jar.xml" | |
27 | + will be required for deployment, enabling a performance increace in deployment by | |
28 | + not scanning for annotations in non-deployable EJB3 JARs. | |
29 | + | |
30 | + Default for this value is "false". | |
31 | + | |
32 | + --> | |
33 | + <property name="deploymentDescriptorRequired">false</property> | |
34 | + | |
35 | + <property name="ignoredJarsSet"> | |
36 | + <set elementClass="java.lang.String"> | |
37 | + <value>snmp-adaptor.jar</value> | |
38 | + <value>otherimages.jar</value> | |
39 | + <value>applet.jar</value> | |
40 | + <value>jcommon.jar</value> | |
41 | + <value>console-mgr-classes.jar</value> | |
42 | + <value>jfreechart.jar</value> | |
43 | + <value>juddi-service.jar</value> | |
44 | + <value>wsdl4j.jar</value> | |
45 | + <value>commons-collections.jar</value> | |
46 | + <value>commons-pool.jar</value> | |
47 | + <value>juddi.jar</value> | |
48 | + <value>commons-discovery.jar</value> | |
49 | + <value>uddi4j.jar</value> | |
50 | + <value>axis.jar</value> | |
51 | + <value>commons-dbcp.jar</value> | |
52 | + <value>jboss-juddiaxis.jar</value> | |
53 | + <value>trove.jar</value> | |
54 | + <value>javassist.jar</value> | |
55 | + <value>jboss-aop-jdk50.jar</value> | |
56 | + <value>jboss-aspect-library-jdk50.jar</value> | |
57 | + <value>ejb3-persistence.jar</value> | |
58 | + <value>commons-validator-1.1.3.jar</value> | |
59 | + <value>commons-collections.jar</value> | |
60 | + <value>commons-fileupload.jar</value> | |
61 | + <value>commons-pool.jar</value> | |
62 | + <value>hibernate-entitymanager.jar</value> | |
63 | + <value>jboss-ejb3x.jar</value> | |
64 | + <value>commons-digester-1.6.jar</value> | |
65 | + <value>cglib-2.1.1.jar</value> | |
66 | + <value>commons-discovery.jar</value> | |
67 | + <value>jboss-annotations-ejb3.jar</value> | |
68 | + <value>jaxen-1.1-beta-4.jar</value> | |
69 | + <value>hibernate-annotations.jar</value> | |
70 | + <value>commons-httpclient.jar</value> | |
71 | + <value>commons-logging.jar</value> | |
72 | + <value>commons-vfs.jar</value> | |
73 | + <value>hibernate3.jar</value> | |
74 | + <value>commons-logging-api.jar</value> | |
75 | + <value>asm.jar</value> | |
76 | + <value>asm-attrs.jar</value> | |
77 | + <value>commons-lang-2.0.jar</value> | |
78 | + <value>commons-beanutils.jar</value> | |
79 | + <value>jboss-ejb3.jar</value> | |
80 | + <value>dom4j.jar</value> | |
81 | + <value>commons-codec-1.2.jar</value> | |
82 | + <value>wsdl4j.jar</value> | |
83 | + <value>xmlsec.jar</value> | |
84 | + <value>jbossws.jar</value> | |
85 | + <value>jboss-bean-deployer.jar</value> | |
86 | + <value>jboss-microcontainer.jar</value> | |
87 | + <value>jboss-dependency.jar</value> | |
88 | + <value>jboss-container.jar</value> | |
89 | + <value>tomcat-coyote.jar</value> | |
90 | + <value>commons-collections.jar</value> | |
91 | + <value>myfaces.jar</value> | |
92 | + <value>jstl.jar</value> | |
93 | + <value>commons-digester-1.6.jar</value> | |
94 | + <value>myfaces-impl.jar</value> | |
95 | + <value>commons-beanutils.jar</value> | |
96 | + <value>myfaces-jsf-api.jar</value> | |
97 | + <value>commons-codec-1.2.jar</value> | |
98 | + <value>catalina-optional.jar</value> | |
99 | + <value>tomcat-util.jar</value> | |
100 | + <value>jasper-compiler.jar</value> | |
101 | + <value>commons-el.jar</value> | |
102 | + <value>jasper-compiler-jdt.jar</value> | |
103 | + <value>tomcat-http.jar</value> | |
104 | + <value>catalina-manager.jar</value> | |
105 | + <value>jasper-runtime.jar</value> | |
106 | + <value>tomcat55-service.jar</value> | |
107 | + <value>servlets-invoker.jar</value> | |
108 | + <value>catalina.jar</value> | |
109 | + <value>naming-resources.jar</value> | |
110 | + <value>servlets-default.jar</value> | |
111 | + <value>tomcat-ajp.jar</value> | |
112 | + <value>commons-modeler.jar</value> | |
113 | + <value>tomcat-apr.jar</value> | |
114 | + <value>servlets-webdav.jar</value> | |
115 | + </set> | |
116 | + </property> | |
117 | + <depends>AspectLibrary</depends> | |
118 | + </bean> | |
119 | + <bean name="EJBStage2Deployer" class="org.jboss.ejb3.deployers.EJBStage2Deployer"> | |
120 | + <depends>AspectLibrary</depends> | |
121 | + </bean> | |
122 | + | |
123 | + <bean name="AppClientParsingDeployer" class="org.jboss.ejb3.deployers.AppClientParsingDeployer"> | |
124 | + <property name="type">car</property> | |
125 | + <!-- TODO: check depends --> | |
126 | + <depends>AspectLibrary</depends> | |
127 | + </bean> | |
128 | + | |
129 | + <bean name="JBossClientParsingDeployer" class="org.jboss.ejb3.deployers.JBossClientParsingDeployer"> | |
130 | + <property name="type">car</property> | |
131 | + <depends>AppClientParsingDeployer</depends> | |
132 | + </bean> | |
133 | + | |
134 | + <bean name="AppClientScanningDeployer" class="org.jboss.ejb3.deployers.AppClientScanningDeployer"> | |
135 | + <depends>JBossClientParsingDeployer</depends> | |
136 | + </bean> | |
137 | + | |
138 | + <bean name="Ejb3ClientDeployer" class="org.jboss.ejb3.deployers.Ejb3ClientDeployer"> | |
139 | + <property name="type">car</property> | |
140 | + <property name="kernel"><inject bean="jboss.kernel:service=Kernel"/></property> | |
141 | + <property name="mbeanServer"><inject bean="JMXKernel" property="mbeanServer"/></property> | |
142 | + <!-- TODO: check depends --> | |
143 | + <depends>AspectLibrary</depends> | |
144 | + <depends>AppClientScanningDeployer</depends> | |
145 | + </bean> | |
146 | + | |
147 | + <!-- EJB3 Cache Factory Registry --> | |
148 | + <bean name="EJB3CacheFactoryRegistry" class="org.jboss.ejb3.cache.CacheFactoryRegistry"> | |
149 | + <property name="factories"> | |
150 | + <!-- Define each of the registered factories --> | |
151 | + <map class="java.util.HashMap" keyClass="java.lang.String" | |
152 | + valueClass="java.lang.Class"> | |
153 | + <!-- NoPassivationCache --> | |
154 | + <entry> | |
155 | + <key>NoPassivationCache</key> | |
156 | + <value>org.jboss.ejb3.cache.NoPassivationCacheFactory</value> | |
157 | + </entry> | |
158 | + <!-- SimpleStatefulCache --> | |
159 | + <entry> | |
160 | + <key>SimpleStatefulCache</key> | |
161 | + <value>org.jboss.ejb3.cache.simple.SimpleStatefulCacheFactory</value> | |
162 | + </entry> | |
163 | + <!-- StatefulTreeCache --> | |
164 | + <entry> | |
165 | + <key>StatefulTreeCache</key> | |
166 | + <value>org.jboss.ejb3.cache.tree.StatefulTreeCacheFactory</value> | |
167 | + </entry> | |
168 | + </map> | |
169 | + </property> | |
170 | + </bean> | |
171 | + | |
172 | + <!-- EJB3 Pool Factory Registry --> | |
173 | + <bean name="EJB3PoolFactoryRegistry" class="org.jboss.ejb3.pool.PoolFactoryRegistry"> | |
174 | + <property name="factories"> | |
175 | + <!-- Define each of the registered factories --> | |
176 | + <map class="java.util.HashMap" keyClass="java.lang.String" | |
177 | + valueClass="java.lang.Class"> | |
178 | + <!-- ThreadlocalPool --> | |
179 | + <entry> | |
180 | + <key>ThreadlocalPool</key> | |
181 | + <value>org.jboss.ejb3.pool.ThreadlocalPoolFactory</value> | |
182 | + </entry> | |
183 | + <!-- StrictMaxPool --> | |
184 | + <entry> | |
185 | + <key>StrictMaxPool</key> | |
186 | + <value>org.jboss.ejb3.pool.StrictMaxPoolFactory</value> | |
187 | + </entry> | |
188 | + </map> | |
189 | + </property> | |
190 | + </bean> | |
191 | + | |
192 | + <!-- Remoting Proxy Factory Registry --> | |
193 | + <bean name="EJB3RemoteProxyFactoryRegistry" class="org.jboss.ejb3.remoting.RemoteProxyFactoryRegistry"> | |
194 | + <property name="factories"> | |
195 | + <!-- Define each of the registered factories --> | |
196 | + <map class="java.util.HashMap" keyClass="java.lang.String" | |
197 | + valueClass="java.lang.Class"> | |
198 | + <!-- RemoteProxyFactory --> | |
199 | + <entry> | |
200 | + <key>RemoteProxyFactory</key> | |
201 | + <value>org.jboss.ejb3.remoting.RemoteProxyFactory</value> | |
202 | + </entry> | |
203 | + <!-- IORFactory --> | |
204 | + <entry> | |
205 | + <key>IORFactory</key> | |
206 | + <value>org.jboss.ejb3.iiop.IORFactory</value> | |
207 | + </entry> | |
208 | + <!-- ServiceRemoteProxyFactory --> | |
209 | + <entry> | |
210 | + <key>ServiceRemoteProxyFactory</key> | |
211 | + <value>org.jboss.ejb3.service.ServiceRemoteProxyFactory</value> | |
212 | + </entry> | |
213 | + <!-- StatefulClusterProxyFactory --> | |
214 | + <!-- <entry> | |
215 | + <key>StatefulClusterProxyFactory</key> | |
216 | + <value>org.jboss.ejb3.stateful.StatefulClusterProxyFactory</value> | |
217 | + </entry>--> | |
218 | + <!-- StatefulRemoteProxyFactory --> | |
219 | + <entry> | |
220 | + <key>StatefulRemoteProxyFactory</key> | |
221 | + <value>org.jboss.ejb3.stateful.StatefulRemoteProxyFactory</value> | |
222 | + </entry> | |
223 | + <!-- StatelessClusterProxyFactory --> | |
224 | + <!-- <entry> | |
225 | + <key>StatelessClusterProxyFactory</key> | |
226 | + <value>org.jboss.ejb3.stateless.StatelessClusterProxyFactory</value> | |
227 | + </entry>--> | |
228 | + <!-- StatelessRemoteProxyFactory --> | |
229 | + <entry> | |
230 | + <key>StatelessRemoteProxyFactory</key> | |
231 | + <value>org.jboss.ejb3.stateless.StatelessRemoteProxyFactory</value> | |
232 | + </entry> | |
233 | + </map> | |
234 | + </property> | |
235 | + </bean> | |
236 | + | |
237 | + <!-- EJB3 Persistence Manager Factory Registry --> | |
238 | + <bean name="EJB3PersistenceManagerFactoryRegistry" class="org.jboss.ejb3.cache.persistence.PersistenceManagerFactoryRegistry"> | |
239 | + <property name="factories"> | |
240 | + <!-- Define each of the registered factories --> | |
241 | + <map class="java.util.HashMap" keyClass="java.lang.String" | |
242 | + valueClass="java.lang.Class"> | |
243 | + <!-- StatefulSessionFilePersistenceManager --> | |
244 | + <entry> | |
245 | + <key>StatefulSessionFilePersistenceManager</key> | |
246 | + <value>org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManagerFactory</value> | |
247 | + </entry> | |
248 | + </map> | |
249 | + </property> | |
250 | + </bean> | |
251 | + | |
252 | + <bean name="JNDIKernelRegistryPlugin" class="org.jboss.ejb3.kernel.JNDIKernelRegistryPlugin"/> | |
253 | + | |
254 | + <!-- Persistence Unit deployers --> | |
255 | + <bean name="PersistenceUnitParsingDeployer" class="org.jboss.ejb3.deployers.PersistenceUnitParsingDeployer"> | |
256 | + <property name="type">car</property> | |
257 | + </bean> | |
258 | + | |
259 | +</deployment> | ... | ... |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | + | |
3 | +<!-- | |
4 | + Aspect Deployer | |
5 | +--> | |
6 | +<deployment xmlns="urn:jboss:bean-deployer:2.0"> | |
7 | + | |
8 | + <!-- Aspect Library --> | |
9 | + <bean name="AspectLibrary" class="org.jboss.aop.deployers.JBossAspectLibrary"> | |
10 | + <property name="aspectManager"><inject bean="AspectManager"/></property> | |
11 | + </bean> | |
12 | + | |
13 | + <!-- Add the JMX --> | |
14 | + <aop:lifecycle-configure xmlns:aop="urn:jboss:aop-beans:1.0" | |
15 | + name="JMXAdvice" | |
16 | + class="org.jboss.aop.microcontainer.aspects.jmx.JMXLifecycleCallback" | |
17 | + classes="@org.jboss.aop.microcontainer.aspects.jmx.JMX" | |
18 | + manager-bean="AspectManager" | |
19 | + manager-property="aspectManager"> | |
20 | + <property name="mbeanServer"><inject bean="JMXKernel" property="mbeanServer"/></property> | |
21 | + </aop:lifecycle-configure> | |
22 | + | |
23 | +</deployment> | ... | ... |
bootstrap/deployers/jca-deployers-beans.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | + | |
3 | +<!-- | |
4 | + JCA Deployers | |
5 | + $Id: jca-deployers-beans.xml 7115 2008-01-10 23:23:32Z pmuir $ | |
6 | +--> | |
7 | +<deployment xmlns="urn:jboss:bean-deployer:2.0"> | |
8 | + | |
9 | + <bean name="JCAMetaDataRepository" class="org.jboss.resource.metadata.repository.DefaultJCAMetaDataRepository"/> | |
10 | + | |
11 | + <!-- RAR Deployment --> | |
12 | + <bean name="RARParserDeployer" class="org.jboss.resource.deployers.RARParserDeployer"> | |
13 | + <property name="metaDataRepository"><inject bean="JCAMetaDataRepository"/></property> | |
14 | + <property name="type">rar</property> | |
15 | + </bean> | |
16 | + | |
17 | + <bean name="RARDeployer" class="org.jboss.resource.deployers.RARDeployer"> | |
18 | + <property name="workManagerName">jboss.jca:service=WorkManager</property> | |
19 | + <property name="XATerminatorName">jboss:service=TransactionManager</property> | |
20 | + <property name="type">rar</property> | |
21 | + </bean> | |
22 | + | |
23 | + | |
24 | + | |
25 | + <!-- ConnectionFactory Deployment - -> | |
26 | + | |
27 | + <bean name="ConnectionFactoryDeployer" class="org.jboss.system.deployers.ServiceXSLDeployer"> | |
28 | + <property name="suffix">-ds.xml</property> | |
29 | + <property name="XSLPath">stylesheets/ConnectionFactoryTemplate.xsl</property> | |
30 | + <property name="type">jca-ds</property> | |
31 | + </bean> | |
32 | + | |
33 | + --> | |
34 | + | |
35 | + <bean name="MCFBuilder" class="org.jboss.resource.deployers.builder.ManagedConnectionFactoryBuilder"> | |
36 | + <property name="metaDataRepository"><inject bean="JCAMetaDataRepository"/></property> | |
37 | + </bean> | |
38 | + | |
39 | + <bean name="PoolBuilder" class="org.jboss.resource.deployers.builder.ManagedConnectionPoolBuilder"/> | |
40 | + <bean name="ConnectionManagerBuilder" class="org.jboss.resource.deployers.builder.ConnectionManagerBuilder"/> | |
41 | + <bean name="ConnectionFactoryBindingBuilder" class="org.jboss.resource.deployers.builder.ConnectionFactoryBindingBuilder"/> | |
42 | + <bean name="MetaDataTypeMappingBuilder" class="org.jboss.resource.deployers.builder.MetaDataTypeMappingBuilder"/> | |
43 | + | |
44 | + <bean name="ManagedConnectionFactoryParserDeployer" class="org.jboss.resource.deployers.ManagedConnectionFactoryParserDeployer"> | |
45 | + <property name="repository"><inject bean="JCAMetaDataRepository"></inject></property> | |
46 | + <property name="suffix">-ds.xml</property> | |
47 | + <property name="type">jca-ds</property> | |
48 | + </bean> | |
49 | + | |
50 | + <bean name="ManagedConnectionFactoryDeployer" class="org.jboss.resource.deployers.ManagedConnectionFactoryDeployer"> | |
51 | + <property name="repository"><inject bean="JCAMetaDataRepository"></inject></property> | |
52 | + <property name="builders"> | |
53 | + <list> | |
54 | + <inject bean="MCFBuilder"/> | |
55 | + <inject bean="PoolBuilder"/> | |
56 | + <inject bean="ConnectionManagerBuilder"/> | |
57 | + <inject bean="ConnectionFactoryBindingBuilder"/> | |
58 | + <inject bean="MetaDataTypeMappingBuilder"/> | |
59 | + </list> | |
60 | + </property> | |
61 | + <property name="type">jca-ds</property> | |
62 | + </bean> | |
63 | + | |
64 | + <!-- The template for creating a datasource --> | |
65 | + <bean name="LocalTxDataSourceTemplate" class="org.jboss.resource.deployers.management.DsDataSourceTemplate"> | |
66 | + <property name="info"><inject bean="LocalTxDataSourceTemplateInfo"/></property> | |
67 | + </bean> | |
68 | + <bean name="LocalTxDataSourceTemplateInfo" | |
69 | + class="org.jboss.resource.deployers.management.DsDataSourceTemplateInfo"> | |
70 | + <constructor> | |
71 | + <parameter>LocalTxDataSourceTemplate</parameter> | |
72 | + <parameter>A template for datasource *-ds.xml deployments</parameter> | |
73 | + <parameter>local-tx-datasource</parameter> | |
74 | + </constructor> | |
75 | + </bean> | |
76 | + <bean name="XADataSourceTemplate" class="org.jboss.resource.deployers.management.DsDataSourceTemplate"> | |
77 | + <property name="info"><inject bean="XADataSourceTemplateInfo"/></property> | |
78 | + </bean> | |
79 | + <bean name="XADataSourceTemplateInfo" | |
80 | + class="org.jboss.resource.deployers.management.DsDataSourceTemplateInfo"> | |
81 | + <constructor> | |
82 | + <parameter>XADataSourceTemplate</parameter> | |
83 | + <parameter>A template for xa-datasource *-ds.xml deployments</parameter> | |
84 | + <parameter>xa-datasource</parameter> | |
85 | + </constructor> | |
86 | + </bean> | |
87 | + <bean name="NoTxDataSourceTemplate" class="org.jboss.resource.deployers.management.DsDataSourceTemplate"> | |
88 | + <property name="info"><inject bean="NoTxDataSourceTemplateInfo"/></property> | |
89 | + </bean> | |
90 | + <bean name="NoTxDataSourceTemplateInfo" | |
91 | + class="org.jboss.resource.deployers.management.DsDataSourceTemplateInfo"> | |
92 | + <constructor> | |
93 | + <parameter>NoTxDataSourceTemplate</parameter> | |
94 | + <parameter>A template for no-tx-datasource *-ds.xml deployments</parameter> | |
95 | + <parameter>no-tx-datasource</parameter> | |
96 | + </constructor> | |
97 | + </bean> | |
98 | + <bean name="TxConnectionFactoryTemplate" class="org.jboss.resource.deployers.management.DsDataSourceTemplate"> | |
99 | + <property name="info"><inject bean="TxConnectionFactoryTemplateInfo"/></property> | |
100 | + </bean> | |
101 | + <bean name="TxConnectionFactoryTemplateInfo" | |
102 | + class="org.jboss.resource.deployers.management.DsDataSourceTemplateInfo"> | |
103 | + <constructor> | |
104 | + <parameter>TxConnectionFactoryTemplate</parameter> | |
105 | + <parameter>A template for tx-connection-factory *-ds.xml deployments</parameter> | |
106 | + <parameter>tx-connection-factory</parameter> | |
107 | + </constructor> | |
108 | + </bean> | |
109 | + <bean name="NoTxConnectionFactoryTemplate" class="org.jboss.resource.deployers.management.DsDataSourceTemplate"> | |
110 | + <property name="info"><inject bean="NoTxConnectionFactoryTemplateInfo"/></property> | |
111 | + </bean> | |
112 | + <bean name="NoTxConnectionFactoryTemplateInfo" | |
113 | + class="org.jboss.resource.deployers.management.DsDataSourceTemplateInfo"> | |
114 | + <constructor> | |
115 | + <parameter>NoTxConnectionFactoryTemplate</parameter> | |
116 | + <parameter>A template for no-tx-connection-factory *-ds.xml deployments</parameter> | |
117 | + <parameter>no-tx-connection-factory</parameter> | |
118 | + </constructor> | |
119 | + </bean> | |
120 | + | |
121 | +</deployment> | ... | ... |
bootstrap/deployers/metadata-beans.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | + | |
3 | +<!-- | |
4 | + MetaData configuration | |
5 | + $Id: metadata-beans.xml 6916 2007-12-05 17:53:00Z pmuir $ | |
6 | +--> | |
7 | +<deployment xmlns="urn:jboss:bean-deployer:2.0"> | |
8 | + | |
9 | + <!-- The reference metdata resolving deployer | |
10 | + --> | |
11 | + <bean name="ReferenceMetaDataResolverDeployer" | |
12 | + class="org.jboss.deployment.ReferenceMetaDataResolverDeployer"> | |
13 | + </bean> | |
14 | + <bean name="AnnotationMetaDataDeployer" | |
15 | + class="org.jboss.deployment.AnnotationMetaDataDeployer"> | |
16 | + <property name="metaDataCompleteIsDefault">true</property> | |
17 | + </bean> | |
18 | + | |
19 | + <!-- The schema location to JBossXB binding class mappings. We specify the dtd/xsd name | |
20 | + of the schema as the location to work with legacy dtd as well as namespace based | |
21 | + documents. | |
22 | + --> | |
23 | + <bean name="SchemaResolverConfig" | |
24 | + class="org.jboss.xb.binding.sunday.unmarshalling.SchemaResolverConfig"> | |
25 | + | |
26 | + <!-- schemaLocation to JBossXBuilder binding classes --> | |
27 | + <property name="bindingClassesByLocations"> | |
28 | + <map keyClass="java.lang.String" valueClass="java.lang.String"> | |
29 | + <!-- EarMetaData --> | |
30 | + <entry> | |
31 | + <key>application</key> | |
32 | + <value>org.jboss.metadata.ear.spec.Ear14MetaData</value> | |
33 | + </entry> | |
34 | + <entry> | |
35 | + <key>application_1_2.dtd</key> | |
36 | + <value>org.jboss.metadata.ear.spec.Ear13DTDMetaData</value> | |
37 | + </entry> | |
38 | + <entry> | |
39 | + <key>application_1_3.dtd</key> | |
40 | + <value>org.jboss.metadata.ear.spec.Ear13DTDMetaData</value> | |
41 | + </entry> | |
42 | + <entry> | |
43 | + <key>application_1_4.xsd</key> | |
44 | + <value>org.jboss.metadata.ear.spec.Ear14MetaData</value> | |
45 | + </entry> | |
46 | + <entry> | |
47 | + <key>application_5.xsd</key> | |
48 | + <value>org.jboss.metadata.ear.spec.Ear50MetaData</value> | |
49 | + </entry> | |
50 | + <!-- JBossAppMetaData --> | |
51 | + <entry> | |
52 | + <key>jboss-app</key> | |
53 | + <value>org.jboss.metadata.ear.jboss.JBoss50DTDAppMetaData</value> | |
54 | + </entry> | |
55 | + <entry> | |
56 | + <key>jboss-app_3_0.dtd</key> | |
57 | + <value>org.jboss.metadata.ear.jboss.JBoss50DTDAppMetaData</value> | |
58 | + </entry> | |
59 | + <entry> | |
60 | + <key>jboss-app_3_2.dtd</key> | |
61 | + <value>org.jboss.metadata.ear.jboss.JBoss50DTDAppMetaData</value> | |
62 | + </entry> | |
63 | + <entry> | |
64 | + <key>jboss-app_4_0.dtd</key> | |
65 | + <value>org.jboss.metadata.ear.jboss.JBoss50DTDAppMetaData</value> | |
66 | + </entry> | |
67 | + <entry> | |
68 | + <key>jboss-app_4_2.dtd</key> | |
69 | + <value>org.jboss.metadata.ear.jboss.JBoss50DTDAppMetaData</value> | |
70 | + </entry> | |
71 | + <entry> | |
72 | + <key>jboss-app_5_0.dtd</key> | |
73 | + <value>org.jboss.metadata.ear.jboss.JBoss50DTDAppMetaData</value> | |
74 | + </entry> | |
75 | + <entry> | |
76 | + <key>jboss-app_5_0.xsd</key> | |
77 | + <value>org.jboss.metadata.ear.jboss.JBoss50AppMetaData</value> | |
78 | + </entry> | |
79 | + | |
80 | + <!-- ApplicationClientMetaData --> | |
81 | + <entry> | |
82 | + <key>application-client</key> | |
83 | + <value>org.jboss.metadata.client.spec.ApplicationClient14DTDMetaData</value> | |
84 | + </entry> | |
85 | + <entry> | |
86 | + <key>application-client_1_2.dtd</key> | |
87 | + <value>org.jboss.metadata.client.spec.ApplicationClient14DTDMetaData</value> | |
88 | + </entry> | |
89 | + <entry> | |
90 | + <key>application-client_1_3.dtd</key> | |
91 | + <value>org.jboss.metadata.client.spec.ApplicationClient14DTDMetaData</value> | |
92 | + </entry> | |
93 | + <entry> | |
94 | + <key>application-client_1_4.xsd</key> | |
95 | + <value>org.jboss.metadata.client.spec.ApplicationClient14MetaData</value> | |
96 | + </entry> | |
97 | + <entry> | |
98 | + <key>application-client_5.xsd</key> | |
99 | + <value>org.jboss.metadata.client.spec.ApplicationClient5MetaData</value> | |
100 | + </entry> | |
101 | + <!-- ApplicationClientMetaData --> | |
102 | + <entry> | |
103 | + <key>jboss-client</key> | |
104 | + <value>org.jboss.metadata.client.jboss.JBossClient5DTDMetaData</value> | |
105 | + </entry> | |
106 | + <entry> | |
107 | + <key>jboss-client_3_0.dtd</key> | |
108 | + <value>org.jboss.metadata.client.jboss.JBossClient5DTDMetaData</value> | |
109 | + </entry> | |
110 | + <entry> | |
111 | + <key>jboss-client_3_2.dtd</key> | |
112 | + <value>org.jboss.metadata.client.jboss.JBossClient5DTDMetaData</value> | |
113 | + </entry> | |
114 | + <entry> | |
115 | + <key>jboss-client_4_0.dtd</key> | |
116 | + <value>org.jboss.metadata.client.jboss.JBossClient5DTDMetaData</value> | |
117 | + </entry> | |
118 | + <entry> | |
119 | + <key>jboss-client_4_2.dtd</key> | |
120 | + <value>org.jboss.metadata.client.jboss.JBossClient5DTDMetaData</value> | |
121 | + </entry> | |
122 | + <entry> | |
123 | + <key>jboss-client_5_0.dtd</key> | |
124 | + <value>org.jboss.metadata.client.jboss.JBossClient5DTDMetaData</value> | |
125 | + </entry> | |
126 | + <entry> | |
127 | + <key>jboss-client_5_0.xsd</key> | |
128 | + <value>org.jboss.metadata.client.jboss.JBossClient5MetaData</value> | |
129 | + </entry> | |
130 | + | |
131 | + <!-- EjbJarMetaData --> | |
132 | + <entry> | |
133 | + <key>ejb-jar</key> | |
134 | + <value>org.jboss.metadata.ejb.spec.EjbJar20MetaData</value> | |
135 | + </entry> | |
136 | + <entry> | |
137 | + <key>ejb-jar_1_1.dtd</key> | |
138 | + <value>org.jboss.metadata.ejb.spec.EjbJar1xMetaData</value> | |
139 | + </entry> | |
140 | + <entry> | |
141 | + <key>ejb-jar_2_0.dtd</key> | |
142 | + <value>org.jboss.metadata.ejb.spec.EjbJar20MetaData</value> | |
143 | + </entry> | |
144 | + <entry> | |
145 | + <key>ejb-jar_2_1.xsd</key> | |
146 | + <value>org.jboss.metadata.ejb.spec.EjbJar21MetaData</value> | |
147 | + </entry> | |
148 | + <entry> | |
149 | + <key>ejb-jar_3_0.xsd</key> | |
150 | + <value>org.jboss.metadata.ejb.spec.EjbJar30MetaData</value> | |
151 | + </entry> | |
152 | + | |
153 | + <!-- JBossMetaData --> | |
154 | + <entry> | |
155 | + <key>jboss</key> | |
156 | + <value>org.jboss.metadata.ejb.jboss.JBoss50DTDMetaData</value> | |
157 | + </entry> | |
158 | + <entry> | |
159 | + <key>jboss_3_0.dtd</key> | |
160 | + <value>org.jboss.metadata.ejb.jboss.JBoss50DTDMetaData</value> | |
161 | + </entry> | |
162 | + <entry> | |
163 | + <key>jboss_3_2.dtd</key> | |
164 | + <value>org.jboss.metadata.ejb.jboss.JBoss50DTDMetaData</value> | |
165 | + </entry> | |
166 | + <entry> | |
167 | + <key>jboss_4_0.dtd</key> | |
168 | + <value>org.jboss.metadata.ejb.jboss.JBoss50DTDMetaData</value> | |
169 | + </entry> | |
170 | + <entry> | |
171 | + <key>jboss_4_2.dtd</key> | |
172 | + <value>org.jboss.metadata.ejb.jboss.JBoss50DTDMetaData</value> | |
173 | + </entry> | |
174 | + <entry> | |
175 | + <key>jboss_5_0.dtd</key> | |
176 | + <value>org.jboss.metadata.ejb.jboss.JBoss50DTDMetaData</value> | |
177 | + </entry> | |
178 | + <entry> | |
179 | + <key>jboss_5_0.xsd</key> | |
180 | + <value>org.jboss.metadata.ejb.jboss.JBoss50MetaData</value> | |
181 | + </entry> | |
182 | + | |
183 | + <!-- WebMetaData --> | |
184 | + <entry> | |
185 | + <key>web-app</key> | |
186 | + <value>org.jboss.metadata.web.spec.Web23MetaData</value> | |
187 | + </entry> | |
188 | + <entry> | |
189 | + <key>web-app_2_2.dtd</key> | |
190 | + <value>org.jboss.metadata.web.spec.Web23MetaData</value> | |
191 | + </entry> | |
192 | + <entry> | |
193 | + <key>web-app_2_3.dtd</key> | |
194 | + <value>org.jboss.metadata.web.spec.Web23MetaData</value> | |
195 | + </entry> | |
196 | + <entry> | |
197 | + <key>web-app_2_4.xsd</key> | |
198 | + <value>org.jboss.metadata.web.spec.Web24MetaData</value> | |
199 | + </entry> | |
200 | + <entry> | |
201 | + <key>web-app_2_5.xsd</key> | |
202 | + <value>org.jboss.metadata.web.spec.Web25MetaData</value> | |
203 | + </entry> | |
204 | + <!-- JBossWebMetaData --> | |
205 | + <entry> | |
206 | + <key>jboss-web</key> | |
207 | + <value>org.jboss.metadata.web.jboss.JBoss50DTDWebMetaData</value> | |
208 | + </entry> | |
209 | + <entry> | |
210 | + <key>jboss-web_3_0.dtd</key> | |
211 | + <value>org.jboss.metadata.web.jboss.JBoss50DTDWebMetaData</value> | |
212 | + </entry> | |
213 | + <entry> | |
214 | + <key>jboss-web_3_2.dtd</key> | |
215 | + <value>org.jboss.metadata.web.jboss.JBoss50DTDWebMetaData</value> | |
216 | + </entry> | |
217 | + <entry> | |
218 | + <key>jboss-web_4_0.dtd</key> | |
219 | + <value>org.jboss.metadata.web.jboss.JBoss50DTDWebMetaData</value> | |
220 | + </entry> | |
221 | + <entry> | |
222 | + <key>jboss-web_4_2.dtd</key> | |
223 | + <value>org.jboss.metadata.web.jboss.JBoss50DTDWebMetaData</value> | |
224 | + </entry> | |
225 | + <entry> | |
226 | + <key>jboss-web_5_0.dtd</key> | |
227 | + <value>org.jboss.metadata.web.jboss.JBoss50DTDWebMetaData</value> | |
228 | + </entry> | |
229 | + <entry> | |
230 | + <key>jboss-web_5_0.xsd</key> | |
231 | + <value>org.jboss.metadata.web.jboss.JBoss50WebMetaData</value> | |
232 | + </entry> | |
233 | + </map> | |
234 | + </property> | |
235 | + </bean> | |
236 | + | |
237 | +</deployment> | ... | ... |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | + | |
3 | +<!-- | |
4 | + Security Deployer | |
5 | +--> | |
6 | +<deployment xmlns="urn:jboss:bean-deployer:2.0"> | |
7 | + <bean name="SecurityDeployer" class="org.jboss.deployment.security.SecurityDeployer"> | |
8 | + <property name="type">security</property> | |
9 | + <property name="ignoreSuffixes"> | |
10 | + <set elementClass="java.lang.String"> | |
11 | + <value>xml</value> | |
12 | + <value>beans</value> | |
13 | + <value>deployer</value> | |
14 | + <value>rar</value> | |
15 | + <value>properties</value> | |
16 | + </set> | |
17 | + </property> | |
18 | + </bean> | |
19 | + | |
20 | + <!-- JNDI Object Factory to establish SecurityDomainContext objects --> | |
21 | + <bean name="SecurityDomainObjectFactory" class="org.jboss.security.integration.SecurityDomainObjectFactory" /> | |
22 | + | |
23 | + <!-- JNDI Context legacy establishment of java:/jaas/securityDomain --> | |
24 | + <bean name="JBossSecurityJNDIContextEstablishment" class="org.jboss.security.integration.JNDIContextEstablishment"/> | |
25 | + | |
26 | + <!-- JNDI Based Security Management --> | |
27 | + <bean name="JNDIBasedSecurityManagement" class="org.jboss.security.integration.JNDIBasedSecurityManagement"> | |
28 | + </bean> | |
29 | + | |
30 | +</deployment> | ... | ... |
bootstrap/jndi.properties
0 → 100644
bootstrap/log4j.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> | |
2 | + | |
3 | +<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false"> | |
4 | + | |
5 | + <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"> | |
6 | + <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/> | |
7 | + <param name="Target" value="System.out"/> | |
8 | + <layout class="org.apache.log4j.PatternLayout"> | |
9 | + <!-- The default pattern: Date Priority [Category] Message\n --> | |
10 | + <param name="ConversionPattern" value="%-5p [%c{6}] %m%n"/> | |
11 | + </layout> | |
12 | + </appender> | |
13 | + | |
14 | + <!-- ############### Embedded JBoss AS ################# --> | |
15 | + <category name="org.jboss"> | |
16 | + <priority value="ERROR"/> | |
17 | + </category> | |
18 | + <category name="com.arjuna"> | |
19 | + <priority value="ERROR"/> | |
20 | + </category> | |
21 | + | |
22 | + <!-- EMB-6, JMS activation throws an error due to deployment ordering, but as there is a timeout | |
23 | + and retry the tests pass. Hide the error message --> | |
24 | + <category name="jboss.resource.adapter.jms.inflow.JmsActivation"> | |
25 | + <priority value="ERROR"/> | |
26 | + </category> | |
27 | + | |
28 | + <!-- ############### Hibernate logging ################# --> | |
29 | + | |
30 | + <category name="org.hibernate"> | |
31 | + <priority value="ERROR"/> | |
32 | + </category> | |
33 | + | |
34 | + <!-- | |
35 | + <category name="org.hibernate.SQL"> | |
36 | + <priority value="TRACE"/> | |
37 | + </category> | |
38 | + <category name="org.hibernate.type"> | |
39 | + <priority value="TRACE"/> | |
40 | + </category> | |
41 | + <category name="org.hibernate.loader"> | |
42 | + <priority value="TRACE"/> | |
43 | + </category> | |
44 | + <category name="org.hibernate.cache"> | |
45 | + <priority value="TRACE"/> | |
46 | + </category> | |
47 | + --> | |
48 | + | |
49 | + <!-- Ajax4jsf is too noisy --> | |
50 | + <category name="org.ajax4jsf.cache"> | |
51 | + <priority value="WARN"/> | |
52 | + </category> | |
53 | + | |
54 | + | |
55 | + <!-- ############### Seam logging ################### --> | |
56 | + <category name="org.jboss.seam"> | |
57 | + <priority value="WARN"/> | |
58 | + </category> | |
59 | + | |
60 | + | |
61 | + | |
62 | + <!-- These things are too noisy | |
63 | + <category name="org.jboss.seam.jsf.SeamVariableResolver"> | |
64 | + <priority value="INFO"/> | |
65 | + </category> | |
66 | + <category name="org.jboss.seam.contexts.Contexts"> | |
67 | + <priority value="INFO"/> | |
68 | + </category> | |
69 | + <category name="org.jboss.seam.Component"> | |
70 | + <priority value="INFO"/> | |
71 | + </category> | |
72 | + <category name="org.jboss.seam.deployment.Scanner"> | |
73 | + <priority value="INFO"/> | |
74 | + </category> | |
75 | + <category name="org.jboss.seam.util.Naming"> | |
76 | + <priority value="INFO"/> | |
77 | + </category> | |
78 | + <category name="org.jboss.seam.debug.hot"> | |
79 | + <priority value="INFO"/> | |
80 | + </category> | |
81 | + <category name="org.jboss.seam.core.Events"> | |
82 | + <priority value="INFO"/> | |
83 | + </category> | |
84 | + --> | |
85 | + | |
86 | + <!-- Debugging conversations and persistence contexts | |
87 | + <category name="org.jboss.seam.core.Manager"> | |
88 | + <priority value="DEBUG"/> | |
89 | + </category> | |
90 | + <category name="org.jboss.seam.core.ManagedPersistenceContext"> | |
91 | + <priority value="DEBUG"/> | |
92 | + </category> | |
93 | + <category name="org.jboss.seam.jsf.AbstractSeamPhaseListener"> | |
94 | + <priority value="DEBUG"/> | |
95 | + </category> | |
96 | + <category name="org.jboss.seam.interceptors.ConversationInterceptor"> | |
97 | + <priority value="DEBUG"/> | |
98 | + </category> | |
99 | + <category name="org.jboss.seam.contexts.Lifecycle"> | |
100 | + <priority value="DEBUG"/> | |
101 | + </category> | |
102 | + <category name="org.hibernate.impl.SessionImpl"> | |
103 | + <priority value="DEBUG"/> | |
104 | + </category> | |
105 | + <category name="org.hibernate.event.def.AbstractFlushingEventListener"> | |
106 | + <priority value="DEBUG"/> | |
107 | + </category> | |
108 | + --> | |
109 | + | |
110 | + <root> | |
111 | + <priority value="INFO"/> | |
112 | + <appender-ref ref="CONSOLE"/> | |
113 | + </root> | |
114 | + | |
115 | +</log4j:configuration> | ... | ... |
build-dev.properties
0 → 100644
build-prod.properties
0 → 100644
build.properties
0 → 100644
build.xml
0 → 100644
1 | +<?xml version="1.0"?> | |
2 | +<project name="seamTestInAction" default="deploy" basedir="."> | |
3 | + | |
4 | + <!-- Give user a chance to override without editing this file or typing -D --> | |
5 | + <property file="${basedir}/build.properties" /> | |
6 | + | |
7 | + <property name="profile" value="dev" /> | |
8 | + <property file="build-${profile}.properties" /> | |
9 | + | |
10 | + <!-- set global properties for this build --> | |
11 | + <property name="project.name" value="seamTestInAction"/> | |
12 | + <property name="dist.dir" value="dist" /> | |
13 | + <property name="src.model.dir" value="src/main" /> | |
14 | + <property name="src.action.dir" value="src/hot" /> | |
15 | + <property name="src.test.dir" value="src/test" /> | |
16 | + <property name="lib.dir" value="lib" /> | |
17 | + <property name="endorsed.dir" value="${lib.dir}/endorsed" /> | |
18 | + <property name="war.dir" value="exploded-archives/${project.name}.war" /> | |
19 | + <property name="classes.model.dir" value="${war.dir}/WEB-INF/classes" /> | |
20 | + <property name="action.dir" value="WEB-INF/classes" /> | |
21 | + <property name="classes.action.dir" value="${war.dir}/${action.dir}" /> | |
22 | + <property name="test.dir" value="test-build" /> | |
23 | + <property name="bootstrap.dir" value="${basedir}/bootstrap" /> | |
24 | + <property name="jboss.domain" value="default"/> | |
25 | + <property name="deploy.dir" value="${jboss.home}/server/${jboss.domain}/deploy" /> | |
26 | + <property name="war.deploy.dir" value="${deploy.dir}/${project.name}.war" /> | |
27 | + <property name="testng.jar" value="${basedir}/lib/testng.jar" /> | |
28 | + <property name="javac.debug" value="true" /> | |
29 | + <property name="javac.deprecation" value="false" /> | |
30 | + <property name="debug" value="false" /> | |
31 | + | |
32 | + <!--Properties for validating configuration files --> | |
33 | + <property name="validate.resources.dir" value="${basedir}/exploded-archives"/> | |
34 | + <property name="schema.dir" value="${basedir}/exploded-archives/schemas"/> | |
35 | + <property name="src.schema.dir" value="${schema.dir}/org/jboss/seam"/> | |
36 | + <property name="schema.version" value="2.1"/> | |
37 | + | |
38 | + <fileset id="lib" dir="${lib.dir}"> | |
39 | + <include name="*.jar" /> | |
40 | + </fileset> | |
41 | + | |
42 | + <path id="build.classpath"> | |
43 | + <fileset refid="lib" /> | |
44 | + </path> | |
45 | + | |
46 | + <target name="init" description="Initialize the build"> | |
47 | + | |
48 | + <taskdef name="groovyc" | |
49 | + classname ="org.codehaus.groovy.ant.Groovyc" | |
50 | + classpathref="build.classpath"/> <!-- really only the groovy jar is necessary --> | |
51 | + | |
52 | + <mkdir dir="${classes.model.dir}" /> | |
53 | + <mkdir dir="${classes.action.dir}" /> | |
54 | + <mkdir dir="${dist.dir}" /> | |
55 | + <!-- if a .groovy file is in model or action, set groovy.present --> | |
56 | + <available property="groovy.present" value="true" file="" searchparents="true"> | |
57 | + <filepath> | |
58 | + <fileset dir="${src.action.dir}"> | |
59 | + <include name="**/*.groovy"/> | |
60 | + </fileset> | |
61 | + <fileset dir="${src.model.dir}"> | |
62 | + <include name="**/*.groovy"/> | |
63 | + </fileset> | |
64 | + </filepath> | |
65 | + </available> | |
66 | + <condition property="groovy.test.present" value="true"> | |
67 | + <or> | |
68 | + <isset property="groovy.present"/> | |
69 | + <available file="" searchparents="true"> | |
70 | + <filepath> | |
71 | + <fileset dir="${src.test.dir}"> | |
72 | + <include name="**/*.groovy"/> | |
73 | + </fileset> | |
74 | + </filepath> | |
75 | + </available> | |
76 | + </or> | |
77 | + </condition> | |
78 | + <condition property="groovy.dynamic" value="true"> | |
79 | + <and> | |
80 | + <isset property="groovy.present"/> | |
81 | + <istrue value="${debug}"/> | |
82 | + </and> | |
83 | + </condition> | |
84 | + <condition property="groovy.static" value="true"> | |
85 | + <and> | |
86 | + <isset property="groovy.present"/> | |
87 | + <isfalse value="${debug}"/> | |
88 | + </and> | |
89 | + </condition> | |
90 | + </target> | |
91 | + | |
92 | + <target name="compilemodel" depends="init,groovy.compilemodel" | |
93 | + description="Compile the Java source code" | |
94 | + unless="eclipse.running"> | |
95 | + <javac classpathref="build.classpath" | |
96 | + destdir="${classes.model.dir}" | |
97 | + debug="${javac.debug}" | |
98 | + deprecation="${javac.deprecation}" | |
99 | + nowarn="on"> | |
100 | + <src path="${src.model.dir}" /> | |
101 | + </javac> | |
102 | + </target> | |
103 | + | |
104 | + <target name="groovy.compilemodel" if="groovy.present"> | |
105 | + <!-- model is always compiled --> | |
106 | + <groovyc classpathref="build.classpath" | |
107 | + destdir="${classes.model.dir}" | |
108 | + srcdir="${src.model.dir}" > | |
109 | + </groovyc> | |
110 | + </target> | |
111 | + | |
112 | + <target name="compileactions" depends="init,groovy.compileactions,groovy.copyactions" | |
113 | + description="Compile the Java source code" | |
114 | + unless="eclipse.running"> | |
115 | + <javac classpathref="build.classpath" | |
116 | + destdir="${classes.action.dir}" | |
117 | + debug="${javac.debug}" | |
118 | + deprecation="${javac.deprecation}" | |
119 | + nowarn="on"> | |
120 | + <classpath path="${classes.model.dir}"/> | |
121 | + <src path="${src.action.dir}" /> | |
122 | + </javac> | |
123 | + </target> | |
124 | + | |
125 | + <target name="groovy.compileactions" if="groovy.static"> | |
126 | + <path id="groovy.action.classpath"> | |
127 | + <path refid="build.classpath"/> | |
128 | + <dirset dir="${classes.model.dir}"/> | |
129 | + </path> | |
130 | + <groovyc classpathref="groovy.action.classpath" | |
131 | + destdir="${classes.action.dir}" | |
132 | + srcdir="${src.action.dir}" > | |
133 | + </groovyc> | |
134 | + </target> | |
135 | + | |
136 | + <target name="groovy.copyactions" if="groovy.dynamic"> | |
137 | + <!-- copy the action groovy files into action if not compiled --> | |
138 | + <copy todir="${classes.action.dir}"> | |
139 | + <fileset dir="${src.action.dir}"> | |
140 | + <include name="**/*.groovy"/> | |
141 | + </fileset> | |
142 | + </copy> | |
143 | + </target> | |
144 | + | |
145 | + <target name="copyclasses" depends="init,groovy.copyactions" | |
146 | + description="Copy the classes that were compiled by eclipse" | |
147 | + if="eclipse.running"> | |
148 | + <!-- TODO check how the groovy eclipse plugin works, does it compile? --> | |
149 | + <copy todir="${classes.model.dir}"> | |
150 | + <fileset dir="classes/main"> | |
151 | + <include name="**/*.class"/> | |
152 | + </fileset> | |
153 | + </copy> | |
154 | + <copy todir="${classes.action.dir}"> | |
155 | + <fileset dir="classes/hot"> | |
156 | + <include name="**/*.class"/> | |
157 | + </fileset> | |
158 | + </copy> | |
159 | + </target> | |
160 | + | |
161 | + <target name="compile" depends="compilemodel,compileactions,copyclasses" | |
162 | + description="Compile the various source paths"/> | |
163 | + | |
164 | + <target name="war" depends="compile" | |
165 | + description="Build the WAR structure in a staging directory"> | |
166 | + | |
167 | + <copy todir="${war.dir}/WEB-INF/classes"> | |
168 | + <fileset dir="${basedir}/resources"> | |
169 | + <include name="seam.properties" /> | |
170 | + <include name="*.drl" /> | |
171 | + </fileset> | |
172 | + <fileset dir="${src.model.dir}"> | |
173 | + <include name="**/*.component.xml" /> | |
174 | + </fileset> | |
175 | + </copy> | |
176 | + | |
177 | + <copy tofile="${war.dir}/WEB-INF/classes/components.properties" | |
178 | + file="${basedir}/resources/components-${profile}.properties" | |
179 | + overwrite="true"/> | |
180 | + | |
181 | + <copy tofile="${war.dir}/WEB-INF/classes/META-INF/persistence.xml" | |
182 | + file="${basedir}/resources/META-INF/persistence-${profile}-war.xml" | |
183 | + overwrite="true"/> | |
184 | + | |
185 | + <copy tofile="${war.dir}/WEB-INF/classes/import.sql" | |
186 | + file="${basedir}/resources/import-${profile}.sql" | |
187 | + overwrite="true"/> | |
188 | + | |
189 | + <copy todir="${war.dir}"> | |
190 | + <fileset dir="${basedir}/view" /> | |
191 | + </copy> | |
192 | + | |
193 | + <copy todir="${war.dir}/WEB-INF"> | |
194 | + <fileset dir="${basedir}/resources/WEB-INF"> | |
195 | + <include name="*.*"/> | |
196 | + <include name="classes/**/*.*"/> | |
197 | + <exclude name="classes/**/*.class"/> | |
198 | + <exclude name="classes/**/*.groovy"/> | |
199 | + </fileset> | |
200 | + </copy> | |
201 | + | |
202 | + <copy todir="${war.dir}/WEB-INF"> | |
203 | + <fileset dir="${basedir}/resources/WEB-INF"> | |
204 | + <include name="lib/*.*"/> | |
205 | + <include name="classes/**/*.class"/> | |
206 | + </fileset> | |
207 | + </copy> | |
208 | + | |
209 | + <copy todir="${war.dir}/WEB-INF/lib"> | |
210 | + <fileset dir="${lib.dir}"> | |
211 | + <includesfile name="deployed-jars.list"/> | |
212 | + <exclude name="jboss-seam-gen.jar"/> | |
213 | + <include name="groovy-*.jar" if="groovy.present"/> | |
214 | + </fileset> | |
215 | + </copy> | |
216 | + | |
217 | + <copy todir="${war.dir}/WEB-INF/classes"> | |
218 | + <fileset dir="${basedir}/resources"> | |
219 | + <include name="**/*.xcss"/> | |
220 | + </fileset> | |
221 | + <!-- move XCSS into classpath for now | |
222 | + loading from web context only works in JBoss AS 4 --> | |
223 | + <fileset dir="${basedir}/view"> | |
224 | + <include name="**/*.xcss"/> | |
225 | + </fileset> | |
226 | + </copy> | |
227 | + | |
228 | + <copy todir="${war.dir}/WEB-INF/classes"> | |
229 | + <fileset dir="${basedir}/resources"> | |
230 | + <include name="messages*.properties"/> | |
231 | + <include name="*.skin.properties"/> | |
232 | + <include name="*_theme.properties"/> | |
233 | + </fileset> | |
234 | + </copy> | |
235 | + | |
236 | + <copy todir="${war.dir}/WEB-INF/classes"> | |
237 | + <fileset dir="${basedir}/resources"> | |
238 | + <include name="*jpdl.xml" /> | |
239 | + <include name="*hibernate.cfg.xml" /> | |
240 | + <include name="jbpm.cfg.xml" /> | |
241 | + <include name="META-INF/orm.xml" /> | |
242 | + </fileset> | |
243 | + </copy> | |
244 | + | |
245 | + </target> | |
246 | + | |
247 | + <target name="stage" depends="war"/> | |
248 | + | |
249 | + <target name="archive" depends="stage" | |
250 | + description="Package the WAR archive"> | |
251 | + <jar jarfile="${dist.dir}/${project.name}.war" basedir="${war.dir}"/> | |
252 | + </target> | |
253 | + | |
254 | + <target name="datasource"> | |
255 | + <fail unless="jboss.home">jboss.home not set</fail> | |
256 | + <copy file="${basedir}/resources/${project.name}-${profile}-ds.xml" | |
257 | + tofile="${deploy.dir}/${project.name}-ds.xml" | |
258 | + overwrite="true"/> | |
259 | + </target> | |
260 | + | |
261 | + <target name="explode" depends="stage,datasource" | |
262 | + description="Deploy the exploded archive"> | |
263 | + <fail unless="jboss.home">jboss.home not set</fail> | |
264 | + | |
265 | + <mkdir dir="${war.deploy.dir}"/> | |
266 | + <copy todir="${war.deploy.dir}"> | |
267 | + <fileset dir="${war.dir}"/> | |
268 | + </copy> | |
269 | + </target> | |
270 | + | |
271 | + <target name="unexplode" description="Undeploy the exploded archive"> | |
272 | + <delete failonerror="no"> | |
273 | + <fileset dir="${war.deploy.dir}"> | |
274 | + <exclude name="**/*.jar"/> | |
275 | + </fileset> | |
276 | + </delete> | |
277 | + <delete file="${deploy.dir}/${project.name}-ds.xml" failonerror="no"/> | |
278 | + <delete dir="${war.deploy.dir}" failonerror="no"/> | |
279 | + </target> | |
280 | + | |
281 | + <target name="reexplode" depends="unexplode,clean,explode" | |
282 | + description="Undeploy the exploded archive, clean, then deploy the exploded archive"/> | |
283 | + | |
284 | + <target name="check-deployed" description="Check to see if packaged archive is currently deployed"> | |
285 | + <fail unless="jboss.home">jboss.home not set</fail> | |
286 | + <condition property="archive.deployed" value="true"> | |
287 | + <available file="${war.deploy.dir}" type="file"/> | |
288 | + </condition> | |
289 | + </target> | |
290 | + | |
291 | + <target name="restart-exploded" unless="archive.deployed" description="Deploy exploded archive if not deployed as packaged archive"> | |
292 | + <antcall target="explode"/> | |
293 | + <touch file="${war.deploy.dir}/WEB-INF/web.xml"/> | |
294 | + </target> | |
295 | + | |
296 | + <target name="restart-deployed" if="archive.deployed" description="Deploy packaged archive if deployed as packaged archive"> | |
297 | + <antcall target="deploy"/> | |
298 | + </target> | |
299 | + | |
300 | + <target name="restart" depends="check-deployed,restart-exploded,restart-deployed" description="Restart the exploded archive"/> | |
301 | + | |
302 | + <target name="deploy" depends="archive,datasource" description="Deploy the packaged archive"> | |
303 | + <fail unless="jboss.home">jboss.home not set</fail> | |
304 | + <copy todir="${deploy.dir}" file="${dist.dir}/${project.name}.war" /> | |
305 | + </target> | |
306 | + | |
307 | + <target name="undeploy" description="Undeploy the packaged archive"> | |
308 | + <delete file="${deploy.dir}/${project.name}.war" /> | |
309 | + <delete file="${deploy.dir}/${project.name}-ds.xml" /> | |
310 | + </target> | |
311 | + | |
312 | + <target name="redeploy" depends="undeploy,clean,deploy" | |
313 | + description="Undeploy the packaged archive, clean, then deploy the packaged archive"/> | |
314 | + | |
315 | + <target name="clean" description="Clean out the staging directory"> | |
316 | + <delete dir="${dist.dir}"/> | |
317 | + <delete dir="${basedir}/exploded-archives"/> | |
318 | + <delete dir="${basedir}/test-report"/> | |
319 | + <delete dir="${basedir}/test-output"/> | |
320 | + <delete failonerror="no" includeemptydirs="true"> | |
321 | + <fileset dir="${test.dir}"> | |
322 | + <exclude name="**/*.class" if="eclipse.running"/> | |
323 | + </fileset> | |
324 | + </delete> | |
325 | + </target> | |
326 | + | |
327 | + <target name="compiletest" depends="groovy.compiletest" unless="eclipse.running" description="Compile the Java source code for the tests"> | |
328 | + <mkdir dir="${test.dir}"/> | |
329 | + <javac classpathref="build.classpath" | |
330 | + destdir="${test.dir}" | |
331 | + debug="${javac.debug}" | |
332 | + deprecation="${javac.deprecation}" | |
333 | + nowarn="on"> | |
334 | + <src path="${src.action.dir}" /> | |
335 | + <src path="${src.model.dir}" /> | |
336 | + <src path="${src.test.dir}" /> | |
337 | + </javac> | |
338 | + </target> | |
339 | + | |
340 | + <target name="groovy.compiletest" if="groovy.test.present" description="Compile the Groovy source code for the tests"> | |
341 | + <mkdir dir="${test.dir}"/> | |
342 | + <groovyc classpathref="build.classpath" | |
343 | + destdir="${test.dir}"> | |
344 | + <src path="${src.action.dir}"/> | |
345 | + <src path="${src.model.dir}"/> | |
346 | + <src path="${src.test.dir}"/> | |
347 | + </groovyc> | |
348 | + </target> | |
349 | + | |
350 | + <target name="copytestclasses" if="eclipse.running" description="Copy classes compiled by eclipse to the test dir"> | |
351 | + <mkdir dir="${test.dir}"/> | |
352 | + <copy todir="${test.dir}"> | |
353 | + <fileset dir="classes/main"> | |
354 | + <include name="**/*.class"/> | |
355 | + </fileset> | |
356 | + </copy> | |
357 | + <copy todir="${test.dir}"> | |
358 | + <fileset dir="classes/hot"> | |
359 | + <include name="**/*.class"/> | |
360 | + </fileset> | |
361 | + </copy> | |
362 | + <copy todir="${test.dir}"> | |
363 | + <fileset dir="classes/test"> | |
364 | + <include name="**/*.class"/> | |
365 | + </fileset> | |
366 | + </copy> | |
367 | + </target> | |
368 | + | |
369 | + <target name="buildtest" depends="init,compiletest,copytestclasses" description="Build the tests"> | |
370 | + <copy todir="${test.dir}"> | |
371 | + <fileset dir="${basedir}/resources"> | |
372 | + <exclude name="META-INF/persistence*.xml"/> | |
373 | + <exclude name="import*.sql"/> | |
374 | + <exclude name="${project.name}-*-ds.xml"/> | |
375 | + <exclude name="components-*.properties"/> | |
376 | + </fileset> | |
377 | + <fileset dir="${basedir}/view"/> | |
378 | + </copy> | |
379 | + <copy tofile="${test.dir}/META-INF/persistence.xml" | |
380 | + file="${basedir}/resources/META-INF/persistence-test-war.xml" | |
381 | + overwrite="true"/> | |
382 | + <copy tofile="${test.dir}/import.sql" | |
383 | + file="${basedir}/resources/import-test.sql" | |
384 | + overwrite="true"/> | |
385 | + <copy tofile="${test.dir}/components.properties" | |
386 | + file="${basedir}/resources/components-test.properties" | |
387 | + overwrite="true"/> | |
388 | + <copy todir="${test.dir}" flatten="true"> | |
389 | + <fileset dir="${src.test.dir}"> | |
390 | + <include name="**/*Test.xml" /> | |
391 | + </fileset> | |
392 | + </copy> | |
393 | + </target> | |
394 | + | |
395 | + <target name="test" depends="buildtest" description="Run the tests"> | |
396 | + <condition property="incompatible.jdk"> | |
397 | + <and> | |
398 | + <equals arg1="${ant.java.version}" arg2="1.6"/> | |
399 | + <not><available classname="javax.xml.bind.JAXB"/></not> | |
400 | + </and> | |
401 | + </condition> | |
402 | + <fail if="incompatible.jdk">You are using an incompatible JDK 6. Please use Sun JDK 6 Update 4 (1.6.0_04) or newer or use Open JDK 6.</fail> | |
403 | + <taskdef resource="testngtasks" classpath="${testng.jar}" /> | |
404 | + <path id="test.path"> | |
405 | + <path path="${test.dir}" /> | |
406 | + <fileset dir="${lib.dir}/test"> | |
407 | + <include name="*.jar"/> | |
408 | + </fileset> | |
409 | + <path path="${bootstrap.dir}" /> | |
410 | + <path refid="build.classpath" /> | |
411 | + </path> | |
412 | + <testng outputdir="${basedir}/test-report"> | |
413 | + <jvmarg line="-Djava.endorsed.dirs=${endorsed.dir}"/> | |
414 | + <jvmarg line="-Dsun.lang.ClassLoader.allowArraySyntax=true"/> | |
415 | + <classpath refid="test.path" /> | |
416 | + <xmlfileset dir="${test.dir}" includes="*Test.xml" /> | |
417 | + </testng> | |
418 | + </target> | |
419 | + | |
420 | + <target name="javadoc" depends="compile"> | |
421 | + <mkdir dir="${dist.dir}/apidoc" /> | |
422 | + <javadoc classpathref="build.classpath" destdir="${dist.dir}/apidoc" use="true" protected="true" version="true" windowtitle="${project.name} API Documentation" doctitle="${project.name} API Documentation" link="http://java.sun.com/j2se/5.0/docs/api"> | |
423 | + | |
424 | + <packageset dir="${src.action.dir}" defaultexcludes="yes"> | |
425 | + <include name="*/**" /> | |
426 | + </packageset> | |
427 | + | |
428 | + <packageset dir="${src.model.dir}" defaultexcludes="yes"> | |
429 | + <include name="*/**" /> | |
430 | + </packageset> | |
431 | + | |
432 | + </javadoc> | |
433 | + </target> | |
434 | + | |
435 | + <target name="validate" depends="stage" description="Validate the XML configuration files"> | |
436 | + <mkdir dir="${schema.dir}"/> | |
437 | + <unjar src="${lib.dir}/jboss-seam.jar" dest="${schema.dir}"> | |
438 | + <patternset> | |
439 | + <include name="org/jboss/seam/*.xsd"/> | |
440 | + <include name="org/jboss/seam/*.dtd"/> | |
441 | + </patternset> | |
442 | + </unjar> | |
443 | + <ant antfile="validate.xml" target="validateConfiguration"/> | |
444 | + </target> | |
445 | + | |
446 | +</project> | ... | ... |
debug-jboss-seamTestInAction.launch
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
2 | +<launchConfiguration type="org.eclipse.jdt.launching.remoteJavaApplication"> | |
3 | +<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> | |
4 | +<listEntry value="/seamTestInAction"/> | |
5 | +</listAttribute> | |
6 | +<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> | |
7 | +<listEntry value="4"/> | |
8 | +</listAttribute> | |
9 | +<listAttribute key="org.eclipse.debug.ui.favoriteGroups"> | |
10 | +<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/> | |
11 | +</listAttribute> | |
12 | +<booleanAttribute key="org.eclipse.jdt.launching.ALLOW_TERMINATE" value="true"/> | |
13 | +<mapAttribute key="org.eclipse.jdt.launching.CONNECT_MAP"> | |
14 | +<mapEntry key="port" value="8787"/> | |
15 | +<mapEntry key="hostname" value="localhost"/> | |
16 | +</mapAttribute> | |
17 | +<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="seamTestInAction"/> | |
18 | +<stringAttribute key="org.eclipse.jdt.launching.VM_CONNECTOR_ID" value="org.eclipse.jdt.launching.socketAttachConnector"/> | |
19 | +</launchConfiguration> | ... | ... |
deployed-jars.list
0 → 100644
1 | +antlr-runtime.jar | |
2 | +commons-beanutils.jar | |
3 | +commons-digester.jar | |
4 | +core.jar | |
5 | +drools-compiler.jar | |
6 | +drools-core.jar | |
7 | +janino.jar | |
8 | +jboss-el.jar | |
9 | +jboss-seam.jar | |
10 | +jboss-seam-*.jar | |
11 | +jbpm-jpdl.jar | |
12 | +jsf-facelets.jar | |
13 | +jxl.jar | |
14 | +mvel14.jar | |
15 | +richfaces-api.jar | |
16 | +richfaces-impl.jar | |
17 | +richfaces-ui.jar | ... | ... |
explode.launch
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType"> | |
3 | + <booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/> | |
4 | + <booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/> | |
5 | + <booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/> | |
6 | + <stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="clean,unexplode,restart,buildtest,"/> | |
7 | + <stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,auto,"/> | |
8 | + <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> | |
9 | + <listEntry value="1"/> | |
10 | + </listAttribute> | |
11 | + <booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/> | |
12 | + <booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/> | |
13 | + <booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/> | |
14 | + <stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/> | |
15 | + <stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="clean,unexplode,restart,buildtest,"/> | |
16 | + <stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AUTO_TARGETS" value="explode,buildtest,"/> | |
17 | + <stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="seamTestInAction"/> | |
18 | + <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> | |
19 | + <listEntry value="/seamTestInAction/build.xml"/> | |
20 | + </listAttribute> | |
21 | + <stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/seamTestInAction/build.xml}"/> | |
22 | +</launchConfiguration> | ... | ... |
hibernate-console.properties
0 → 100644
1 | +#File used by hibernate tools to override <datasource> and other container specific settings in persistence.xml | |
2 | +hibernate.connection.password= | |
3 | +hibernate.connection.username=sa | |
4 | +hibernate.connection.driver_class=org.hsqldb.jdbcDriver | |
5 | +hibernate.dialect=org.hibernate.dialect.HSQLDialect | |
6 | +hibernate.connection.url=jdbc:hsqldb:. | |
7 | + | |
8 | +hibernate.connection.provider_class=org.hibernate.connection.DriverManagerConnectionProvider | |
9 | +hibernate.datasource= | |
10 | +hibernate.transaction.manager_lookup_class= | ... | ... |
lib/activation.jar
0 → 100644
No preview for this file type
lib/ant-antlr.jar
0 → 100644
No preview for this file type
lib/antlr-runtime.jar
0 → 100644
No preview for this file type
lib/antlr.jar
0 → 100644
No preview for this file type
lib/asm-attrs.jar
0 → 100644
No preview for this file type
lib/asm.jar
0 → 100644
No preview for this file type
lib/bsh.jar
0 → 100644
No preview for this file type
lib/cglib-nodep.jar
0 → 100644
No preview for this file type
lib/cglib.jar
0 → 100644
No preview for this file type
lib/commons-beanutils.jar
0 → 100644
No preview for this file type
lib/commons-collections.jar
0 → 100644
No preview for this file type
lib/commons-digester.jar
0 → 100644
No preview for this file type
lib/commons-httpclient.jar
0 → 100644
No preview for this file type
lib/commons-io.jar
0 → 100644
No preview for this file type
lib/commons-lang.jar
0 → 100644
No preview for this file type
lib/commons-logging.jar
0 → 100644
No preview for this file type
lib/concurrent.jar
0 → 100644
No preview for this file type
lib/core.jar
0 → 100644
No preview for this file type
lib/dbunit.jar
0 → 100644
No preview for this file type
lib/dom4j.jar
0 → 100644
No preview for this file type
lib/drools-compiler.jar
0 → 100644
No preview for this file type
lib/drools-core.jar
0 → 100644
No preview for this file type
lib/ehcache.jar
0 → 100644
No preview for this file type
lib/ejb-api.jar
0 → 100644
No preview for this file type
lib/el-api.jar
0 → 100644
No preview for this file type
lib/groovy-all.jar
0 → 100644
No preview for this file type
lib/gwt-servlet.jar
0 → 100644
No preview for this file type
lib/hibernate-annotations.jar
0 → 100644
No preview for this file type
lib/hibernate-commons-annotations.jar
0 → 100644
No preview for this file type
lib/hibernate-entitymanager.jar
0 → 100644
No preview for this file type
lib/hibernate-search.jar
0 → 100644
No preview for this file type
lib/hibernate-validator.jar
0 → 100644
No preview for this file type
lib/hibernate.jar
0 → 100644
No preview for this file type
lib/hsqldb.jar
0 → 100644
No preview for this file type
lib/htmlparser.jar
0 → 100644
No preview for this file type
lib/itext-rtf.jar
0 → 100644
No preview for this file type
lib/itext.jar
0 → 100644
No preview for this file type
lib/janino.jar
0 → 100644
No preview for this file type
lib/javassist.jar
0 → 100644
No preview for this file type
lib/jaxb-api.jar
0 → 100644
No preview for this file type
lib/jaxrs-api.jar
0 → 100644
No preview for this file type
lib/jaxws-api.jar
0 → 100644
No preview for this file type
lib/jboss-cache.jar
0 → 100644
No preview for this file type
lib/jboss-common-core.jar
0 → 100644
No preview for this file type
lib/jboss-deployers-client-spi.jar
0 → 100644
No preview for this file type
lib/jboss-deployers-core-spi.jar
0 → 100644
No preview for this file type
lib/jboss-el.jar
0 → 100644
No preview for this file type
lib/jboss-embedded-api.jar
0 → 100644
No preview for this file type
lib/jboss-jmx.jar
0 → 100644
No preview for this file type
lib/jboss-logging-spi.jar
0 → 100644
No preview for this file type
lib/jboss-seam-debug.jar
0 → 100644
No preview for this file type
lib/jboss-seam-excel.jar
0 → 100644
No preview for this file type
lib/jboss-seam-ioc.jar
0 → 100644
No preview for this file type
lib/jboss-seam-jul.jar
0 → 100644
No preview for this file type
lib/jboss-seam-mail.jar
0 → 100644
No preview for this file type
lib/jboss-seam-pdf.jar
0 → 100644
No preview for this file type
lib/jboss-seam-remoting.jar
0 → 100644
No preview for this file type
lib/jboss-seam-rss.jar
0 → 100644
No preview for this file type
lib/jboss-seam-ui.jar
0 → 100644
No preview for this file type
lib/jboss-seam.jar
0 → 100644
No preview for this file type
lib/jboss-system.jar
0 → 100644
No preview for this file type
lib/jboss-vfs.jar
0 → 100644
No preview for this file type
lib/jbosscache-core.jar
0 → 100644
No preview for this file type
lib/jbpm-jpdl.jar
0 → 100644
No preview for this file type
lib/jcommon.jar
0 → 100644
No preview for this file type
lib/jfreechart.jar
0 → 100644
No preview for this file type
lib/jgroups.jar
0 → 100644
No preview for this file type
lib/jms.jar
0 → 100644
No preview for this file type
lib/joda-time.jar
0 → 100644
No preview for this file type
lib/jsf-api.jar
0 → 100644
No preview for this file type
lib/jsf-facelets.jar
0 → 100644
No preview for this file type
lib/jsf-impl.jar
0 → 100644
No preview for this file type
lib/jsp-api.jar
0 → 100644
No preview for this file type
lib/jsr181-api.jar
0 → 100644
No preview for this file type
lib/jsr250-api.jar
0 → 100644
No preview for this file type
lib/jta.jar
0 → 100644
No preview for this file type
lib/jxl.jar
0 → 100644
No preview for this file type
lib/log4j.jar
0 → 100644
No preview for this file type
lib/lucene-core.jar
0 → 100644
No preview for this file type
lib/mail.jar
0 → 100644
No preview for this file type
lib/meldware-mailapi.jar
0 → 100644
No preview for this file type
lib/meldware-mailjmx.jar
0 → 100644
No preview for this file type
lib/mvel14.jar
0 → 100644
No preview for this file type
lib/openid4java.jar
0 → 100644
No preview for this file type
lib/openxri-client.jar
0 → 100644
No preview for this file type
lib/openxri-syntax.jar
0 → 100644
No preview for this file type
lib/persistence-api.jar
0 → 100644
No preview for this file type
lib/portlet-api.jar
0 → 100644
No preview for this file type
lib/quartz.jar
0 → 100644
No preview for this file type
lib/resteasy-jaxrs.jar
0 → 100644
No preview for this file type
lib/richfaces-api.jar
0 → 100644
No preview for this file type
lib/richfaces-impl.jar
0 → 100644
No preview for this file type
lib/richfaces-ui.jar
0 → 100644
No preview for this file type
lib/saaj-api.jar
0 → 100644
No preview for this file type
lib/servlet-api.jar
0 → 100644
No preview for this file type
lib/slf4j-api.jar
0 → 100644
No preview for this file type
lib/slf4j-log4j12.jar
0 → 100644
No preview for this file type
lib/spring.jar
0 → 100644
No preview for this file type
lib/src/jboss-seam-debug-sources.jar
0 → 100644
No preview for this file type
lib/src/jboss-seam-excel-sources.jar
0 → 100644
No preview for this file type
lib/src/jboss-seam-ioc-sources.jar
0 → 100644
No preview for this file type
lib/src/jboss-seam-mail-sources.jar
0 → 100644
No preview for this file type
lib/src/jboss-seam-pdf-sources.jar
0 → 100644
No preview for this file type
lib/src/jboss-seam-remoting-sources.jar
0 → 100644
No preview for this file type
lib/src/jboss-seam-resteasy-sources.jar
0 → 100644
No preview for this file type
lib/src/jboss-seam-rss-sources.jar
0 → 100644
No preview for this file type
lib/src/jboss-seam-sources.jar
0 → 100644
No preview for this file type
lib/src/jboss-seam-ui-sources.jar
0 → 100644
No preview for this file type
lib/src/jboss-seam-wicket-sources.jar
0 → 100644
No preview for this file type
lib/stax-api.jar
0 → 100644
No preview for this file type
lib/test/hibernate-all.jar
0 → 100644
No preview for this file type
lib/test/jboss-embedded-all.jar
0 → 100644
No preview for this file type
lib/test/thirdparty-all.jar
0 → 100644
No preview for this file type
lib/testng.jar
0 → 100644
No preview for this file type
lib/urlrewritefilter.jar
0 → 100644
No preview for this file type
lib/wicket-datetime.jar
0 → 100644
No preview for this file type
lib/wicket-extensions.jar
0 → 100644
No preview for this file type
lib/wicket-ioc.jar
0 → 100644
No preview for this file type
lib/wicket.jar
0 → 100644
No preview for this file type
lib/yarfraw.jar
0 → 100644
No preview for this file type
resources/META-INF/orm.xml
0 → 100644
1 | +<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm" | |
2 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
3 | + xsi:schemaLocation=" | |
4 | + http://java.sun.com/xml/ns/persistence/orm | |
5 | + http://java.sun.com/xml/ns/persistence/orm_1_0.xsd" | |
6 | + version="1.0"> | |
7 | + <!-- Enable for security checks on entity CRUD operations --> | |
8 | + <!-- | |
9 | + <persistence-unit-metadata> | |
10 | + <persistence-unit-defaults> | |
11 | + <entity-listeners> | |
12 | + <entity-listener class="org.jboss.seam.security.EntitySecurityListener"/> | |
13 | + </entity-listeners> | |
14 | + </persistence-unit-defaults> | |
15 | + </persistence-unit-metadata> | |
16 | + --> | |
17 | +</entity-mappings> | |
18 | + | ... | ... |
resources/META-INF/persistence-dev-war.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Persistence deployment descriptor for dev profile --> | |
3 | +<persistence xmlns="http://java.sun.com/xml/ns/persistence" | |
4 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
5 | + xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" | |
6 | + version="1.0"> | |
7 | + | |
8 | + <persistence-unit name="seamTestInAction" transaction-type="JTA"> | |
9 | + <provider>org.hibernate.ejb.HibernatePersistence</provider> | |
10 | + <jta-data-source>java:/seamTestInActionDatasource</jta-data-source> | |
11 | + <properties> | |
12 | + <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/> | |
13 | + <property name="hibernate.hbm2ddl.auto" value="create-drop"/> | |
14 | + <property name="hibernate.show_sql" value="true"/> | |
15 | + <property name="hibernate.format_sql" value="true"/> | |
16 | + <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"/> | |
17 | + </properties> | |
18 | + </persistence-unit> | |
19 | + | |
20 | +</persistence> | ... | ... |
resources/META-INF/persistence-prod-war.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Persistence deployment descriptor for dev profile --> | |
3 | +<persistence xmlns="http://java.sun.com/xml/ns/persistence" | |
4 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
5 | + xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" | |
6 | + version="1.0"> | |
7 | + | |
8 | + <persistence-unit name="seamTestInAction" transaction-type="JTA"> | |
9 | + <provider>org.hibernate.ejb.HibernatePersistence</provider> | |
10 | + <jta-data-source>java:/seamTestInActionDatasource</jta-data-source> | |
11 | + <properties> | |
12 | + <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/> | |
13 | + <property name="hibernate.hbm2ddl.auto" value="create-drop"/> | |
14 | + <property name="hibernate.jdbc.batch_size" value="20"/> | |
15 | + <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"/> | |
16 | + </properties> | |
17 | + </persistence-unit> | |
18 | + | |
19 | +</persistence> | ... | ... |
resources/META-INF/persistence-test-war.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Persistence deployment descriptor for dev profile --> | |
3 | +<persistence xmlns="http://java.sun.com/xml/ns/persistence" | |
4 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
5 | + xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" | |
6 | + version="1.0"> | |
7 | + | |
8 | + <persistence-unit name="seamTestInAction" transaction-type="JTA"> | |
9 | + <provider>org.hibernate.ejb.HibernatePersistence</provider> | |
10 | + <jta-data-source>java:/DefaultDS</jta-data-source> | |
11 | + <properties> | |
12 | + <property name="hibernate.hbm2ddl.auto" value="create-drop"/> | |
13 | + <property name="hibernate.show_sql" value="true"/> | |
14 | + <property name="hibernate.cache.use_second_level_cache" value="false"/> | |
15 | + <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"/> | |
16 | + </properties> | |
17 | + </persistence-unit> | |
18 | + | |
19 | +</persistence> | ... | ... |
resources/WEB-INF/components.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<components xmlns="http://jboss.com/products/seam/components" | |
3 | + xmlns:core="http://jboss.com/products/seam/core" | |
4 | + xmlns:persistence="http://jboss.com/products/seam/persistence" | |
5 | + xmlns:drools="http://jboss.com/products/seam/drools" | |
6 | + xmlns:bpm="http://jboss.com/products/seam/bpm" | |
7 | + xmlns:security="http://jboss.com/products/seam/security" | |
8 | + xmlns:mail="http://jboss.com/products/seam/mail" | |
9 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
10 | + xsi:schemaLocation= | |
11 | + "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.1.xsd | |
12 | + http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.1.xsd | |
13 | + http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.1.xsd | |
14 | + http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.1.xsd | |
15 | + http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.1.xsd | |
16 | + http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.1.xsd | |
17 | + http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.1.xsd"> | |
18 | + | |
19 | + <core:init debug="@debug@" jndi-pattern="@jndiPattern@"/> | |
20 | + | |
21 | + <component name="org.jboss.seam.debug.hotDeployFilter"> | |
22 | + <property name="urlPattern">*.seam</property> | |
23 | + </component> | |
24 | + | |
25 | + <core:manager concurrent-request-timeout="500" | |
26 | + conversation-timeout="120000" | |
27 | + conversation-id-parameter="cid" | |
28 | + parent-conversation-id-parameter="pid"/> | |
29 | + | |
30 | + <persistence:managed-persistence-context name="entityManager" | |
31 | + auto-create="true" | |
32 | + entity-manager-factory="#{seamTestInActionEntityManagerFactory}"/> | |
33 | + | |
34 | + <persistence:entity-manager-factory name="seamTestInActionEntityManagerFactory" | |
35 | + persistence-unit-name="seamTestInAction"/> | |
36 | + | |
37 | + <drools:rule-base name="securityRules"> | |
38 | + <drools:rule-files><value>/security.drl</value></drools:rule-files> | |
39 | + </drools:rule-base> | |
40 | + | |
41 | + <security:rule-based-permission-resolver security-rules="#{securityRules}"/> | |
42 | + | |
43 | + <security:identity authenticate-method="#{authenticator.authenticate}" remember-me="true"/> | |
44 | + | |
45 | + <event type="org.jboss.seam.security.notLoggedIn"> | |
46 | + <action execute="#{redirect.captureCurrentView}"/> | |
47 | + </event> | |
48 | + <event type="org.jboss.seam.security.loginSuccessful"> | |
49 | + <action execute="#{redirect.returnToCapturedView}"/> | |
50 | + </event> | |
51 | + | |
52 | + <mail:mail-session host="localhost" port="2525" username="test" password="test" /> | |
53 | + | |
54 | + <!-- For use with jBPM pageflow or process management --> | |
55 | + <!-- | |
56 | + <bpm:jbpm> | |
57 | + <bpm:process-definitions></bpm:process-definitions> | |
58 | + <bpm:pageflow-definitions></bpm:pageflow-definitions> | |
59 | + </bpm:jbpm> | |
60 | + --> | |
61 | + | |
62 | +</components> | ... | ... |
resources/WEB-INF/faces-config.xml
0 → 100644
1 | +<?xml version='1.0' encoding='UTF-8'?> | |
2 | +<faces-config version="1.2" | |
3 | + xmlns="http://java.sun.com/xml/ns/javaee" | |
4 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
5 | + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"> | |
6 | + | |
7 | + <application> | |
8 | + <locale-config> | |
9 | + <default-locale>en</default-locale> | |
10 | + <supported-locale>bg</supported-locale> | |
11 | + <supported-locale>de</supported-locale> | |
12 | + <supported-locale>en</supported-locale> | |
13 | + <supported-locale>fr</supported-locale> | |
14 | + <supported-locale>it</supported-locale> | |
15 | + <supported-locale>tr</supported-locale> | |
16 | + </locale-config> | |
17 | + <view-handler>com.sun.facelets.FaceletViewHandler</view-handler> | |
18 | + </application> | |
19 | + | |
20 | +</faces-config> | ... | ... |
resources/WEB-INF/jboss-web.xml
0 → 100644
1 | + <!DOCTYPE jboss-web PUBLIC | |
2 | + "-//JBoss//DTD Web Application 4.2//EN" | |
3 | + "http://www.jboss.org/j2ee/dtd/jboss-web_4_2.dtd"> | |
4 | + | |
5 | +<jboss-web> | |
6 | + <class-loading java2ClassLoadingCompliance="false"> | |
7 | + <loader-repository> | |
8 | + seam.jboss.org:loader=seamTestInAction | |
9 | + <loader-repository-config>java2ParentDelegation=false</loader-repository-config> | |
10 | + </loader-repository> | |
11 | + </class-loading> | |
12 | +</jboss-web> | ... | ... |
resources/WEB-INF/pages.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<pages xmlns="http://jboss.com/products/seam/pages" | |
3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
4 | + xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.1.xsd" | |
5 | + | |
6 | + no-conversation-view-id="/home.xhtml" | |
7 | + login-view-id="/login.xhtml"> | |
8 | + | |
9 | + <page view-id="*"> | |
10 | + <navigation> | |
11 | + <rule if-outcome="home"> | |
12 | + <redirect view-id="/home.xhtml"/> | |
13 | + </rule> | |
14 | + </navigation> | |
15 | + </page> | |
16 | + | |
17 | + <page view-id="/admin/*" login-required="true"> | |
18 | + <restrict>#{s:hasRole('ADMIN')}</restrict> | |
19 | + </page> | |
20 | + | |
21 | + <exception class="org.jboss.seam.framework.EntityNotFoundException"> | |
22 | + <redirect view-id="/error.xhtml"> | |
23 | + <message severity="warn">Record not found</message> | |
24 | + </redirect> | |
25 | + </exception> | |
26 | + | |
27 | + <exception class="javax.persistence.EntityNotFoundException"> | |
28 | + <redirect view-id="/error.xhtml"> | |
29 | + <message severity="warn">Record not found</message> | |
30 | + </redirect> | |
31 | + </exception> | |
32 | + | |
33 | + <exception class="javax.persistence.EntityExistsException"> | |
34 | + <redirect view-id="/error.xhtml"> | |
35 | + <message severity="warn">Duplicate record</message> | |
36 | + </redirect> | |
37 | + </exception> | |
38 | + | |
39 | + <exception class="javax.persistence.OptimisticLockException"> | |
40 | + <end-conversation/> | |
41 | + <redirect view-id="/error.xhtml"> | |
42 | + <message severity="warn">Another user changed the same data, please try again</message> | |
43 | + </redirect> | |
44 | + </exception> | |
45 | + | |
46 | + <exception class="org.jboss.seam.security.AuthorizationException"> | |
47 | + <redirect view-id="/error.xhtml"> | |
48 | + <message severity="error">You don't have permission to access this resource</message> | |
49 | + </redirect> | |
50 | + </exception> | |
51 | + | |
52 | + <exception class="org.jboss.seam.security.NotLoggedInException"> | |
53 | + <redirect view-id="/login.xhtml"> | |
54 | + <message severity="warn">#{messages['org.jboss.seam.NotLoggedIn']}</message> | |
55 | + </redirect> | |
56 | + </exception> | |
57 | + | |
58 | + <exception class="javax.faces.application.ViewExpiredException"> | |
59 | + <redirect view-id="/error.xhtml"> | |
60 | + <message severity="warn">Your session has timed out, please try again</message> | |
61 | + </redirect> | |
62 | + </exception> | |
63 | + | |
64 | + <exception class="org.jboss.seam.ConcurrentRequestTimeoutException" log-level="trace"> | |
65 | + <http-error error-code="503" /> | |
66 | + </exception> | |
67 | + | |
68 | + <exception> | |
69 | + <redirect view-id="/error.xhtml"> | |
70 | + <message severity="error">Unexpected error, please try again</message> | |
71 | + </redirect> | |
72 | + </exception> | |
73 | + | |
74 | +</pages> | ... | ... |
resources/WEB-INF/web.xml
0 → 100644
1 | +<?xml version="1.0" ?> | |
2 | +<web-app xmlns="http://java.sun.com/xml/ns/javaee" | |
3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
4 | + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" | |
5 | + version="2.5"> | |
6 | + | |
7 | + <!-- RichFaces --> | |
8 | + | |
9 | + <context-param> | |
10 | + <param-name>org.richfaces.SKIN</param-name> | |
11 | + <param-value>emeraldTown</param-value> | |
12 | + </context-param> | |
13 | + | |
14 | + <!-- Suppress spurious stylesheets --> | |
15 | + | |
16 | + <context-param> | |
17 | + <param-name>org.richfaces.CONTROL_SKINNING</param-name> | |
18 | + <param-value>disable</param-value> | |
19 | + </context-param> | |
20 | + | |
21 | + <context-param> | |
22 | + <param-name>org.richfaces.CONTROL_SKINNING_CLASSES</param-name> | |
23 | + <param-value>disable</param-value> | |
24 | + </context-param> | |
25 | + | |
26 | + <!-- Change load strategy to DEFAULT to disable sending scripts/styles as packs --> | |
27 | + | |
28 | + <context-param> | |
29 | + <param-name>org.richfaces.LoadStyleStrategy</param-name> | |
30 | + <param-value>ALL</param-value> | |
31 | + </context-param> | |
32 | + | |
33 | + <context-param> | |
34 | + <param-name>org.richfaces.LoadScriptStrategy</param-name> | |
35 | + <param-value>ALL</param-value> | |
36 | + </context-param> | |
37 | + | |
38 | + <!-- Seam --> | |
39 | + | |
40 | + <listener> | |
41 | + <listener-class>org.jboss.seam.servlet.SeamListener</listener-class> | |
42 | + </listener> | |
43 | + | |
44 | + <filter> | |
45 | + <filter-name>Seam Filter</filter-name> | |
46 | + <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class> | |
47 | + </filter> | |
48 | + | |
49 | + <filter-mapping> | |
50 | + <filter-name>Seam Filter</filter-name> | |
51 | + <url-pattern>/*</url-pattern> | |
52 | + </filter-mapping> | |
53 | + | |
54 | + <servlet> | |
55 | + <servlet-name>Seam Resource Servlet</servlet-name> | |
56 | + <servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class> | |
57 | + </servlet> | |
58 | + | |
59 | + <servlet-mapping> | |
60 | + <servlet-name>Seam Resource Servlet</servlet-name> | |
61 | + <url-pattern>/seam/resource/*</url-pattern> | |
62 | + </servlet-mapping> | |
63 | + | |
64 | + <!-- Facelets development mode (disable in production) --> | |
65 | + | |
66 | + <context-param> | |
67 | + <param-name>facelets.DEVELOPMENT</param-name> | |
68 | + <param-value>true</param-value> | |
69 | + </context-param> | |
70 | + | |
71 | + <!-- JSF --> | |
72 | + | |
73 | + <context-param> | |
74 | + <param-name>javax.faces.DEFAULT_SUFFIX</param-name> | |
75 | + <param-value>.xhtml</param-value> | |
76 | + </context-param> | |
77 | + | |
78 | + <servlet> | |
79 | + <servlet-name>Faces Servlet</servlet-name> | |
80 | + <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> | |
81 | + <load-on-startup>1</load-on-startup> | |
82 | + </servlet> | |
83 | + | |
84 | + <servlet-mapping> | |
85 | + <servlet-name>Faces Servlet</servlet-name> | |
86 | + <url-pattern>*.seam</url-pattern> | |
87 | + </servlet-mapping> | |
88 | + | |
89 | + <security-constraint> | |
90 | + <display-name>Restrict raw XHTML Documents</display-name> | |
91 | + <web-resource-collection> | |
92 | + <web-resource-name>XHTML</web-resource-name> | |
93 | + <url-pattern>*.xhtml</url-pattern> | |
94 | + </web-resource-collection> | |
95 | + <auth-constraint/> | |
96 | + </security-constraint> | |
97 | + | |
98 | +</web-app> | ... | ... |
resources/components-dev.properties
0 → 100644
resources/components-prod.properties
0 → 100644
resources/components-test.properties
0 → 100644
resources/import-dev.sql
0 → 100644
1 | +INSERT INTO TAG (ID,VERSION,NAME) VALUES (1,0,'Sport'); | |
2 | +INSERT INTO TAG (ID,VERSION,NAME) VALUES (2,0,'Business'); | |
3 | +INSERT INTO TAG (ID,VERSION,NAME) VALUES (3,0,'Politics'); | |
4 | +INSERT INTO TAG (ID,VERSION,NAME) VALUES (4,0,'Pets'); | |
5 | +INSERT INTO TAG (ID,VERSION,NAME) VALUES (5,0,'People'); | |
\ No newline at end of file | ... | ... |
resources/import-prod.sql
0 → 100644
1 | +INSERT INTO TAG (ID,VERSION,NAME) VALUES (1,0,'Sport'); | |
2 | +INSERT INTO TAG (ID,VERSION,NAME) VALUES (2,0,'Business'); | |
3 | +INSERT INTO TAG (ID,VERSION,NAME) VALUES (3,0,'Politics'); | |
4 | +INSERT INTO TAG (ID,VERSION,NAME) VALUES (4,0,'Pets'); | |
5 | +INSERT INTO TAG (ID,VERSION,NAME) VALUES (5,0,'People'); | |
\ No newline at end of file | ... | ... |
resources/import-test.sql
0 → 100644
1 | +INSERT INTO TAG (ID,VERSION,NAME) VALUES (1,0,'Sport'); | |
2 | +INSERT INTO TAG (ID,VERSION,NAME) VALUES (2,0,'Business'); | |
3 | +INSERT INTO TAG (ID,VERSION,NAME) VALUES (3,0,'Politics'); | |
4 | +INSERT INTO TAG (ID,VERSION,NAME) VALUES (4,0,'Pets'); | |
5 | +INSERT INTO TAG (ID,VERSION,NAME) VALUES (5,0,'People'); | |
\ No newline at end of file | ... | ... |
resources/messages_bg.properties
0 → 100644
1 | +down = \u2193 | |
2 | + | |
3 | +javax.faces.component.UIInput.CONVERSION = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u043D\u0435 \u043C\u043E\u0436\u0435 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u0443\u0432\u0430\u043D\u0430 \u043A\u044A\u043C \u043E\u0447\u0430\u043A\u0432\u0430\u043D\u0438\u044F \u0442\u0438\u043F | |
4 | +javax.faces.component.UIInput.REQUIRED = \u043F\u043E\u043B\u0435\u0442\u043E \u0435 \u0437\u0430\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E | |
5 | +javax.faces.component.UIInput.UPDATE = \u0432\u044A\u0437\u043D\u0438\u043A\u043D\u0430\u043B\u0430 \u0435 \u0433\u0440\u0435\u0448\u043A\u0430 \u043F\u0440\u0438 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430 \u043D\u0430 \u0438\u0437\u043F\u0440\u0430\u0442\u0435\u043D\u0430\u0442\u0430 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F | |
6 | +javax.faces.component.UISelectMany.INVALID = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0435 \u043D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 | |
7 | +javax.faces.component.UISelectOne.INVALID = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0435 \u043D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 | |
8 | +javax.faces.converter.BigDecimalConverter.DECIMAL = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0447\u0438\u0441\u043B\u043E | |
9 | +javax.faces.converter.BigDecimalConverter.DECIMAL_detail = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0447\u0438\u0441\u043B\u043E \u0441\u044A\u0441 \u0437\u043D\u0430\u043A, \u0441\u044A\u0441\u0442\u043E\u044F\u0449\u043E \u0441\u0435 \u043E\u0442 \u043D\u0443\u043B\u0430 \u0438\u043B\u0438 \u043F\u043E\u0432\u0435\u0447\u0435 \u0446\u0438\u0444\u0440\u0438, \u0441\u043B\u0435\u0434\u0432\u0430\u043D\u043E \u043F\u043E \u0438\u0437\u0431\u043E\u0440 \u043E\u0442 \u0434\u0435\u0441\u0435\u0442\u0438\u0447\u043D\u0430 \u0437\u0430\u043F\u0435\u0442\u0430\u044F \u0438 \u0434\u0440\u043E\u0431\u043D\u0430 \u0447\u0430\u0441\u0442, \u043D\u0430\u043F\u0440. {1} | |
10 | +javax.faces.converter.BigIntegerConverter.BIGINTEGER = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0446\u044F\u043B\u043E \u0447\u0438\u0441\u043B\u043E | |
11 | +javax.faces.converter.BigIntegerConverter.BIGINTEGER_detail = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0446\u044F\u043B\u043E \u0447\u0438\u0441\u043B\u043E \u0441\u044A\u0441 \u0437\u043D\u0430\u043A, \u0441\u044A\u0441\u0442\u043E\u044F\u0449\u043E \u0441\u0435 \u043E\u0442 \u043D\u0443\u043B\u0430 \u0438\u043B\u0438 \u043F\u043E\u0432\u0435\u0447\u0435 \u0446\u0438\u0444\u0440\u0438 | |
12 | +javax.faces.converter.BooleanConverter.BOOLEAN = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 'true' \u0438\u043B\u0438 'false' | |
13 | +javax.faces.converter.BooleanConverter.BOOLEAN_detail = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 'true' \u0438\u043B\u0438 'false' (\u0432\u0441\u044F\u043A\u0430 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442 \u0440\u0430\u0437\u043B\u0438\u0447\u043D\u0430 \u043E\u0442 'true' \u0449\u0435 \u0441\u0435 \u0441\u043C\u044F\u0442\u0430 \u0437\u0430 'false') | |
14 | +javax.faces.converter.ByteConverter.BYTE = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0447\u0438\u0441\u043B\u043E \u043C\u0435\u0434\u0436\u0443 0 \u0438 255 | |
15 | +javax.faces.converter.ByteConverter.BYTE_detail = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0447\u0438\u0441\u043B\u043E \u043C\u0435\u0434\u0436\u0443 0 \u0438 255 | |
16 | +javax.faces.converter.CharacterConverter.CHARACTER = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0437\u043D\u0430\u043A | |
17 | +javax.faces.converter.CharacterConverter.CHARACTER_detail = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0432\u0430\u043B\u0438\u0434\u0435\u043D ASCII \u0437\u043D\u0430\u043A | |
18 | +javax.faces.converter.DateTimeConverter.DATE = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0434\u0430\u0442\u0430 | |
19 | +javax.faces.converter.DateTimeConverter.DATETIME = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0434\u0430\u0442\u0430 \u0438 \u0447\u0430\u0441 | |
20 | +javax.faces.converter.DateTimeConverter.DATETIME_detail = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0434\u0430\u0442\u0430 \u0438 \u0447\u0430\u0441, \u043D\u0430\u043F\u0440. {1} | |
21 | +javax.faces.converter.DateTimeConverter.DATE_detail = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0434\u0430\u0442\u0430, \u043D\u0430\u043F\u0440. {1} | |
22 | +javax.faces.converter.DateTimeConverter.PATTERN_TYPE = \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0437\u0430\u0434\u0430\u0434\u0435\u043D \u043E\u0431\u0440\u0430\u0437\u0435\u0446 \u0438\u043B\u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 type, \u0437\u0430 \u0434\u0430 \u0441\u0435 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u0443\u0432\u0430 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 | |
23 | +javax.faces.converter.DateTimeConverter.TIME = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043E\u0442 \u0442\u0438\u043F \u0447\u0430\u0441 | |
24 | +javax.faces.converter.DateTimeConverter.TIME_detail = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043E\u0442 \u0442\u0438\u043F \u0447\u0430\u0441, \u043D\u0430\u043F\u0440. {1} | |
25 | +javax.faces.converter.DoubleConverter.DOUBLE = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0447\u0438\u0441\u043B\u043E | |
26 | +javax.faces.converter.DoubleConverter.DOUBLE_detail = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0447\u0438\u0441\u043B\u043E \u043C\u0435\u0436\u0434\u0443 4.9E-324 \u0438 1.7976931348623157E308 | |
27 | +javax.faces.converter.EnumConverter.ENUM = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u043C\u043E\u0436\u0435 \u0434\u0430 \u0441\u0435 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u0443\u0432\u0430 \u0434\u043E \u0438\u0437\u0431\u0440\u043E\u0435\u043D \u0442\u0438\u043F | |
28 | +javax.faces.converter.EnumConverter.ENUM_NO_CLASS = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u043C\u043E\u0436\u0435 \u0434\u0430 \u0441\u0435 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u0443\u0432\u0430 \u043E\u0442 \u0438\u043B\u0438 \u0434\u043E \u0438\u0437\u0431\u0440\u043E\u0435\u043D \u0442\u0438\u043F, \u043D\u043E \u043D\u0435 \u0435 \u043F\u043E\u0434\u0430\u0434\u0435\u043D \u043A\u043B\u0430\u0441 \u043E\u0442 \u0442\u0430\u043A\u044A\u0432 \u0442\u0438\u043F | |
29 | +javax.faces.converter.EnumConverter.ENUM_NO_CLASS_detail = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u043C\u043E\u0436\u0435 \u0434\u0430 \u0441\u0435 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u0443\u0432\u0430 \u043E\u0442 \u0438\u043B\u0438 \u0434\u043E \u0438\u0437\u0431\u0440\u043E\u0435\u043D \u0442\u0438\u043F, \u043D\u043E \u043D\u0435 \u0435 \u043F\u043E\u0434\u0430\u0434\u0435\u043D \u043A\u043B\u0430\u0441 \u043E\u0442 \u0442\u0430\u043A\u044A\u0432 \u0442\u0438\u043F | |
30 | +javax.faces.converter.EnumConverter.ENUM_detail = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u043C\u043E\u0436\u0435 \u0434\u0430 \u0441\u0435 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u0443\u0432\u0430 \u043E\u0442 \u0438\u043B\u0438 \u0434\u043E \u0438\u0437\u0431\u0440\u043E\u0435\u043D \u0442\u0438\u043F, \u043A\u043E\u0439\u0442\u043E \u0441\u044A\u0434\u044A\u0440\u0436\u0430 \u043A\u043E\u043D\u0441\u0442\u0430\u043D\u0442\u0430\u0442\u0430 {1} | |
31 | +javax.faces.converter.FloatConverter.FLOAT = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0447\u0438\u0441\u043B\u043E | |
32 | +javax.faces.converter.FloatConverter.FLOAT_detail = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0447\u0438\u0441\u043B\u043E \u043C\u0435\u0436\u0434\u0443 1.4E-45 \u0438 3.4028235E38 | |
33 | +javax.faces.converter.IntegerConverter.INTEGER = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0446\u044F\u043B\u043E \u0447\u0438\u0441\u043B\u043E | |
34 | +javax.faces.converter.IntegerConverter.INTEGER_detail = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0446\u044F\u043B\u043E \u0447\u0438\u0441\u043B\u043E \u043C\u0435\u0436\u0434\u0443 -2147483648 \u0438 2147483647 | |
35 | +javax.faces.converter.LongConverter.LONG = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0446\u044F\u043B\u043E \u0447\u0438\u0441\u043B\u043E | |
36 | +javax.faces.converter.LongConverter.LONG_detail = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0446\u044F\u043B\u043E \u0447\u0438\u0441\u043B\u043E \u043C\u0435\u0436\u0434\u0443 -9223372036854775808 \u0438 9223372036854775807 | |
37 | +javax.faces.converter.NumberConverter.CURRENCY = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0441\u0443\u043C\u0430 \u0432\u044A\u0432 \u0432\u0430\u043B\u0443\u0442\u0430 | |
38 | +javax.faces.converter.NumberConverter.CURRENCY_detail = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0441\u0443\u043C\u0430 \u0432\u044A\u0432 \u0432\u0430\u043B\u0443\u0442\u0430, \u043D\u0430\u043F\u0440. {1} | |
39 | +javax.faces.converter.NumberConverter.NUMBER = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0447\u0438\u0441\u043B\u043E | |
40 | +javax.faces.converter.NumberConverter.NUMBER_detail = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0447\u0438\u0441\u043B\u043E | |
41 | +javax.faces.converter.NumberConverter.PATTERN = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0447\u0438\u0441\u043B\u043E | |
42 | +javax.faces.converter.NumberConverter.PATTERN_detail = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0447\u0438\u0441\u043B\u043E | |
43 | +javax.faces.converter.NumberConverter.PERCENT = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043F\u0440\u043E\u0446\u0435\u043D\u0442 | |
44 | +javax.faces.converter.NumberConverter.PERCENT_detail = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043F\u0440\u043E\u0446\u0435\u043D\u0442, \u043D\u0430\u043F\u0440. {1} | |
45 | +javax.faces.converter.STRING = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u043D\u0435 \u043C\u043E\u0436\u0435 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043F\u0440\u0435\u0432\u044A\u0440\u043D\u0430\u0442\u0430 \u0432 \u043D\u0438\u0437 \u043E\u0442 \u0441\u0438\u043C\u0432\u043E\u043B\u0438 | |
46 | +javax.faces.converter.ShortConverter.SHORT = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0446\u044F\u043B\u043E \u0447\u0438\u0441\u043B\u043E | |
47 | +javax.faces.converter.ShortConverter.SHORT_detail = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0446\u044F\u043B\u043E \u0447\u0438\u0441\u043B\u043E \u043C\u0435\u0436\u0434\u0443 -32768 \u0438 32767 | |
48 | +javax.faces.validator.DoubleRangeValidator.MAXIMUM = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043F\u043E-\u043C\u0430\u043B\u043A\u0430 \u0438\u043B\u0438 \u0440\u0430\u0432\u043D\u0430 \u043D\u0430 {0} | |
49 | +javax.faces.validator.DoubleRangeValidator.MINIMUM = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043F\u043E-\u0433\u043E\u043B\u044F\u043C\u0430 \u0438\u043B\u0438 \u0440\u0430\u0432\u043D\u0430 \u043D\u0430 {0} | |
50 | +javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043C\u0435\u0436\u0434\u0443 {0} \u0438 {1} | |
51 | +javax.faces.validator.DoubleRangeValidator.TYPE = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u043D\u0435 \u0435 \u043E\u0442 \u043F\u0440\u0430\u0432\u0438\u043B\u043D\u0438\u044F \u0432\u0438\u0434 | |
52 | +javax.faces.validator.LengthValidator.MAXIMUM = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043D\u0435 \u043F\u043E-\u0434\u044A\u043B\u0433\u0430 \u043E\u0442 {0} \u0437\u043D\u0430\u043A\u0430 | |
53 | +javax.faces.validator.LengthValidator.MINIMUM = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043F\u043E-\u0434\u044A\u043B\u0433\u0430 \u043E\u0442 {0} \u0437\u043D\u0430\u043A\u0430 | |
54 | +javax.faces.validator.LongRangeValidator.MAXIMUM = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043F\u043E-\u043C\u0430\u043B\u043A\u0430 \u0438\u043B\u0438 \u0440\u0430\u0432\u043D\u0430 \u043D\u0430 {0} | |
55 | +javax.faces.validator.LongRangeValidator.MINIMUM = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043F\u043E-\u0433\u043E\u043B\u044F\u043C\u0430 \u0438\u043B\u0438 \u0440\u0430\u0432\u043D\u0430 \u043D\u0430 {0} | |
56 | +javax.faces.validator.LongRangeValidator.NOT_IN_RANGE = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043C\u0435\u0436\u0434\u0443 {0} \u0438 {1} | |
57 | +javax.faces.validator.LongRangeValidator.TYPE = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u043D\u0435 \u0435 \u043E\u0442 \u043F\u0440\u0430\u0432\u0438\u043B\u043D\u0438\u044F \u0432\u0438\u0434 | |
58 | +javax.faces.validator.NOT_IN_RANGE = \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043C\u0435\u0436\u0434\u0443 {0} \u0438 {1} | |
59 | + | |
60 | +left = \u2039 | |
61 | + | |
62 | +org.jboss.seam.IllegalNavigation = \u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044F | |
63 | +org.jboss.seam.NoConversation = \u0420\u0430\u0437\u0433\u043E\u0432\u043E\u0440\u044A\u0442 \u0435 \u043F\u0440\u0438\u043A\u043B\u044E\u0447\u0438\u043B, \u0438\u0437\u0442\u0435\u043A\u043B\u043E \u043C\u0443 \u0435 \u0432\u0440\u0435\u043C\u0435\u0442\u043E \u0438\u043B\u0438 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0432\u0430 \u0434\u0440\u0443\u0433\u0430 \u0437\u0430\u044F\u0432\u043A\u0430 | |
64 | +org.jboss.seam.ProcessEnded = \u041F\u0440\u043E\u0446\u0435\u0441 #0 \u0435 \u043F\u0440\u0438\u043A\u043B\u044E\u0447\u0438\u043B | |
65 | +org.jboss.seam.ProcessNotFound = \u041F\u0440\u043E\u0446\u0435\u0441 #0 \u043D\u0435 \u0435 \u043D\u0430\u043C\u0435\u0440\u0435\u043D | |
66 | +org.jboss.seam.TaskEnded = \u0417\u0430\u0434\u0430\u0447\u0430 #0 \u0435 \u043F\u0440\u0438\u043A\u043B\u044E\u0447\u0438\u043B\u0430 | |
67 | +org.jboss.seam.TaskNotFound = \u0417\u0430\u0434\u0430\u0447\u0430 #0 \u043D\u0435 \u0435 \u043D\u0430\u043C\u0435\u0440\u0435\u043D\u0430 | |
68 | +org.jboss.seam.TransactionFailed = \u0422\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u044F \u043D\u0435 \u0435 \u0443\u0441\u043F\u044F\u043B\u0430 | |
69 | +org.jboss.seam.NotLoggedIn = \u041C\u043E\u043B\u044F \u043F\u044A\u0440\u0432\u043E \u0441\u0435 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u0430\u0439\u0442\u0435 | |
70 | + | |
71 | +org.jboss.seam.loginFailed = \u041D\u0435\u0443\u0441\u043F\u0435\u0448\u0435\u043D \u0432\u0445\u043E\u0434 | |
72 | +org.jboss.seam.loginSuccessful = \u0417\u0434\u0440\u0430\u0432\u0435\u0439, #0 | |
73 | + | |
74 | +right = \u203A | |
75 | + | |
76 | +up = \u2191 | |
77 | + | |
78 | +validator.assertFalse = \u0433\u0440\u0435\u0448\u043A\u0438 \u043F\u0440\u0438 \u0432\u0430\u043B\u0438\u0434\u0430\u0446\u0438\u044F | |
79 | +validator.assertTrue = \u0433\u0440\u0435\u0448\u043A\u0438 \u043F\u0440\u0438 \u0432\u0430\u043B\u0438\u0434\u0430\u0446\u0438\u044F | |
80 | +validator.email = \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0432\u0430\u043B\u0438\u0434\u0435\u043D e-mail \u0430\u0434\u0440\u0435\u0441 | |
81 | +validator.future = \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0431\u044A\u0434\u0435\u0449\u0430 \u0434\u0430\u0442\u0430 | |
82 | +validator.length = \u0434\u044A\u043B\u0436\u0438\u043D\u0430\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043C\u0435\u0436\u0434\u0443 {min} \u0438 {max} | |
83 | +validator.max = \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043F\u043E-\u043C\u0430\u043B\u043A\u043E \u0438\u043B\u0438 \u0440\u0430\u0432\u043D\u043E \u043D\u0430 {value} | |
84 | +validator.min = \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043F\u043E-\u0433\u043E\u043B\u044F\u043C\u043E \u0438\u043B\u0438 \u0440\u0430\u0432\u043D\u043E \u043D\u0430 {value} | |
85 | +validator.notNull = \u0435 \u0437\u0430\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E | |
86 | +validator.past = \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0435 \u043C\u0438\u043D\u0430\u043B\u0430 \u0434\u0430\u0442\u0430\u0442\u0430 | |
87 | +validator.pattern = \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0441\u044A\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0430 \u043D\u0430 "{regex}" | |
88 | +validator.range = \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0435 \u043C\u0435\u0436\u0434\u0443 {min} \u0438 {max} | |
89 | +validator.size = \u0440\u0430\u0437\u043C\u0435\u0440\u044A\u0442 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0435 \u043C\u0435\u0436\u0434\u0443 {min} \u0438 {max} | ... | ... |
resources/messages_de.properties
0 → 100644
1 | +up=\u2191 | |
2 | +down=\u2193 | |
3 | +left=\u2039 | |
4 | +right=\u203A | |
5 | + | |
6 | +validator.assertFalse=Validierung fehlgeschlagen | |
7 | +validator.assertTrue=Validierung fehlgeschlagen | |
8 | +validator.future=muss einem zuk\u00FCnfitigen Datum entsprechen | |
9 | +validator.length=die L\u00E4nge muss zwischen {min} und {max} liegen | |
10 | +validator.max=muss kleiner oder gleich {value} sein | |
11 | +validator.min=muss gr\u00F6\u00DFer oder gleich {value} sein | |
12 | +validator.notNull=darf nicht leer sein | |
13 | +validator.past=muss einem vergangenen Datum entsprechen | |
14 | +validator.pattern=muss dem regul\u00E4ren Ausdruck "{regex}" entsprechen | |
15 | +validator.range=muss im Wertebereich von {min} bis {max} liegen | |
16 | +validator.size=die Gr\u00F6\u00DFe muss zischen {min} und {max} liegen | |
17 | +validator.email=muss einer wohlgeformten E-Mailadresse entsprechen | |
18 | + | |
19 | +org.jboss.seam.loginFailed=Anmeldung fehlgeschlagen | |
20 | +org.jboss.seam.loginSuccessful=Willkommen, #0! | |
21 | + | |
22 | +org.jboss.seam.TransactionFailed=Transaktion fehlgeschlagen | |
23 | +org.jboss.seam.NoConversation=Der Vorgang wurde bereits beendet, verarbeitet eine andere Abfrage oder ergab eine Zeit\u00FCberschreitung | |
24 | +org.jboss.seam.IllegalNavigation=Unzul\u00E4ssige Navigation | |
25 | +org.jboss.seam.ProcessEnded=Prozess #0 wurde bereits beendet | |
26 | +org.jboss.seam.ProcessNotFound=Prozess #0 nicht gefunden | |
27 | +org.jboss.seam.TaskEnded=Funktion #0 wurde bereits beendet | |
28 | +org.jboss.seam.TaskNotFound=Funktion #0 nicht gefunden | |
29 | +org.jboss.seam.NotLoggedIn=Bitte melden Sie sich zun\u00E4chst an | |
30 | + | |
31 | +javax.faces.component.UIInput.CONVERSION=Wert konnte nicht in den erwarteten Typ umgewandelt werden | |
32 | +javax.faces.component.UIInput.REQUIRED=Wert erforderlich | |
33 | +javax.faces.component.UIInput.UPDATE=ein Fehler ist bei der Verarbeitung der von Ihnen gesendeten Daten aufgetreten | |
34 | +javax.faces.component.UISelectOne.INVALID=Wert ung\u00FCltig | |
35 | +javax.faces.component.UISelectMany.INVALID=Wert ung\u00FCltig | |
36 | + | |
37 | +javax.faces.converter.BigDecimalConverter.DECIMAL = ''{0}'' muss eine Dezimalzahl sein. | |
38 | +javax.faces.converter.BigDecimalConverter.DECIMAL_detail = ''{0}'' muss eine Dezimalzahl aus keinem oder mehr Zeichen gefolgt von einem optionalen Punkt und den Nachkommastellen sein. Beispiel: {1} | |
39 | +javax.faces.converter.BigIntegerConverter.BIGINTEGER = ''{0}'' muss eine Zahl aus ein oder mehr Ziffern sein. | |
40 | +javax.faces.converter.BigIntegerConverter.BIGINTEGER_detail = ''{0}'' muss eine Zahl aus ein oder mehr Ziffern sein. Beispiel: {1} | |
41 | +javax.faces.converter.BooleanConverter.BOOLEAN = ''{0}'' muss 'true' oder 'false' sein. | |
42 | +javax.faces.converter.BooleanConverter.BOOLEAN_detail = ''{0}'' muss 'true' oder 'false' sein. Jeder Wert au\u00DFer 'true' wird als 'false' interpretiert. | |
43 | +javax.faces.converter.ByteConverter.BYTE = ''{0}'' muss eine Zahl zwischen 0 und 255 sein. | |
44 | +javax.faces.converter.ByteConverter.BYTE_detail = ''{0}'' muss eine Zahl zwischen 0 und 255 sein. Beispiel: {1} | |
45 | +javax.faces.converter.CharacterConverter.CHARACTER = ''{0}'' muss ein g\u00FCltiges Zeichen sein. | |
46 | +javax.faces.converter.CharacterConverter.CHARACTER_detail = ''{0}'' muss ein g\u00FCltiges ASCII Zeichen sein. | |
47 | +javax.faces.converter.DateTimeConverter.DATE = ''{0}'' konnte nicht als Datum erkannt werden. | |
48 | +javax.faces.converter.DateTimeConverter.DATE_detail = ''{0}'' konnte nicht als Datum erkannt werden. Beispiel: {1} | |
49 | +javax.faces.converter.DateTimeConverter.TIME = ''{0}'' konnte nicht als Zeit erkannt werden. | |
50 | +javax.faces.converter.DateTimeConverter.TIME_detail = ''{0}'' konnte nicht als Zeit erkannt werden. Beispiel: {1} | |
51 | +javax.faces.converter.DateTimeConverter.DATETIME = ''{0}'' konnte nicht als Datum und Zeit erkannt werden. | |
52 | +javax.faces.converter.DateTimeConverter.DATETIME_detail = ''{0}'' konnte nicht als Datum und Zeit erkannt werden. Beispiel: {1} | |
53 | +javax.faces.converter.DateTimeConverter.PATTERN_TYPE = Ein 'pattern' oder 'type' Attribut muss angegeben werden um den Wert ''{0}'' zu konvertieren. | |
54 | +javax.faces.converter.DoubleConverter.DOUBLE = ''{0}'' muss eine Zahl aus ein oder mehr Ziffern sein. | |
55 | +javax.faces.converter.DoubleConverter.DOUBLE_detail = ''{0}'' muss eine Zahl zwischen 4.9E-324 und 1.7976931348623157E308 sein. Beispiel: {1} | |
56 | +javax.faces.converter.EnumConverter.ENUM = ''{0}'' muss in eine Enumeration konvertierbar sein. | |
57 | +javax.faces.converter.EnumConverter.ENUM_detail = ''{0}'' muss in eine Enumeration konvertierbar sein, welche die Konstante ''{1}'' enth\u00E4lt. | |
58 | +javax.faces.converter.EnumConverter.ENUM_NO_CLASS = ''{0}'' muss in eine Enumeration konvertierbar sein, aber es wurde keine Klasse des Typs Enum bereitgestellt. | |
59 | +javax.faces.converter.EnumConverter.ENUM_NO_CLASS_detail = ''{0}'' muss in eine Enumeration konvertierbar sein, aber es wurde keine Klasse des Typs Enum bereitgestellt. | |
60 | +javax.faces.converter.FloatConverter.FLOAT = ''{0}'' muss eine Zahl aus ein oder mehr Ziffern sein. | |
61 | +javax.faces.converter.FloatConverter.FLOAT_detail = ''{0}'' muss eine Zahl zwischen 1.4E-45 und 3.4028235E38 sein. Beispiel: {1} | |
62 | +javax.faces.converter.IntegerConverter.INTEGER = ''{0}'' muss eine Zahl aus ein oder mehr Ziffern sein. | |
63 | +javax.faces.converter.IntegerConverter.INTEGER_detail = ''{0}'' muss eine Zahl zwischen -2147483648 und 2147483647 sein. Beispiel: {1} | |
64 | +javax.faces.converter.LongConverter.LONG = ''{0}'' muss eine Zahl aus ein oder mehr Ziffern sein. | |
65 | +javax.faces.converter.LongConverter.LONG_detail = ''{0}'' muss eine Zahl zwischen -9223372036854775808 und 9223372036854775807 sein. Beispiel: {1} | |
66 | +javax.faces.converter.NumberConverter.CURRENCY = ''{0}'' konnte nicht als ein Geldbetrag erkannt werden. | |
67 | +javax.faces.converter.NumberConverter.CURRENCY_detail = ''{0}'' konnte nicht als ein Geldbetrag erkannt werden. Beispiel: {1} | |
68 | +javax.faces.converter.NumberConverter.PERCENT = ''{0}'' konnte nicht als ein Prozentanteil erkannt werden. | |
69 | +javax.faces.converter.NumberConverter.PERCENT_detail = ''{0}'' konnte nicht als ein Prozentanteil erkannt werden. Beispiel: {1} | |
70 | +javax.faces.converter.NumberConverter.NUMBER = ''{0}'' ist keine Zahl. | |
71 | +javax.faces.converter.NumberConverter.NUMBER_detail = ''{0}'' ist keine Zahl. Beispiel: {1} | |
72 | +javax.faces.converter.NumberConverter.PATTERN = ''{0}'' ist kein Zahlmuster. | |
73 | +javax.faces.converter.NumberConverter.PATTERN_detail = ''{0}'' ist kein Zahlmuster. Beispiel: {1} | |
74 | +javax.faces.converter.ShortConverter.SHORT = ''{0}'' muss eine Zahl aus ein oder mehr Ziffern sein. | |
75 | +javax.faces.converter.ShortConverter.SHORT_detail = ''{0}'' muss eine Zahl zwischen -32768 und 32767 sein. Beispiel: {1} | |
76 | +javax.faces.converter.STRING = Konnte ''{0}'' nicht in eine Zeichenkette konvertieren. | |
77 | + | |
78 | +javax.faces.validator.NOT_IN_RANGE = Validierungsfehler: Der Wert liegt nicht im erwarteten Wertebereich von {0} bis {1}. | |
79 | +javax.faces.validator.DoubleRangeValidator.MAXIMUM = Validierungsfehler: Der Wert ist gr\u00F6\u00DFer als das erlaubte Maximum von ''{0}'' | |
80 | +javax.faces.validator.DoubleRangeValidator.MINIMUM = Validierungsfehler: Der Wert ist kleiner als das erlaubte Minimum von ''{0}'' | |
81 | +javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE = Validierungsfehler: Der Wert ist nicht zwischen den erwarteten Werten von {0} und {1} | |
82 | +javax.faces.validator.DoubleRangeValidator.TYPE = Validierungsfehler: Der Wert ist nicht vom korrekten Typ | |
83 | +javax.faces.validator.LengthValidator.MAXIMUM = Validierungsfehler: Der Wert ist gr\u00F6\u00DFer als das erlaubte Maximum von ''{0}'' | |
84 | +javax.faces.validator.LengthValidator.MINIMUM = Validierungsfehler: Der Wert ist kleiner als das erlaubte Minimum von ''{0}'' | |
85 | +javax.faces.validator.LongRangeValidator.MAXIMUM = Validierungsfehler: Der Wert ist gr\u00F6\u00DFer als das erlaubte Maximum von ''{0}'' | |
86 | +javax.faces.validator.LongRangeValidator.MINIMUM = Validation Error: Der Wert ist kleiner als das erlaubte Minimum von ''{0}'' | |
87 | +javax.faces.validator.LongRangeValidator.NOT_IN_RANGE = Validierungsfehler: Der Wert ist nicht zwischen den erwarteten Werten von {0} und {1}. | |
88 | +javax.faces.validator.LongRangeValidator.TYPE = Validierungsfehler: Der Wert ist nicht vom korrekten Typ. | ... | ... |
resources/messages_en.properties
0 → 100644
1 | +tag=Tag | |
2 | +tag.id=Id | |
3 | +tag.name=Name | |
4 | +tag.version=Version | |
5 | +tagList=Tag list | |
6 | + | |
7 | +CRUD.create=Create | |
8 | +CRUD.save=Save | |
9 | +CRUD.cancel=Cancel | |
10 | +CRUD.done=Done | |
11 | +CRUD.edit=Edit | |
12 | +CRUD.remove=Remove | |
13 | + | |
14 | +up=\u2191 | |
15 | +down=\u2193 | |
16 | +left=\u2039 | |
17 | +right=\u203A | |
18 | + | |
19 | +validator.assertFalse=validation failed | |
20 | +validator.assertTrue=validation failed | |
21 | +validator.future=must be a future date | |
22 | +validator.length=length must be between {min} and {max} | |
23 | +validator.max=must be less than or equal to {value} | |
24 | +validator.min=must be greater than or equal to {value} | |
25 | +validator.notNull=may not be null | |
26 | +validator.past=must be a past date | |
27 | +validator.pattern=must match "{regex}" | |
28 | +validator.range=must be between {min} and {max} | |
29 | +validator.size=size must be between {min} and {max} | |
30 | +validator.email=must be a well-formed email address | |
31 | + | |
32 | +org.jboss.seam.loginFailed=Login failed | |
33 | +org.jboss.seam.loginSuccessful=Welcome, #0! | |
34 | + | |
35 | +org.jboss.seam.TransactionFailed=Transaction failed | |
36 | +org.jboss.seam.NoConversation=The conversation ended, timed out or was processing another request | |
37 | +org.jboss.seam.IllegalNavigation=Illegal navigation | |
38 | +org.jboss.seam.ProcessEnded=Process #0 already ended | |
39 | +org.jboss.seam.ProcessNotFound=Process #0 not found | |
40 | +org.jboss.seam.TaskEnded=Task #0 already ended | |
41 | +org.jboss.seam.TaskNotFound=Task #0 not found | |
42 | +org.jboss.seam.NotLoggedIn=Please log in first | |
43 | + | |
44 | +javax.faces.component.UIInput.CONVERSION=value could not be converted to the expected type | |
45 | +javax.faces.component.UIInput.REQUIRED=value is required | |
46 | +javax.faces.component.UIInput.UPDATE=an error occurred when processing your submitted information | |
47 | +javax.faces.component.UISelectOne.INVALID=value is not valid | |
48 | +javax.faces.component.UISelectMany.INVALID=value is not valid | |
49 | + | |
50 | +javax.faces.converter.BigDecimalConverter.DECIMAL=value must be a number | |
51 | +javax.faces.converter.BigDecimalConverter.DECIMAL_detail=value must be a signed decimal number consisting of zero or more digits, optionally followed by a decimal point and fraction, eg. {1} | |
52 | +javax.faces.converter.BigIntegerConverter.BIGINTEGER=value must be an integer | |
53 | +javax.faces.converter.BigIntegerConverter.BIGINTEGER_detail=value must be a signed integer number consisting of zero or more digits | |
54 | +javax.faces.converter.BooleanConverter.BOOLEAN=value must be true or false | |
55 | +javax.faces.converter.BooleanConverter.BOOLEAN_detail=value must be true or false (any value other than true will evaluate to false) | |
56 | +javax.faces.converter.ByteConverter.BYTE=value must be a number between 0 and 255 | |
57 | +javax.faces.converter.ByteConverter.BYTE_detail=value must be a number between 0 and 255 | |
58 | +javax.faces.converter.CharacterConverter.CHARACTER=value must be a character | |
59 | +javax.faces.converter.CharacterConverter.CHARACTER_detail=value must be a valid ASCII character | |
60 | +javax.faces.converter.DateTimeConverter.DATE=value must be a date | |
61 | +javax.faces.converter.DateTimeConverter.DATE_detail=value must be a date, eg. {1} | |
62 | +javax.faces.converter.DateTimeConverter.TIME=value must be a time | |
63 | +javax.faces.converter.DateTimeConverter.TIME_detail=value must be a time, eg. {1} | |
64 | +javax.faces.converter.DateTimeConverter.DATETIME=value must be a date and time | |
65 | +javax.faces.converter.DateTimeConverter.DATETIME_detail=value must be a date and time, eg. {1} | |
66 | +javax.faces.converter.DateTimeConverter.PATTERN_TYPE=a pattern or type attribute must be specified to convert the value | |
67 | +javax.faces.converter.DoubleConverter.DOUBLE=value must be a number | |
68 | +javax.faces.converter.DoubleConverter.DOUBLE_detail=value must be a number between 4.9E-324 and 1.7976931348623157E308 | |
69 | +javax.faces.converter.EnumConverter.ENUM=value must be convertible to an enum | |
70 | +javax.faces.converter.EnumConverter.ENUM_detail=value must be convertible to an enum or from the enum that contains the constant {1} | |
71 | +javax.faces.converter.EnumConverter.ENUM_NO_CLASS=value must be convertible to an enum or from the enum, but no enum class provided | |
72 | +javax.faces.converter.EnumConverter.ENUM_NO_CLASS_detail=value must be convertible to an enum or from the enum, but no enum class provided | |
73 | +javax.faces.converter.FloatConverter.FLOAT=value must be a number | |
74 | +javax.faces.converter.FloatConverter.FLOAT_detail=value must be a number between 1.4E-45 and 3.4028235E38 | |
75 | +javax.faces.converter.IntegerConverter.INTEGER=value must be an integer | |
76 | +javax.faces.converter.IntegerConverter.INTEGER_detail=value must be an integer number between -2147483648 and 2147483647 | |
77 | +javax.faces.converter.LongConverter.LONG=value must be an integer | |
78 | +javax.faces.converter.LongConverter.LONG_detail=value must be an integer number between -9223372036854775808 and 9223372036854775807 | |
79 | +javax.faces.converter.NumberConverter.CURRENCY=value must be a currency amount | |
80 | +javax.faces.converter.NumberConverter.CURRENCY_detail=value must be a currency amount, eg. {1} | |
81 | +javax.faces.converter.NumberConverter.PERCENT=value must be a percentage amount | |
82 | +javax.faces.converter.NumberConverter.PERCENT_detail=value must be a percentage amount, eg. {1} | |
83 | +javax.faces.converter.NumberConverter.NUMBER=value must be a number | |
84 | +javax.faces.converter.NumberConverter.NUMBER_detail=value must be a number | |
85 | +javax.faces.converter.NumberConverter.PATTERN=value must be a number | |
86 | +javax.faces.converter.NumberConverter.PATTERN_detail=value must be a number | |
87 | +javax.faces.converter.ShortConverter.SHORT=value must be an integer | |
88 | +javax.faces.converter.ShortConverter.SHORT_detail=value must be an integer number between -32768 and 32767 | |
89 | + | |
90 | +javax.faces.validator.DoubleRangeValidator.MAXIMUM=value must be less than or equal to {0} | |
91 | +javax.faces.validator.DoubleRangeValidator.MINIMUM=value must be greater than or equal to {0} | |
92 | +javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE=value must be between {0} and {1} | |
93 | +javax.faces.validator.DoubleRangeValidator.TYPE=value is not of the correct type | |
94 | +javax.faces.validator.LengthValidator.MAXIMUM=value must be shorter than or equal to {0} characters | |
95 | +javax.faces.validator.LengthValidator.MINIMUM=value must be longer than or equal to {0} characters | |
96 | +javax.faces.validator.LongRangeValidator.MAXIMUM=value must be less than or equal to {0} | |
97 | +javax.faces.validator.LongRangeValidator.MINIMUM=value must be greater than or equal to {0} | |
98 | +javax.faces.validator.LongRangeValidator.NOT_IN_RANGE=value must be between {0} and {1} | |
99 | +javax.faces.validator.LongRangeValidator.TYPE=value is not of the correct type | |
100 | + | |
101 | +javax.faces.validator.NOT_IN_RANGE=value must be between {0} and {1} | |
102 | +javax.faces.converter.STRING=value could not be converted to a string | |
103 | + | ... | ... |
resources/messages_fr.properties
0 → 100644
1 | +up=\u2191 | |
2 | +down=\u2193 | |
3 | +left=\u2039 | |
4 | +right=\u203A | |
5 | + | |
6 | +javax.persistence.EntityNotFoundException = Entité introuvable | |
7 | +javax.persistence.OptimisticLockException = Un autre utilisateur a modifié les mêmes données. Veuillez essayer de nouveau. | |
8 | + | |
9 | +validator.assertFalse = La validation a échoué | |
10 | +validator.assertTrue = La validation a échoué | |
11 | +validator.future = doit être une date à venir. | |
12 | +validator.length = la longueur doit être comprise entre {min} et {max} | |
13 | +validator.max = doit être inférieur(e) ou égal(e) à {value} | |
14 | +validator.min = doit être supérieur(e) ou égal(e) à {value} | |
15 | +validator.notNull = ne peut être nul(le) | |
16 | +validator.past = doit être une date passée | |
17 | +validator.pattern = doit correspondre à "{regex}" | |
18 | +validator.range = doit être compris(e) entre {min} et {max} | |
19 | +validator.size = La taille doit être comprise entre {min} et {max} | |
20 | +validator.email = doit être une adresse email valide | |
21 | + | |
22 | +org.jboss.seam.framework.EntityNotFoundException = Entité introuvable | |
23 | +org.jboss.seam.security.AuthorizationException = Vous n'avez pas les autorisations nécessaires pour effectuer ceci | |
24 | +org.jboss.seam.security.NotLoggedInException = Veuillez d'abord vous connecter | |
25 | +org.jboss.seam.unexpected.error = Erreur inattendue. Veuillez essayez de nouveau. | |
26 | + | |
27 | +org.jboss.seam.loginFailed = La connexion a échoué. | |
28 | +org.jboss.seam.loginSuccessful = Bienvenue, {0}! | |
29 | + | |
30 | +org.jboss.seam.TransactionFailed = La transaction a échoué. | |
31 | +org.jboss.seam.NoConversation = La conversation s'est interrompue, a dépassé les délais ou traite une autre requête. | |
32 | +org.jboss.seam.IllegalNavigation = Navigation illégale | |
33 | +org.jboss.seam.ProcessEnded = Processus #0 déjà achevé | |
34 | +org.jboss.seam.ProcessNotFound = Le processus #0 n'a pas été trouvé. | |
35 | +org.jboss.seam.TaskEnded = Tâche #0 déjà achevée | |
36 | +org.jboss.seam.TaskNotFound = La tâche #0 n'a pas été trouvée. | |
37 | +org.jboss.seam.NotLoggedIn = Veuillez d'abord vous connecter. | |
38 | + | |
39 | +javax.faces.component.UIInput.CONVERSION = La valeur ne peut être convertie dans le type attendu | |
40 | +javax.faces.component.UIInput.REQUIRED = Une valeur est requise. | |
41 | +javax.faces.component.UIInput.UPDATE = Une erreur est survenue lors du traitement de l'information que vous avez fournie | |
42 | +javax.faces.component.UISelectMany.INVALID = La valeur n'est pas valide. | |
43 | +javax.faces.component.UISelectOne.INVALID = La valeur n'est pas valide. | |
44 | + | |
45 | +javax.faces.converter.BigDecimalConverter.DECIMAL = la valeur doit être un nombre | |
46 | +javax.faces.converter.BigDecimalConverter.DECIMAL_detail = la valeur doit être un nombre décimal signé comprenant zéro chiffre ou plus, éventuellement suivi par une virgule décimale et une faction, par ex. {1} | |
47 | +javax.faces.converter.BigIntegerConverter.BIGINTEGER = la valeur doit être un nombre | |
48 | +javax.faces.converter.BigIntegerConverter.BIGINTEGER_detail = la valeur doit être un entier signé comprenant zéro chiffre ou plus | |
49 | +javax.faces.converter.BooleanConverter.BOOLEAN = la valeur doit être "vrai" ou "faux" | |
50 | +javax.faces.converter.BooleanConverter.BOOLEAN_detail = la valeur doit être "vrai" ou "faux" (toute valeur autre que "vrai" est évaluée à "faux") | |
51 | +javax.faces.converter.ByteConverter.BYTE = la valeur doit être un nombre entre 0 et 255 | |
52 | +javax.faces.converter.ByteConverter.BYTE_detail = la valeur doit être un nombre entre 0 et 255 | |
53 | +javax.faces.converter.CharacterConverter.CHARACTER = la valeur doit être un caractère | |
54 | +javax.faces.converter.CharacterConverter.CHARACTER_detail = la valeur doit être un caractère ASCII valide | |
55 | +javax.faces.converter.DateTimeConverter.DATE = la valeur doit être une date | |
56 | +javax.faces.converter.DateTimeConverter.DATE_detail = la valeur doit être une date, par ex. {1} | |
57 | +javax.faces.converter.DateTimeConverter.TIME = la valeur doit être une heure | |
58 | +javax.faces.converter.DateTimeConverter.TIME_detail = la valeur doit être une heure, par ex. {1} | |
59 | +javax.faces.converter.DateTimeConverter.DATETIME = la valeur doit être une date et une heure | |
60 | +javax.faces.converter.DateTimeConverter.DATETIME_detail = la valeur doit être une date et une heure, par ex. {1} | |
61 | +javax.faces.converter.DateTimeConverter.PATTERN_TYPE = un attribut doit indiquer le modèle ou le type pour convertir la valeur | |
62 | +javax.faces.converter.DoubleConverter.DOUBLE = la valeur doit être un nombre | |
63 | +javax.faces.converter.DoubleConverter.DOUBLE_detail = la valeur doit être un nombre entre 4,9E-324 et 17976931348623157E308 | |
64 | +javax.faces.converter.EnumConverter.ENUM = la valeur doit être convertible en une énumération | |
65 | +javax.faces.converter.EnumConverter.ENUM_detail = la valeur doit être convertible en une énumération ou depuis l''énumération qui contient la constante {1} | |
66 | +javax.faces.converter.EnumConverter.ENUM_NO_CLASS = la valeur doit être convertible en une énumération ou depuis l'énumération, mais aucune classe d'énumération n'est fournie | |
67 | +javax.faces.converter.EnumConverter.ENUM_NO_CLASS_detail = la valeur doit être convertible en une énumération ou depuis l'énumération, mais aucune classe d'énumération n'est fournie | |
68 | +javax.faces.converter.FloatConverter.FLOAT = la valeur doit être un nombre | |
69 | +javax.faces.converter.FloatConverter.FLOAT_detail = la valeur doit être un nombre entre 1,4E-45 et 3,4028235E38 | |
70 | +javax.faces.converter.IntegerConverter.INTEGER = la valeur doit être un nombre | |
71 | +javax.faces.converter.IntegerConverter.INTEGER_detail = la valeur doit être un nombre entre -2147483648 et 2147483647 | |
72 | +javax.faces.converter.LongConverter.LONG = la valeur doit être un nombre | |
73 | +javax.faces.converter.LongConverter.LONG_detail = la valeur doit être un nombre entre -9223372036854775808 et 9223372036854775807 | |
74 | +javax.faces.converter.NumberConverter.CURRENCY = la valeur doit être un montant monétaire | |
75 | +javax.faces.converter.NumberConverter.CURRENCY_detail = la valeur doit être un montant monétaire, par ex. {1} | |
76 | +javax.faces.converter.NumberConverter.NUMBER = la valeur doit être un nombre | |
77 | +javax.faces.converter.NumberConverter.NUMBER_detail = la valeur doit être un nombre | |
78 | +javax.faces.converter.NumberConverter.PATTERN = la valeur doit être un nombre | |
79 | +javax.faces.converter.NumberConverter.PATTERN_detail = la valeur doit être un nombre | |
80 | +javax.faces.converter.NumberConverter.PERCENT = la valeur doit être un pourcentage | |
81 | +javax.faces.converter.NumberConverter.PERCENT_detail = la valeur doit être un pourcentage, par ex. {1} | |
82 | +javax.faces.converter.ShortConverter.SHORT = la valeur doit être un nombre | |
83 | +javax.faces.converter.ShortConverter.SHORT_detail = la valeur doit être comprise entre -32768 et 32767 | |
84 | + | |
85 | +javax.faces.validator.DoubleRangeValidator.MAXIMUM = La valeur doit être inférieure ou égale à {0} | |
86 | +javax.faces.validator.DoubleRangeValidator.MINIMUM = La valeur doit être supérieure ou égale à {0} | |
87 | +javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE = La valeur doit être comprise entre {0} et {1} | |
88 | +javax.faces.validator.DoubleRangeValidator.TYPE = La valeur n'est pas du type correct | |
89 | +javax.faces.validator.LengthValidator.MAXIMUM = La valeur doit comporter {0} caractères ou moins | |
90 | +javax.faces.validator.LengthValidator.MINIMUM = La valeur doit comporter {0} caractères ou plus | |
91 | +javax.faces.validator.LongRangeValidator.MAXIMUM = La valeur doit être inférieure ou égale à {0} | |
92 | +javax.faces.validator.LongRangeValidator.MINIMUM = La valeur doit être supérieure ou égale à {0} | |
93 | +javax.faces.validator.LongRangeValidator.NOT_IN_RANGE = La valeur doit être comprise entre {0} et {1} | |
94 | +javax.faces.validator.LongRangeValidator.TYPE = La valeur n'est pas du type correct | |
95 | + | |
96 | +javax.faces.validator.NOT_IN_RANGE = La valeur doit être comprise entre {0} et {1} | |
97 | +javax.faces.converter.STRING = La valeur ne peut être convertie en chaîne de caractères | |
98 | + | ... | ... |
resources/messages_it.properties
0 → 100644
1 | +up=\u2191 | |
2 | +down=\u2193 | |
3 | +left=\u2039 | |
4 | +right=\u203A | |
5 | + | |
6 | +validator.assertFalse=validazione fallita | |
7 | +validator.assertTrue=validazione corretta | |
8 | +validator.future=deve essere una data futura | |
9 | +validator.length=la lunghezza deve essere tra {min} e {max} | |
10 | +validator.max=deve essere minore o uguale a {value} | |
11 | +validator.min=deve essere maggiore o uguale a {value} | |
12 | +validator.notNull=non pu\u00F2 essere nullo | |
13 | +validator.past=deve essere una data passata | |
14 | +validator.pattern=deve corrispondere a "{regex}" | |
15 | +validator.range=deve essere tra {min} e {max} | |
16 | +validator.size=la grandezza deve essere tra {min} e {max} | |
17 | +validator.email=deve essere un indirizzo di posta elettronica | |
18 | + | |
19 | +org.jboss.seam.loginFailed=Autenticazione fallita | |
20 | +org.jboss.seam.loginSuccessful=Benvenuto/a, #0 | |
21 | + | |
22 | +org.jboss.seam.TransactionFailed=Transazione fallita | |
23 | +org.jboss.seam.NoConversation=La conversazione \u00E8 terminata, scaduta oppure \u00E8 stata processata un'altra richiesta | |
24 | +org.jboss.seam.IllegalNavigation=Navigazione illegale | |
25 | +org.jboss.seam.ProcessEnded=Il processo \#0 \u00E8 gi\u00E0\u00A0 terminato | |
26 | +org.jboss.seam.ProcessNotFound=Il processo \#0 non \u00E8 stato trovato | |
27 | +org.jboss.seam.TaskEnded=Il task \#0 \u00E8 gi\u00E0 terminato | |
28 | +org.jboss.seam.TaskNotFound=Il task \#0 non \u00E8 stato trovato | |
29 | +org.jboss.seam.NotLoggedIn=Per favore, eseguire la login | |
30 | + | |
31 | +javax.faces.component.UIInput.CONVERSION=il valore non pu\u00F2 essere convertito | |
32 | +javax.faces.component.UIInput.REQUIRED=\u00C8 richiesto un valore | |
33 | +javax.faces.component.UIInput.UPDATE=Si \u00E8 verificato un errore nell'elaborazione delle informazioni inviate | |
34 | +javax.faces.component.UISelectOne.INVALID=il valore non \u00E8 valido | |
35 | +javax.faces.component.UISelectMany.INVALID=il valore non \u00E8 valido | |
36 | + | |
37 | +javax.faces.converter.BigDecimalConverter.DECIMAL=il valore deve essere un numero | |
38 | +javax.faces.converter.BigDecimalConverter.DECIMAL_detail=il valore deve essere un numero decimale con zero o pi\u00F9 cifre, opzionalmente seguito da un punto e una frazione, es. {1} | |
39 | +javax.faces.converter.BigIntegerConverter.BIGINTEGER=deve essere un intero | |
40 | +javax.faces.converter.BigIntegerConverter.BIGINTEGER_detail=il valore deve essere un numero intero con zero o pi\u00F9 cifre | |
41 | +javax.faces.converter.BooleanConverter.BOOLEAN=deve essere vero o falso | |
42 | +javax.faces.converter.BooleanConverter.BOOLEAN_detail=il valore deve essere vero o falso (qualsiasi valore diverso da vero \u00E8 considerato falso) | |
43 | +javax.faces.converter.ByteConverter.BYTE=il valore deve essere un numero compreso tra 0 e 255 | |
44 | +javax.faces.converter.ByteConverter.BYTE_detail=il valore deve essere un numero compreso tra 0 e 255 | |
45 | +javax.faces.converter.CharacterConverter.CHARACTER=deve essere un carattere | |
46 | +javax.faces.converter.CharacterConverter.CHARACTER_detail=il valore deve essere un carattere ASCII valido | |
47 | +javax.faces.converter.DateTimeConverter.DATE=deve essere una data | |
48 | +javax.faces.converter.DateTimeConverter.DATE_detail=il valore deve essere una data, es. {1} | |
49 | +javax.faces.converter.DateTimeConverter.TIME=deve essere un orario | |
50 | +javax.faces.converter.DateTimeConverter.TIME_detail=il valore deve essere un orario, es. {1} | |
51 | +javax.faces.converter.DateTimeConverter.DATETIME=deve essere una data ed un orario | |
52 | +javax.faces.converter.DateTimeConverter.DATETIME_detail=il valore deve essere una data e un orario, es. {1} | |
53 | +javax.faces.converter.DateTimeConverter.PATTERN_TYPE=per convetire il valore devono essere specificati un pattern o un attributo tipo | |
54 | +javax.faces.converter.DoubleConverter.DOUBLE=deve essere un numero | |
55 | +javax.faces.converter.DoubleConverter.DOUBLE_detail=il valore deve essere un numero compreso tra 4.9E-324 e 1.7976931348623157E308 | |
56 | +javax.faces.converter.EnumConverter.ENUM=il valore deve essere convertibile in una enum | |
57 | +javax.faces.converter.EnumConverter.ENUM_detail=il valore deve essere convertibile in una enum o da enum che contiene la costante {1} | |
58 | +javax.faces.converter.EnumConverter.ENUM_NO_CLASS=il valore deve essere convertibile in una enum o da enum, ma non \u00E8 stata fornita nessuna classe enum | |
59 | +javax.faces.converter.EnumConverter.ENUM_NO_CLASS_detail=il valore deve essere convertibile in una enum o da enum, ma non \u00E8 stata fornita nessuna classe enum | |
60 | +javax.faces.converter.FloatConverter.FLOAT=deve essere un numero | |
61 | +javax.faces.converter.FloatConverter.FLOAT_detail=il valore deve essere un numero compreso tra 1.4E-45 e 3.4028235E38 | |
62 | +javax.faces.converter.IntegerConverter.INTEGER=deve essere un numero intero | |
63 | +javax.faces.converter.IntegerConverter.INTEGER_detail=il valore deve essere un numero intero compreso tra -2147483648 e 2147483647 | |
64 | +javax.faces.converter.LongConverter.LONG=deve essere un numero intero | |
65 | +javax.faces.converter.LongConverter.LONG_detail=il valore deve essere un numero intero compreso tra -9223372036854775808 e 9223372036854775807 | |
66 | +javax.faces.converter.NumberConverter.CURRENCY=il valore deve essere una valuta | |
67 | +javax.faces.converter.NumberConverter.CURRENCY_detail=il valore deve essere una valuta, es. {1} | |
68 | +javax.faces.converter.NumberConverter.PERCENT=il valore deve essere una percentuale | |
69 | +javax.faces.converter.NumberConverter.PERCENT_detail=il valore deve essere una percentuale, es. {1} | |
70 | +javax.faces.converter.NumberConverter.NUMBER=deve essere un numero | |
71 | +javax.faces.converter.NumberConverter.NUMBER_detail=deve essere un numero | |
72 | +javax.faces.converter.NumberConverter.PATTERN=deve essere un numero | |
73 | +javax.faces.converter.NumberConverter.PATTERN_detail=deve essere un numero | |
74 | +javax.faces.converter.ShortConverter.SHORT=deve essere un numero intero | |
75 | +javax.faces.converter.ShortConverter.SHORT_detail=il valore deve essere un numero intero compreso -32768 e 32767 | |
76 | + | |
77 | +javax.faces.validator.DoubleRangeValidator.MAXIMUM=il valore deve essere minore o uguale a {0} | |
78 | +javax.faces.validator.DoubleRangeValidator.MINIMUM=il valore deve essere maggiore o uguale a {0} | |
79 | +javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE=il valore deve essere compreso tra {0} e {1} | |
80 | +javax.faces.validator.DoubleRangeValidator.TYPE=il valore non \u00E8 del tipo corretto | |
81 | +javax.faces.validator.LengthValidator.MAXIMUM=il valore deve essere inferiore o uguale {0} caratteri | |
82 | +javax.faces.validator.LengthValidator.MINIMUM=il valore deve essere superiore o uguale {0} caratteri | |
83 | +javax.faces.validator.LongRangeValidator.MAXIMUM=il valore deve essere minore o uguale a {0} | |
84 | +javax.faces.validator.LongRangeValidator.MINIMUM=il valore deve essere superiore o uguale a {0} | |
85 | +javax.faces.validator.LongRangeValidator.NOT_IN_RANGE=il valore deve essere compreso tra {0} e {1} | |
86 | +javax.faces.validator.LongRangeValidator.TYPE=il valore non \u00E8 del tipo corretto | |
87 | + | |
88 | +javax.faces.validator.NOT_IN_RANGE=il valore deve essere compreso tra {0} e {1} | |
89 | +javax.faces.converter.STRING=il valore non pu\u00F2 essere convertito a stringa | |
90 | + | ... | ... |
resources/messages_tr.properties
0 → 100644
1 | +up=\u2191 | |
2 | +down=\u2193 | |
3 | +left=\u2039 | |
4 | +right=\u203a | |
5 | + | |
6 | +validator.assertFalse=do\u011frulanamad\u0131 | |
7 | +validator.assertTrue=do\u011frulanamad\u0131 | |
8 | +validator.future=gelecek bir tarih olmal\u0131d\u0131r | |
9 | +validator.length=girilen de\u011ferin uzunlu\u011fu {min} ile {max} aras\u0131nda olmal\u0131d\u0131r | |
10 | +validator.max=girilen de\u011fer {value} ya da daha k\u00fc\u00e7\u00fck olmal\u0131d\u0131r | |
11 | +validator.min=girilen de\u011fer {value} ya da daha b\u00fcy\u00fck olmal\u0131d\u0131r | |
12 | +validator.notNull=bir de\u011fer girilmesi gereklidir | |
13 | +validator.past=ge\u00e7mi\u015f bir tarih girilmelidir | |
14 | +validator.pattern=girilen de\u011fer "{regex}" tan\u0131mlamas\u0131na uymal\u0131d\u0131r | |
15 | +validator.range=girilen de\u011ferin b\u00fcy\u00fckl\u00fc\u011f\u00fc {min} ile {max} aras\u0131nda olmal\u0131d\u0131r | |
16 | +validator.size=girilen de\u011ferin boyut {min} ile {max} aras\u0131nda olmal\u0131d\u0131r | |
17 | +validator.email=girilen de\u011fer e-posta adresi format\u0131na uygun olmal\u0131d\u0131r | |
18 | + | |
19 | +org.jboss.seam.loginFailed=Oturum a\u00e7\u0131lamad\u0131 | |
20 | +org.jboss.seam.loginSuccessful=Ho\u015fgeldiniz, #0! | |
21 | + | |
22 | +org.jboss.seam.TransactionFailed=\u0130\u015flem tamamlanamad\u0131 | |
23 | +org.jboss.seam.NoConversation=Konu\u015fma sonland\u0131, zaman a\u015f\u0131m\u0131na u\u011frad\u0131 ya da ba\u015fka bir talebi i\u015fliyordu | |
24 | +org.jboss.seam.IllegalNavigation=Ge\u00e7ersiz y\u00f6nleme(navigasyon) | |
25 | +org.jboss.seam.ProcessEnded=#0 s\u00fcreci sonlanm\u0131\u015f | |
26 | +org.jboss.seam.ProcessNotFound=#0 s\u00fcreci bulunamad\u0131 | |
27 | +org.jboss.seam.TaskEnded=#0 g\u00f6revi sonlanm\u0131\u015f | |
28 | +org.jboss.seam.TaskNotFound=#0 g\u00f6revi bulunamad\u0131 | |
29 | +org.jboss.seam.NotLoggedIn=L\u00fctfen \u00f6ncelikle oturum a\u00e7\u0131n | |
30 | + | |
31 | +javax.faces.component.UIInput.CONVERSION=girilen de\u011fer, beklenen tipe d\u00f6n\u00fc\u015ft\u00fcr\u00fclemedi | |
32 | +javax.faces.component.UIInput.REQUIRED=bir de\u011fer girilmesi gereklidir | |
33 | +javax.faces.component.UIInput.UPDATE=talebiniz i\u015flenirken bir hata olu\u015ftu | |
34 | +javax.faces.component.UISelectOne.INVALID=ge\u00e7erli bir de\u011fer girilmelidir | |
35 | +javax.faces.component.UISelectMany.INVALID=ge\u00e7erli bir de\u011fer girilmelidir | |
36 | + | |
37 | +javax.faces.converter.BigDecimalConverter.DECIMAL=bir say\u0131 girilmelidir | |
38 | +javax.faces.converter.BigDecimalConverter.DECIMAL_detail=girilen de\u011fer, s\u0131f\u0131r ya da daha fazla basamak i\u00e7eren, ondal\u0131k ayrac\u0131 ve ondal\u0131k basamak i\u00e7erebilen i\u015faretli bir ondal\u0131k say\u0131 olmal\u0131d\u0131r, \u00f6rn. {1} | |
39 | +javax.faces.converter.BigIntegerConverter.BIGINTEGER=bir tamsay\u0131 girilmelidir | |
40 | +javax.faces.converter.BigIntegerConverter.BIGINTEGER_detail=girilen de\u011fer bir ya da daha fazla basamak i\u00e7eren bir tamsay\u0131 olmal\u0131d\u0131r | |
41 | +javax.faces.converter.BooleanConverter.BOOLEAN=girilen de\u011fer true ya da false olmal\u0131d\u0131r | |
42 | +javax.faces.converter.BooleanConverter.BOOLEAN_detail=girilen de\u011fer true ya da false olmal\u0131d\u0131r (true olmayan her de\u011fer false olarak de\u011ferlendirilecektir) | |
43 | +javax.faces.converter.ByteConverter.BYTE=girilen de\u011fer 0 ile 255 aras\u0131nda bir say\u0131 olmal\u0131d\u0131r | |
44 | +javax.faces.converter.ByteConverter.BYTE_detail=girilen de\u011fer 0 ile 255 aras\u0131nda bir say\u0131 olmal\u0131d\u0131r | |
45 | +javax.faces.converter.CharacterConverter.CHARACTER=girilen de\u011fer bir karakter olmal\u0131d\u0131r | |
46 | +javax.faces.converter.CharacterConverter.CHARACTER_detail=ge\u00e7erli bir ASCII karakter girilmelidir | |
47 | +javax.faces.converter.DateTimeConverter.DATE=girilen de\u011fer bir tarih olmal\u0131d\u0131r | |
48 | +javax.faces.converter.DateTimeConverter.DATE_detail=girilen de\u011fer bir tarih olmal\u0131d\u0131r, \u00f6rn. {1} | |
49 | +javax.faces.converter.DateTimeConverter.TIME=girilen de\u011fer bir zaman olmal\u0131d\u0131r | |
50 | +javax.faces.converter.DateTimeConverter.TIME_detail=girilen de\u011fer bir zaman olmal\u0131d\u0131r, \u00f6rn. {1} | |
51 | +javax.faces.converter.DateTimeConverter.DATETIME=girilen de\u011fer tarih ve zaman i\u00e7ermelidir | |
52 | +javax.faces.converter.DateTimeConverter.DATETIME_detail=girilen de\u011fer tarih ve zaman i\u00e7ermelidir, \u00f6rn. {1} | |
53 | +javax.faces.converter.DateTimeConverter.PATTERN_TYPE=girilen de\u011feri d\u00f6n\u00fc\u015ft\u00fcrebilmek i\u00e7in bir desen(pattern) ya da tip \u00f6zniteli\u011fi(attribute) tan\u0131mlanmal\u0131d\u0131r. | |
54 | +javax.faces.converter.DoubleConverter.DOUBLE=bir say\u0131 girilmelidir | |
55 | +javax.faces.converter.DoubleConverter.DOUBLE_detail=4.9E-324 ile 1.7976931348623157E308 aras\u0131nda bir say\u0131 girilmelidir | |
56 | +javax.faces.converter.EnumConverter.ENUM=girilen de\u011fer enum tipine d\u00f6n\u00fc\u015ft\u00fcr\u00fclebilmelidir | |
57 | +javax.faces.converter.EnumConverter.ENUM_detail=girilen de\u011fer sabit i\u00e7eren bir enum tipinden enum tipine d\u00f6n\u00fc\u015ft\u00fcr\u00fclebilmelidir {1} | |
58 | +javax.faces.converter.EnumConverter.ENUM_NO_CLASS=girilen de\u011fer enum tipinden enum tipine d\u00f6n\u00fc\u015ft\u00fcr\u00fclebilmelidir. Ancak enum s\u0131n\u0131f\u0131(class) bulunamad\u0131 | |
59 | +javax.faces.converter.EnumConverter.ENUM_NO_CLASS_detail=girilen de\u011fer enum tipinden enum tipine d\u00f6n\u00fc\u015ft\u00fcr\u00fclebilmelidir. Ancak enum s\u0131n\u0131f\u0131(class) bulunamad\u0131 | |
60 | +javax.faces.converter.FloatConverter.FLOAT=bir say\u0131 girilmelidir | |
61 | +javax.faces.converter.FloatConverter.FLOAT_detail=1.4E-45 ile 3.4028235E38 aras\u0131nda bir say\u0131 girilmelidir | |
62 | +javax.faces.converter.IntegerConverter.INTEGER=bir tamsay\u0131 girilmelidir | |
63 | +javax.faces.converter.IntegerConverter.INTEGER_detail=-2147483648 ile 2147483647 aras\u0131nda bir tamsay\u0131 girilmelidir | |
64 | +javax.faces.converter.LongConverter.LONG=bir tamsay\u0131 girilmelidir | |
65 | +javax.faces.converter.LongConverter.LONG_detail=-9223372036854775808 ile 9223372036854775807 aras\u0131nda bir tamsay\u0131 girilmelidir | |
66 | +javax.faces.converter.NumberConverter.CURRENCY=para birimi tipinden bir de\u011fer girilmelidir | |
67 | +javax.faces.converter.NumberConverter.CURRENCY_detail=para birimi tipinden bir de\u011fer girilmelidir, \u00f6rn. {1} | |
68 | +javax.faces.converter.NumberConverter.PERCENT=y\u00fczdelik tipinden bir de\u011fer girilmelidir | |
69 | +javax.faces.converter.NumberConverter.PERCENT_detail=y\u00fczdelik tipinden bir de\u011fer girilmelidir, \u00f6rn. {1} | |
70 | +javax.faces.converter.NumberConverter.NUMBER=bir say\u0131 girilmelidir | |
71 | +javax.faces.converter.NumberConverter.NUMBER_detail=bir say\u0131 girilmelidir | |
72 | +javax.faces.converter.NumberConverter.PATTERN=bir say\u0131 girilmelidir | |
73 | +javax.faces.converter.NumberConverter.PATTERN_detail=bir say\u0131 girilmelidir | |
74 | +javax.faces.converter.ShortConverter.SHORT=bir tamsay\u0131 girilmelidir | |
75 | +javax.faces.converter.ShortConverter.SHORT_detail=-32768 ile 32767 aras\u0131nda bir tamsay\u0131 girilmelidir | |
76 | + | |
77 | +javax.faces.validator.DoubleRangeValidator.MAXIMUM=girilen de\u011fer {0} ya da daha k\u00fc\u00e7\u00fck olmal\u0131d\u0131r | |
78 | +javax.faces.validator.DoubleRangeValidator.MINIMUM=girilen de\u011fer {0} ya da daha b\u00fcy\u00fck olmal\u0131d\u0131r | |
79 | +javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE=girilen de\u011fer {0} ile {1} aras\u0131nda olmal\u0131d\u0131r | |
80 | +javax.faces.validator.DoubleRangeValidator.TYPE=girilen de\u011ferin tipi yanl\u0131\u015f | |
81 | +javax.faces.validator.LengthValidator.MAXIMUM=girilen de\u011fer {0} ya da daha az karakter i\u00e7ermelidir | |
82 | +javax.faces.validator.LengthValidator.MINIMUM=girilen de\u011fer {0} ya da fazla karakter i\u00e7ermelidir | |
83 | +javax.faces.validator.LongRangeValidator.MAXIMUM=girilen de\u011fer {0} ya da daha k\u00fc\u00e7\u00fck olmal\u0131d\u0131r | |
84 | +javax.faces.validator.LongRangeValidator.MINIMUM=girilen de\u011fer {0} ya da daha b\u00fcy\u00fck olmal\u0131d\u0131r | |
85 | +javax.faces.validator.LongRangeValidator.NOT_IN_RANGE=girilen de\u011fer {0} ile {1} aral\u0131\u011f\u0131nda olmal\u0131d\u0131r | |
86 | +javax.faces.validator.LongRangeValidator.TYPE=yanl\u0131\u015f tipte bir de\u011fer girildi | |
87 | + | |
88 | +javax.faces.validator.NOT_IN_RANGE=girilen de\u011fer {0} ile {1} aral\u0131\u011f\u0131nda olmal\u0131d\u0131r | |
89 | +javax.faces.converter.STRING=girilen de\u011fer bir dizgiye(string) d\u00f6n\u00fc\u015ft\u00fcr\u00fclemedi | |
90 | + | ... | ... |
resources/seam-gen.reveng.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!DOCTYPE hibernate-reverse-engineering SYSTEM "http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd" > | |
3 | +<hibernate-reverse-engineering> | |
4 | + | |
5 | + <!-- Use this file to customize the generation of JPA entities from database | |
6 | + tables performed either by `seam generate' or the Generate Entities task | |
7 | + in JBoss Tools. You can find detailed instructions on controlling | |
8 | + reverse engineering in the JBoss Tools reference documentation: | |
9 | + http://docs.jboss.org/tools/3.0.0.Beta1/en/hibernatetools/html/index.html | |
10 | + --> | |
11 | + | |
12 | + <!-- Uncomment the next line if you want to begin by excluding all tables, | |
13 | + then selectively including tables --> | |
14 | + <!--<table-filter match-name="*.*" exclude="true"/>--> | |
15 | + | |
16 | + <!-- Uncomment one of the next two lines to include or exclude a single table --> | |
17 | + <!--<table-filter match-name="TABLE_NAME" exclude="true"/>--> | |
18 | + <!--<table-filter match-name="TABLE_NAME" exclude="false"/>--> | |
19 | + | |
20 | + <!-- An example of a mapping customization --> | |
21 | + <!-- | |
22 | + <table name="TABLE_PREFIX_BILL" class="org.example.model.Bill"> | |
23 | + <meta attribute="class-code"> | |
24 | +// Code appended to the end of the generated class | |
25 | +public float calculateTotal() { | |
26 | + return this.rate * this.hours; | |
27 | +} | |
28 | + </meta/> | |
29 | + <column name="BILL_ID" property="id" type="java.lang.Long"/> | |
30 | + <column name="RTE" property="rate"/> | |
31 | + <column name="HRS" property="hours"/> | |
32 | + </table> | |
33 | + --> | |
34 | + | |
35 | +</hibernate-reverse-engineering> | ... | ... |
resources/seam.properties
0 → 100644
resources/seamTestInAction-dev-ds.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | + | |
3 | +<!DOCTYPE datasources | |
4 | + PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN" | |
5 | + "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd"> | |
6 | + | |
7 | +<datasources> | |
8 | + | |
9 | + <local-tx-datasource> | |
10 | + <jndi-name>seamTestInActionDatasource</jndi-name> | |
11 | + <connection-url>jdbc:hsqldb:.</connection-url> | |
12 | + <driver-class>org.hsqldb.jdbcDriver</driver-class> | |
13 | + <user-name>sa</user-name> | |
14 | + <password></password> | |
15 | +<!-- | |
16 | + <exception-sorter-class-name> | |
17 | + org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter | |
18 | + </exception-sorter-class-name> | |
19 | + <metadata> | |
20 | + <type-mapping>mySQL</type-mapping> | |
21 | + </metadata> | |
22 | +--> | |
23 | + </local-tx-datasource> | |
24 | + | |
25 | +</datasources> | |
26 | + | ... | ... |
resources/seamTestInAction-prod-ds.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | + | |
3 | +<!DOCTYPE datasources | |
4 | + PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN" | |
5 | + "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd"> | |
6 | + | |
7 | +<datasources> | |
8 | + | |
9 | + <local-tx-datasource> | |
10 | + <jndi-name>seamTestInActionDatasource</jndi-name> | |
11 | + <connection-url>jdbc:hsqldb:.</connection-url> | |
12 | + <driver-class>org.hsqldb.jdbcDriver</driver-class> | |
13 | + <user-name>sa</user-name> | |
14 | + <password></password> | |
15 | +<!-- | |
16 | + <exception-sorter-class-name> | |
17 | + org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter | |
18 | + </exception-sorter-class-name> | |
19 | + <metadata> | |
20 | + <type-mapping>mySQL</type-mapping> | |
21 | + </metadata> | |
22 | +--> | |
23 | + </local-tx-datasource> | |
24 | + | |
25 | +</datasources> | |
26 | + | ... | ... |
resources/security.drl
0 → 100644
seam-gen.properties
0 → 100644
1 | +#Generated by seam setup | |
2 | +#Wed Sep 23 11:44:22 CEST 2009 | |
3 | +hibernate.connection.password= | |
4 | +workspace.home=/home/bernard/projects | |
5 | +model.package=pl.labno.bernard.seamTestInAction | |
6 | +driver.jar=../lib/hsqldb.jar | |
7 | +action.package=pl.labno.bernard.seamTestInAction | |
8 | +test.package=pl.labno.bernard.seamTestInAction.test | |
9 | +database.type=hsql | |
10 | +richfaces.skin=emeraldTown | |
11 | +hibernate.default_catalog.null= | |
12 | +hibernate.default_schema.null= | |
13 | +database.drop=y | |
14 | +project.name=seamTestInAction | |
15 | +hibernate.connection.username=sa | |
16 | +hibernate.connection.driver_class=org.hsqldb.jdbcDriver | |
17 | +hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider | |
18 | +project.type=war | |
19 | +icefaces.home= | |
20 | +database.exists=n | |
21 | +jboss.home=/home/bernard/jboss-4.2.2.GA | |
22 | +hibernate.dialect=org.hibernate.dialect.HSQLDialect | |
23 | +hibernate.connection.url=jdbc\:hsqldb\:. | |
24 | +icefaces=n | ... | ... |
seamTestInAction.ids
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<component name="dataSourceStorage"> | |
3 | + <DataSource DataSourceSourceName="LOCAL"> | |
4 | + <option name="DRIVER_CLASS" value="org.hsqldb.jdbcDriver" /> | |
5 | + <option name="DATABASE_URL" value="jdbc:hsqldb:." /> | |
6 | + <option name="DRIVER_PATH" /> | |
7 | + <option name="DATBASE_USERNAME" value="sa" /> | |
8 | + <option name="ENCODED_DATABASE_PASSWORD" value="" /> | |
9 | + <option name="DEFAULT_SCHEMA_NAME" /> | |
10 | + <option name="TABLE_PATTERN" value="" /> | |
11 | + <option name="UUID" value="86c824fb-f41b-4fd1-986c-be634e7b9cfc" /> | |
12 | + <option name="NAME" value="seamTestInActionDatasource" /> | |
13 | + <option name="DATABASE_PRODUCT_NAME" /> | |
14 | + <option name="DATABASE_PRODUCT_VERSION" /> | |
15 | + <libraries> | |
16 | + <library> | |
17 | + <url>jar:///home/bernard/projects/seamTestInAction/lib/hsqldb.jar!/</url> | |
18 | + </library> | |
19 | + </libraries> | |
20 | + </DataSource> | |
21 | +</component> | |
22 | + | ... | ... |
seamTestInAction.iml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<module relativePaths="true" type="JAVA_MODULE" version="4"> | |
3 | + <component name="FacetManager"> | |
4 | + <facet type="web" name="Web"> | |
5 | + <configuration> | |
6 | + <descriptors> | |
7 | + <deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/resources/WEB-INF/web.xml" optional="false" version="2.5" /> | |
8 | + </descriptors> | |
9 | + <webroots> | |
10 | + <root url="file://$MODULE_DIR$/view" relative="/" /> | |
11 | + </webroots> | |
12 | + <sourceRoots> | |
13 | + <root url="file://$MODULE_DIR$/src/hot" /> | |
14 | + <root url="file://$MODULE_DIR$/src/main" /> | |
15 | + </sourceRoots> | |
16 | + <building> | |
17 | + <setting name="EXPLODED_URL" value="file://" /> | |
18 | + <setting name="EXPLODED_ENABLED" value="false" /> | |
19 | + <setting name="JAR_URL" value="file://" /> | |
20 | + <setting name="JAR_ENABLED" value="false" /> | |
21 | + <setting name="EXCLUDE_EXPLODED_DIRECTORY" value="true" /> | |
22 | + </building> | |
23 | + <packaging> | |
24 | + <containerElement type="module" name="seamTestInAction"> | |
25 | + <attribute name="method" value="1" /> | |
26 | + <attribute name="URI" value="/WEB-INF/classes" /> | |
27 | + </containerElement> | |
28 | + </packaging> | |
29 | + </configuration> | |
30 | + <facet type="jsf" name="JSF"> | |
31 | + <configuration /> | |
32 | + </facet> | |
33 | + </facet> | |
34 | + <facet type="jpa" name="JPA"> | |
35 | + <configuration> | |
36 | + <setting name="validation-enabled" value="true" /> | |
37 | + <setting name="provider-name" value="Hibernate" /> | |
38 | + <setting name="targe-facet" value="" /> | |
39 | + <datasource-mapping> | |
40 | + <factory-entry name="seamTestInAction" value="86c824fb-f41b-4fd1-986c-be634e7b9cfc" /> | |
41 | + </datasource-mapping> | |
42 | + <deploymentDescriptor name="persistence.xml" url="file://$MODULE_DIR$/resources/META-INF/persistence-dev-war.xml" optional="false" version="1.0" /> | |
43 | + </configuration> | |
44 | + </facet> | |
45 | + <facet type="Seam" name="Seam"> | |
46 | + <configuration /> | |
47 | + </facet> | |
48 | + </component> | |
49 | + <component name="NewModuleRootManager" inherit-compiler-output="false"> | |
50 | + <output url="file://$MODULE_DIR$/classes" /> | |
51 | + <output-test url="file://$MODULE_DIR$/test-build" /> | |
52 | + <exclude-output /> | |
53 | + <content url="file://$MODULE_DIR$"> | |
54 | + <sourceFolder url="file://$MODULE_DIR$/src/hot" isTestSource="false" /> | |
55 | + <sourceFolder url="file://$MODULE_DIR$/src/main" isTestSource="false" /> | |
56 | + <sourceFolder url="file://$MODULE_DIR$/src/test" isTestSource="true" /> | |
57 | + <excludeFolder url="file://$MODULE_DIR$/bootstrap" /> | |
58 | + <excludeFolder url="file://$MODULE_DIR$/dist" /> | |
59 | + <excludeFolder url="file://$MODULE_DIR$/exploded-archives" /> | |
60 | + <excludeFolder url="file://$MODULE_DIR$/nbproject" /> | |
61 | + </content> | |
62 | + <orderEntry type="sourceFolder" forTests="false" /> | |
63 | + <orderEntry type="inheritedJdk" /> | |
64 | + <orderEntry type="module-library"> | |
65 | + <library> | |
66 | + <CLASSES> | |
67 | + <root url="jar://$MODULE_DIR$/lib/test/thirdparty-all.jar!/" /> | |
68 | + </CLASSES> | |
69 | + <JAVADOC /> | |
70 | + <SOURCES /> | |
71 | + </library> | |
72 | + </orderEntry> | |
73 | + <orderEntry type="module-library"> | |
74 | + <library> | |
75 | + <CLASSES> | |
76 | + <root url="jar://$MODULE_DIR$/lib/test/jboss-embedded-all.jar!/" /> | |
77 | + </CLASSES> | |
78 | + <JAVADOC /> | |
79 | + <SOURCES /> | |
80 | + </library> | |
81 | + </orderEntry> | |
82 | + <orderEntry type="module-library"> | |
83 | + <library> | |
84 | + <CLASSES> | |
85 | + <root url="jar://$MODULE_DIR$/lib/test/hibernate-all.jar!/" /> | |
86 | + </CLASSES> | |
87 | + <JAVADOC /> | |
88 | + <SOURCES /> | |
89 | + </library> | |
90 | + </orderEntry> | |
91 | + <orderEntry type="module-library"> | |
92 | + <library> | |
93 | + <CLASSES> | |
94 | + <root url="file://$MODULE_DIR$/bootstrap" /> | |
95 | + </CLASSES> | |
96 | + <JAVADOC /> | |
97 | + <SOURCES /> | |
98 | + </library> | |
99 | + </orderEntry> | |
100 | + <orderEntry type="module-library"> | |
101 | + <library> | |
102 | + <CLASSES> | |
103 | + <root url="jar://$MODULE_DIR$/lib/hibernate-validator.jar!/" /> | |
104 | + </CLASSES> | |
105 | + <JAVADOC /> | |
106 | + <SOURCES /> | |
107 | + </library> | |
108 | + </orderEntry> | |
109 | + <orderEntry type="module-library"> | |
110 | + <library> | |
111 | + <CLASSES> | |
112 | + <root url="jar://$MODULE_DIR$/lib/hibernate.jar!/" /> | |
113 | + </CLASSES> | |
114 | + <JAVADOC /> | |
115 | + <SOURCES /> | |
116 | + </library> | |
117 | + </orderEntry> | |
118 | + <orderEntry type="module-library"> | |
119 | + <library> | |
120 | + <CLASSES> | |
121 | + <root url="jar://$MODULE_DIR$/lib/hibernate-annotations.jar!/" /> | |
122 | + </CLASSES> | |
123 | + <JAVADOC /> | |
124 | + <SOURCES /> | |
125 | + </library> | |
126 | + </orderEntry> | |
127 | + <orderEntry type="module-library"> | |
128 | + <library> | |
129 | + <CLASSES> | |
130 | + <root url="jar://$MODULE_DIR$/lib/hibernate-commons-annotations.jar!/" /> | |
131 | + </CLASSES> | |
132 | + <JAVADOC /> | |
133 | + <SOURCES /> | |
134 | + </library> | |
135 | + </orderEntry> | |
136 | + <orderEntry type="module-library"> | |
137 | + <library> | |
138 | + <CLASSES> | |
139 | + <root url="jar://$MODULE_DIR$/lib/hibernate-entitymanager.jar!/" /> | |
140 | + </CLASSES> | |
141 | + <JAVADOC /> | |
142 | + <SOURCES /> | |
143 | + </library> | |
144 | + </orderEntry> | |
145 | + <orderEntry type="module-library"> | |
146 | + <library> | |
147 | + <CLASSES> | |
148 | + <root url="jar://$MODULE_DIR$/lib/jboss-seam.jar!/" /> | |
149 | + </CLASSES> | |
150 | + <JAVADOC /> | |
151 | + <SOURCES> | |
152 | + <root url="jar://$MODULE_DIR$/lib/src/jboss-seam-sources.jar!/" /> | |
153 | + </SOURCES> | |
154 | + </library> | |
155 | + </orderEntry> | |
156 | + <orderEntry type="module-library"> | |
157 | + <library> | |
158 | + <CLASSES> | |
159 | + <root url="jar://$MODULE_DIR$/lib/jboss-seam-ui.jar!/" /> | |
160 | + </CLASSES> | |
161 | + <JAVADOC /> | |
162 | + <SOURCES> | |
163 | + <root url="jar://$MODULE_DIR$/lib/src/jboss-seam-ui-sources.jar!/" /> | |
164 | + </SOURCES> | |
165 | + </library> | |
166 | + </orderEntry> | |
167 | + <orderEntry type="module-library"> | |
168 | + <library> | |
169 | + <CLASSES> | |
170 | + <root url="jar://$MODULE_DIR$/lib/jboss-seam-debug.jar!/" /> | |
171 | + </CLASSES> | |
172 | + <JAVADOC /> | |
173 | + <SOURCES /> | |
174 | + </library> | |
175 | + </orderEntry> | |
176 | + <orderEntry type="module-library"> | |
177 | + <library> | |
178 | + <CLASSES> | |
179 | + <root url="jar://$MODULE_DIR$/lib/jboss-cache.jar!/" /> | |
180 | + </CLASSES> | |
181 | + <JAVADOC /> | |
182 | + <SOURCES /> | |
183 | + </library> | |
184 | + </orderEntry> | |
185 | + <orderEntry type="module-library"> | |
186 | + <library> | |
187 | + <CLASSES> | |
188 | + <root url="jar://$MODULE_DIR$/lib/jbpm-jpdl.jar!/" /> | |
189 | + </CLASSES> | |
190 | + <JAVADOC /> | |
191 | + <SOURCES /> | |
192 | + </library> | |
193 | + </orderEntry> | |
194 | + <orderEntry type="module-library"> | |
195 | + <library> | |
196 | + <CLASSES> | |
197 | + <root url="jar://$MODULE_DIR$/lib/antlr.jar!/" /> | |
198 | + </CLASSES> | |
199 | + <JAVADOC /> | |
200 | + <SOURCES /> | |
201 | + </library> | |
202 | + </orderEntry> | |
203 | + <orderEntry type="module-library"> | |
204 | + <library> | |
205 | + <CLASSES> | |
206 | + <root url="jar://$MODULE_DIR$/lib/jgroups.jar!/" /> | |
207 | + </CLASSES> | |
208 | + <JAVADOC /> | |
209 | + <SOURCES /> | |
210 | + </library> | |
211 | + </orderEntry> | |
212 | + <orderEntry type="module-library"> | |
213 | + <library> | |
214 | + <CLASSES> | |
215 | + <root url="jar://$MODULE_DIR$/lib/jsf-facelets.jar!/" /> | |
216 | + </CLASSES> | |
217 | + <JAVADOC /> | |
218 | + <SOURCES /> | |
219 | + </library> | |
220 | + </orderEntry> | |
221 | + <orderEntry type="module-library"> | |
222 | + <library> | |
223 | + <CLASSES> | |
224 | + <root url="jar://$MODULE_DIR$/lib/jsf-api.jar!/" /> | |
225 | + </CLASSES> | |
226 | + <JAVADOC /> | |
227 | + <SOURCES /> | |
228 | + </library> | |
229 | + </orderEntry> | |
230 | + <orderEntry type="module-library"> | |
231 | + <library> | |
232 | + <CLASSES> | |
233 | + <root url="jar://$MODULE_DIR$/lib/servlet-api.jar!/" /> | |
234 | + </CLASSES> | |
235 | + <JAVADOC /> | |
236 | + <SOURCES /> | |
237 | + </library> | |
238 | + </orderEntry> | |
239 | + <orderEntry type="module-library"> | |
240 | + <library> | |
241 | + <CLASSES> | |
242 | + <root url="jar://$MODULE_DIR$/lib/testng.jar!/" /> | |
243 | + </CLASSES> | |
244 | + <JAVADOC /> | |
245 | + <SOURCES /> | |
246 | + </library> | |
247 | + </orderEntry> | |
248 | + <orderEntry type="module-library"> | |
249 | + <library> | |
250 | + <CLASSES> | |
251 | + <root url="jar://$MODULE_DIR$/lib/jboss-el.jar!/" /> | |
252 | + </CLASSES> | |
253 | + <JAVADOC /> | |
254 | + <SOURCES /> | |
255 | + </library> | |
256 | + </orderEntry> | |
257 | + <orderEntry type="module-library"> | |
258 | + <library> | |
259 | + <CLASSES> | |
260 | + <root url="jar://$MODULE_DIR$/lib/el-api.jar!/" /> | |
261 | + </CLASSES> | |
262 | + <JAVADOC /> | |
263 | + <SOURCES /> | |
264 | + </library> | |
265 | + </orderEntry> | |
266 | + <orderEntry type="module-library"> | |
267 | + <library> | |
268 | + <CLASSES> | |
269 | + <root url="jar://$MODULE_DIR$/lib/mvel14.jar!/" /> | |
270 | + </CLASSES> | |
271 | + <JAVADOC /> | |
272 | + <SOURCES /> | |
273 | + </library> | |
274 | + </orderEntry> | |
275 | + <orderEntry type="module-library"> | |
276 | + <library> | |
277 | + <CLASSES> | |
278 | + <root url="jar://$MODULE_DIR$/lib/drools-core.jar!/" /> | |
279 | + </CLASSES> | |
280 | + <JAVADOC /> | |
281 | + <SOURCES /> | |
282 | + </library> | |
283 | + </orderEntry> | |
284 | + <orderEntry type="module-library"> | |
285 | + <library> | |
286 | + <CLASSES> | |
287 | + <root url="jar://$MODULE_DIR$/lib/drools-compiler.jar!/" /> | |
288 | + </CLASSES> | |
289 | + <JAVADOC /> | |
290 | + <SOURCES /> | |
291 | + </library> | |
292 | + </orderEntry> | |
293 | + <orderEntry type="module-library"> | |
294 | + <library> | |
295 | + <CLASSES> | |
296 | + <root url="jar://$MODULE_DIR$/lib/janino.jar!/" /> | |
297 | + </CLASSES> | |
298 | + <JAVADOC /> | |
299 | + <SOURCES /> | |
300 | + </library> | |
301 | + </orderEntry> | |
302 | + <orderEntry type="module-library"> | |
303 | + <library> | |
304 | + <CLASSES> | |
305 | + <root url="jar://$MODULE_DIR$/lib/antlr-runtime.jar!/" /> | |
306 | + </CLASSES> | |
307 | + <JAVADOC /> | |
308 | + <SOURCES /> | |
309 | + </library> | |
310 | + </orderEntry> | |
311 | + <orderEntry type="module-library"> | |
312 | + <library> | |
313 | + <CLASSES> | |
314 | + <root url="jar://$MODULE_DIR$/lib/mail.jar!/" /> | |
315 | + </CLASSES> | |
316 | + <JAVADOC /> | |
317 | + <SOURCES /> | |
318 | + </library> | |
319 | + </orderEntry> | |
320 | + <orderEntry type="module-library"> | |
321 | + <library> | |
322 | + <CLASSES> | |
323 | + <root url="jar://$MODULE_DIR$/lib/persistence-api.jar!/" /> | |
324 | + </CLASSES> | |
325 | + <JAVADOC /> | |
326 | + <SOURCES /> | |
327 | + </library> | |
328 | + </orderEntry> | |
329 | + <orderEntry type="module-library"> | |
330 | + <library> | |
331 | + <CLASSES> | |
332 | + <root url="jar://$MODULE_DIR$/lib/ejb-api.jar!/" /> | |
333 | + </CLASSES> | |
334 | + <JAVADOC /> | |
335 | + <SOURCES /> | |
336 | + </library> | |
337 | + </orderEntry> | |
338 | + <orderEntry type="module-library"> | |
339 | + <library> | |
340 | + <CLASSES> | |
341 | + <root url="jar://$MODULE_DIR$/lib/jsr250-api.jar!/" /> | |
342 | + </CLASSES> | |
343 | + <JAVADOC /> | |
344 | + <SOURCES /> | |
345 | + </library> | |
346 | + </orderEntry> | |
347 | + <orderEntry type="module-library"> | |
348 | + <library> | |
349 | + <CLASSES> | |
350 | + <root url="jar://$MODULE_DIR$/lib/jta.jar!/" /> | |
351 | + </CLASSES> | |
352 | + <JAVADOC /> | |
353 | + <SOURCES /> | |
354 | + </library> | |
355 | + </orderEntry> | |
356 | + <orderEntry type="module-library"> | |
357 | + <library> | |
358 | + <CLASSES> | |
359 | + <root url="jar://$MODULE_DIR$/lib/core.jar!/" /> | |
360 | + </CLASSES> | |
361 | + <JAVADOC /> | |
362 | + <SOURCES /> | |
363 | + </library> | |
364 | + </orderEntry> | |
365 | + <orderEntry type="module-library"> | |
366 | + <library> | |
367 | + <CLASSES> | |
368 | + <root url="jar://$MODULE_DIR$/lib/jboss-embedded-api.jar!/" /> | |
369 | + </CLASSES> | |
370 | + <JAVADOC /> | |
371 | + <SOURCES /> | |
372 | + </library> | |
373 | + </orderEntry> | |
374 | + <orderEntry type="module-library"> | |
375 | + <library> | |
376 | + <CLASSES> | |
377 | + <root url="jar://$MODULE_DIR$/lib/hibernate-search.jar!/" /> | |
378 | + </CLASSES> | |
379 | + <JAVADOC /> | |
380 | + <SOURCES /> | |
381 | + </library> | |
382 | + </orderEntry> | |
383 | + <orderEntry type="module-library"> | |
384 | + <library> | |
385 | + <CLASSES> | |
386 | + <root url="jar://$MODULE_DIR$/lib/richfaces-api.jar!/" /> | |
387 | + </CLASSES> | |
388 | + <JAVADOC /> | |
389 | + <SOURCES /> | |
390 | + </library> | |
391 | + </orderEntry> | |
392 | + <orderEntry type="module-library"> | |
393 | + <library> | |
394 | + <CLASSES> | |
395 | + <root url="jar://$MODULE_DIR$/lib/hsqldb.jar!/" /> | |
396 | + </CLASSES> | |
397 | + <JAVADOC /> | |
398 | + <SOURCES /> | |
399 | + </library> | |
400 | + </orderEntry> | |
401 | + <orderEntry type="module-library"> | |
402 | + <library> | |
403 | + <CLASSES> | |
404 | + <root url="jar://$MODULE_DIR$/lib/lucene-core.jar!/" /> | |
405 | + </CLASSES> | |
406 | + <JAVADOC /> | |
407 | + <SOURCES /> | |
408 | + </library> | |
409 | + </orderEntry> | |
410 | + <orderEntry type="module-library"> | |
411 | + <library> | |
412 | + <CLASSES> | |
413 | + <root url="jar://$MODULE_DIR$/lib/jsf-impl.jar!/" /> | |
414 | + </CLASSES> | |
415 | + <JAVADOC /> | |
416 | + <SOURCES /> | |
417 | + </library> | |
418 | + </orderEntry> | |
419 | + </component> | |
420 | +</module> | |
421 | + | ... | ... |
seamTestInAction.ipr
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<project relativePaths="true" version="4"> | |
3 | + <component name="AntConfiguration"> | |
4 | + <defaultAnt bundledAnt="true" /> | |
5 | + <buildFile url="file://$PROJECT_DIR$/build.xml"> | |
6 | + <additionalClassPath /> | |
7 | + <antReference projectDefault="true" /> | |
8 | + <customJdkName value="" /> | |
9 | + <maximumHeapSize value="128" /> | |
10 | + <maximumStackSize value="32" /> | |
11 | + <properties /> | |
12 | + <executeOn event="beforeRun" target="buildtest" runConfigurationType="TestNG" runConfigurationName="tagTest" /> | |
13 | + <executeOn event="beforeRun" target="restart" /> | |
14 | + <executeOn event="beforeRun" target="restart" runConfigurationType="JBossConfiguration" runConfigurationName="JBoss" /> | |
15 | + </buildFile> | |
16 | + </component> | |
17 | + <component name="BuildJarProjectSettings"> | |
18 | + <option name="BUILD_JARS_ON_MAKE" value="false" /> | |
19 | + </component> | |
20 | + <component name="CodeStyleSettingsManager"> | |
21 | + <option name="PER_PROJECT_SETTINGS" /> | |
22 | + <option name="USE_PER_PROJECT_SETTINGS" value="false" /> | |
23 | + </component> | |
24 | + <component name="CompilerConfiguration"> | |
25 | + <option name="DEFAULT_COMPILER" value="Javac" /> | |
26 | + <option name="DEPLOY_AFTER_MAKE" value="0" /> | |
27 | + <resourceExtensions> | |
28 | + <entry name=".+\.(properties|xml|html|dtd|tld)" /> | |
29 | + <entry name=".+\.(gif|png|jpeg|jpg)" /> | |
30 | + </resourceExtensions> | |
31 | + <wildcardResourcePatterns> | |
32 | + <entry name="?*.properties" /> | |
33 | + <entry name="?*.xml" /> | |
34 | + <entry name="?*.gif" /> | |
35 | + <entry name="?*.png" /> | |
36 | + <entry name="?*.jpeg" /> | |
37 | + <entry name="?*.jpg" /> | |
38 | + <entry name="?*.html" /> | |
39 | + <entry name="?*.dtd" /> | |
40 | + <entry name="?*.tld" /> | |
41 | + <entry name="?*.ftl" /> | |
42 | + </wildcardResourcePatterns> | |
43 | + </component> | |
44 | + <component name="DataSourceManagerImpl" compressed="false" /> | |
45 | + <component name="DependenciesAnalyzeManager"> | |
46 | + <option name="myForwardDirection" value="false" /> | |
47 | + </component> | |
48 | + <component name="DependencyValidationManager"> | |
49 | + <option name="SKIP_IMPORT_STATEMENTS" value="false" /> | |
50 | + </component> | |
51 | + <component name="EclipseCompilerSettings"> | |
52 | + <option name="DEBUGGING_INFO" value="true" /> | |
53 | + <option name="GENERATE_NO_WARNINGS" value="true" /> | |
54 | + <option name="DEPRECATION" value="false" /> | |
55 | + <option name="ADDITIONAL_OPTIONS_STRING" value="" /> | |
56 | + <option name="MAXIMUM_HEAP_SIZE" value="128" /> | |
57 | + </component> | |
58 | + <component name="EclipseEmbeddedCompilerSettings"> | |
59 | + <option name="DEBUGGING_INFO" value="true" /> | |
60 | + <option name="GENERATE_NO_WARNINGS" value="true" /> | |
61 | + <option name="DEPRECATION" value="false" /> | |
62 | + <option name="ADDITIONAL_OPTIONS_STRING" value="" /> | |
63 | + <option name="MAXIMUM_HEAP_SIZE" value="128" /> | |
64 | + </component> | |
65 | + <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" /> | |
66 | + <component name="EntryPointsManager"> | |
67 | + <entry_points version="2.0" /> | |
68 | + </component> | |
69 | + <component name="IdProvider" IDEtalkID="347211BFE083C9A041EFAF04DAA1B135" /> | |
70 | + <component name="InspectionProjectProfileManager"> | |
71 | + <option name="PROJECT_PROFILE" value="Project Default" /> | |
72 | + <option name="USE_PROJECT_LEVEL_SETTINGS" value="false" /> | |
73 | + <scopes /> | |
74 | + <profiles> | |
75 | + <profile version="1.0" is_locked="false"> | |
76 | + <option name="myName" value="Project Default" /> | |
77 | + <option name="myLocal" value="false" /> | |
78 | + </profile> | |
79 | + </profiles> | |
80 | + <list size="0" /> | |
81 | + </component> | |
82 | + <component name="JavacSettings"> | |
83 | + <option name="DEBUGGING_INFO" value="true" /> | |
84 | + <option name="GENERATE_NO_WARNINGS" value="false" /> | |
85 | + <option name="DEPRECATION" value="true" /> | |
86 | + <option name="ADDITIONAL_OPTIONS_STRING" value="" /> | |
87 | + <option name="MAXIMUM_HEAP_SIZE" value="128" /> | |
88 | + </component> | |
89 | + <component name="JavadocGenerationManager"> | |
90 | + <option name="OUTPUT_DIRECTORY" /> | |
91 | + <option name="OPTION_SCOPE" value="protected" /> | |
92 | + <option name="OPTION_HIERARCHY" value="true" /> | |
93 | + <option name="OPTION_NAVIGATOR" value="true" /> | |
94 | + <option name="OPTION_INDEX" value="true" /> | |
95 | + <option name="OPTION_SEPARATE_INDEX" value="true" /> | |
96 | + <option name="OPTION_DOCUMENT_TAG_USE" value="false" /> | |
97 | + <option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false" /> | |
98 | + <option name="OPTION_DOCUMENT_TAG_VERSION" value="false" /> | |
99 | + <option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="true" /> | |
100 | + <option name="OPTION_DEPRECATED_LIST" value="true" /> | |
101 | + <option name="OTHER_OPTIONS" value="" /> | |
102 | + <option name="HEAP_SIZE" /> | |
103 | + <option name="LOCALE" /> | |
104 | + <option name="OPEN_IN_BROWSER" value="true" /> | |
105 | + </component> | |
106 | + <component name="JikesSettings"> | |
107 | + <option name="JIKES_PATH" value="" /> | |
108 | + <option name="DEBUGGING_INFO" value="true" /> | |
109 | + <option name="DEPRECATION" value="true" /> | |
110 | + <option name="GENERATE_NO_WARNINGS" value="false" /> | |
111 | + <option name="IS_EMACS_ERRORS_MODE" value="true" /> | |
112 | + <option name="ADDITIONAL_OPTIONS_STRING" value="" /> | |
113 | + </component> | |
114 | + <component name="Palette2"> | |
115 | + <group name="Swing"> | |
116 | + <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
117 | + <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" /> | |
118 | + </item> | |
119 | + <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
120 | + <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" /> | |
121 | + </item> | |
122 | + <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
123 | + <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" /> | |
124 | + </item> | |
125 | + <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true"> | |
126 | + <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" /> | |
127 | + </item> | |
128 | + <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
129 | + <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" /> | |
130 | + <initial-values> | |
131 | + <property name="text" value="Button" /> | |
132 | + </initial-values> | |
133 | + </item> | |
134 | + <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
135 | + <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> | |
136 | + <initial-values> | |
137 | + <property name="text" value="RadioButton" /> | |
138 | + </initial-values> | |
139 | + </item> | |
140 | + <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
141 | + <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> | |
142 | + <initial-values> | |
143 | + <property name="text" value="CheckBox" /> | |
144 | + </initial-values> | |
145 | + </item> | |
146 | + <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
147 | + <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" /> | |
148 | + <initial-values> | |
149 | + <property name="text" value="Label" /> | |
150 | + </initial-values> | |
151 | + </item> | |
152 | + <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
153 | + <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> | |
154 | + <preferred-size width="150" height="-1" /> | |
155 | + </default-constraints> | |
156 | + </item> | |
157 | + <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
158 | + <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> | |
159 | + <preferred-size width="150" height="-1" /> | |
160 | + </default-constraints> | |
161 | + </item> | |
162 | + <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
163 | + <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> | |
164 | + <preferred-size width="150" height="-1" /> | |
165 | + </default-constraints> | |
166 | + </item> | |
167 | + <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
168 | + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> | |
169 | + <preferred-size width="150" height="50" /> | |
170 | + </default-constraints> | |
171 | + </item> | |
172 | + <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
173 | + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> | |
174 | + <preferred-size width="150" height="50" /> | |
175 | + </default-constraints> | |
176 | + </item> | |
177 | + <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
178 | + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> | |
179 | + <preferred-size width="150" height="50" /> | |
180 | + </default-constraints> | |
181 | + </item> | |
182 | + <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
183 | + <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" /> | |
184 | + </item> | |
185 | + <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
186 | + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> | |
187 | + <preferred-size width="150" height="50" /> | |
188 | + </default-constraints> | |
189 | + </item> | |
190 | + <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
191 | + <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3"> | |
192 | + <preferred-size width="150" height="50" /> | |
193 | + </default-constraints> | |
194 | + </item> | |
195 | + <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
196 | + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> | |
197 | + <preferred-size width="150" height="50" /> | |
198 | + </default-constraints> | |
199 | + </item> | |
200 | + <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
201 | + <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> | |
202 | + <preferred-size width="200" height="200" /> | |
203 | + </default-constraints> | |
204 | + </item> | |
205 | + <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
206 | + <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> | |
207 | + <preferred-size width="200" height="200" /> | |
208 | + </default-constraints> | |
209 | + </item> | |
210 | + <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
211 | + <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> | |
212 | + </item> | |
213 | + <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
214 | + <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> | |
215 | + </item> | |
216 | + <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
217 | + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" /> | |
218 | + </item> | |
219 | + <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
220 | + <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" /> | |
221 | + </item> | |
222 | + <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
223 | + <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1"> | |
224 | + <preferred-size width="-1" height="20" /> | |
225 | + </default-constraints> | |
226 | + </item> | |
227 | + <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
228 | + <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" /> | |
229 | + </item> | |
230 | + <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
231 | + <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" /> | |
232 | + </item> | |
233 | + </group> | |
234 | + </component> | |
235 | + <component name="ProjectDetails"> | |
236 | + <option name="projectName" value="seamTestInAction" /> | |
237 | + </component> | |
238 | + <component name="ProjectFileVersion" converted="true" /> | |
239 | + <component name="ProjectModuleManager"> | |
240 | + <modules> | |
241 | + <module fileurl="file://$PROJECT_DIR$/seamTestInAction.iml" filepath="$PROJECT_DIR$/seamTestInAction.iml" /> | |
242 | + </modules> | |
243 | + </component> | |
244 | + <component name="ProjectRootManager" version="2" languageLevel="JDK_1_5" assert-keyword="true" jdk-15="true" project-jdk-name="1.6" project-jdk-type="JavaSDK"> | |
245 | + <output url="file://$PROJECT_DIR$/classes" /> | |
246 | + </component> | |
247 | + <component name="RmicSettings"> | |
248 | + <option name="IS_EANABLED" value="false" /> | |
249 | + <option name="DEBUGGING_INFO" value="true" /> | |
250 | + <option name="GENERATE_NO_WARNINGS" value="false" /> | |
251 | + <option name="GENERATE_IIOP_STUBS" value="false" /> | |
252 | + <option name="ADDITIONAL_OPTIONS_STRING" value="" /> | |
253 | + </component> | |
254 | + <component name="SvnBranchConfigurationManager"> | |
255 | + <option name="myConfigurationMap"> | |
256 | + <map> | |
257 | + <entry key="$PROJECT_DIR$"> | |
258 | + <value> | |
259 | + <SvnBranchConfiguration> | |
260 | + <option name="trunkUrl" value="svn://ns354583.ovh.net/seamTestInAction" /> | |
261 | + </SvnBranchConfiguration> | |
262 | + </value> | |
263 | + </entry> | |
264 | + </map> | |
265 | + </option> | |
266 | + <option name="myVersion" value="124" /> | |
267 | + <option name="mySupportsUserInfoFilter" value="true" /> | |
268 | + </component> | |
269 | + <component name="VcsDirectoryMappings"> | |
270 | + <mapping directory="" vcs="svn" /> | |
271 | + </component> | |
272 | + <component name="WebServicesPlugin" addRequiredLibraries="true" /> | |
273 | +</project> | |
274 | + | ... | ... |
seamTestInAction.launch
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- Hibernate Console launch configuration --> | |
3 | +<launchConfiguration type="org.hibernate.eclipse.launch.ConsoleConfigurationLaunchConfigurationType"> | |
4 | +<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="seamTestInAction"/> | |
5 | +<stringAttribute key="org.hibernate.eclipse.launch.PROPERTY_FILE" value="/seamTestInAction/hibernate-console.properties"/> | |
6 | +<stringAttribute key="org.hibernate.eclipse.launch.CONFIGURATION_FACTORY" value="JPA"/> | |
7 | +</launchConfiguration> | ... | ... |
1 | +package pl.labno.bernard.seamTestInAction; | |
2 | + | |
3 | +import org.jboss.seam.annotations.In; | |
4 | +import org.jboss.seam.annotations.Logger; | |
5 | +import org.jboss.seam.annotations.Name; | |
6 | +import org.jboss.seam.log.Log; | |
7 | +import org.jboss.seam.security.Credentials; | |
8 | +import org.jboss.seam.security.Identity; | |
9 | + | |
10 | +@Name("authenticator") | |
11 | +public class Authenticator | |
12 | +{ | |
13 | + @Logger private Log log; | |
14 | + | |
15 | + @In Identity identity; | |
16 | + @In Credentials credentials; | |
17 | + | |
18 | + public boolean authenticate() | |
19 | + { | |
20 | + log.info("authenticating {0}", credentials.getUsername()); | |
21 | + if ("admin".equals(credentials.getUsername())) | |
22 | + { | |
23 | + identity.addRole("ADMIN"); | |
24 | + return true; | |
25 | + } else if("member".equals(credentials.getUsername())) { | |
26 | + identity.addRole("MEMBER"); | |
27 | + return true; | |
28 | + } | |
29 | + return false; | |
30 | + } | |
31 | + | |
32 | +} | ... | ... |
1 | +package pl.labno.bernard.seamTestInAction; | |
2 | + | |
3 | +import org.jboss.seam.annotations.Name; | |
4 | +import org.jboss.seam.annotations.security.Restrict; | |
5 | +import org.jboss.seam.framework.EntityHome; | |
6 | +import org.jboss.seam.framework.EntityNotFoundException; | |
7 | + | |
8 | +@Name("tagHome") | |
9 | +public class TagHome extends EntityHome<Tag> { | |
10 | + | |
11 | + private boolean editMode; | |
12 | + | |
13 | + @Restrict("#{s:hasRole('ADMIN')}") | |
14 | + @Override | |
15 | + public String persist() { | |
16 | + setEditMode(false); | |
17 | + return super.persist(); | |
18 | + } | |
19 | + | |
20 | + @Restrict("#{s:hasRole('ADMIN')}") | |
21 | + @Override | |
22 | + public String update() { | |
23 | + setEditMode(false); | |
24 | + return super.update(); | |
25 | + } | |
26 | + | |
27 | + @Restrict("#{s:hasRole('ADMIN')}") | |
28 | + @Override | |
29 | + public String remove() { | |
30 | + return super.remove(); | |
31 | + } | |
32 | + | |
33 | + public boolean isEditMode() { | |
34 | + return editMode; | |
35 | + } | |
36 | + | |
37 | + public void setEditMode(boolean editMode) { | |
38 | + this.editMode = editMode; | |
39 | + } | |
40 | + | |
41 | + public void edit() { | |
42 | + setEditMode(true); | |
43 | + } | |
44 | + | |
45 | + /** | |
46 | + * Invoke this method to switch to editMode. | |
47 | + */ | |
48 | + public void startCreateProcess() { | |
49 | + setEditMode(true); | |
50 | + clearInstance(); | |
51 | + } | |
52 | + | |
53 | + /** | |
54 | + * Used in tag.page.xml to see if identifier is valid. | |
55 | + * Identifier may be null only if user wants to add new tag | |
56 | + * so this component must be in edit mode. | |
57 | + */ | |
58 | + public void validate() { | |
59 | + if (getId() == null && !isEditMode()) { | |
60 | + throw new EntityNotFoundException(getId(), Tag.class); | |
61 | + } | |
62 | + getInstance(); | |
63 | + } | |
64 | + | |
65 | +} | ... | ... |
1 | +package pl.labno.bernard.seamTestInAction; | |
2 | + | |
3 | +import org.jboss.seam.annotations.Name; | |
4 | +import org.jboss.seam.framework.EntityQuery; | |
5 | + | |
6 | +@Name("tagList") | |
7 | +public class TagList extends EntityQuery<Tag> { | |
8 | + | |
9 | + public TagList() { | |
10 | + setEjbql("from Tag"); | |
11 | + setOrder("name"); | |
12 | + } | |
13 | + | |
14 | +} | ... | ... |
src/hot/seam.properties
0 → 100644
1 | +package pl.labno.bernard.seamTestInAction; | |
2 | + | |
3 | +import org.hibernate.validator.Length; | |
4 | +import org.hibernate.validator.NotNull; | |
5 | + | |
6 | +import javax.persistence.*; | |
7 | +import java.io.Serializable; | |
8 | + | |
9 | +@Entity | |
10 | +@Table(name = "TAG") | |
11 | +public class Tag implements Serializable { | |
12 | + | |
13 | + @Id | |
14 | + @GeneratedValue | |
15 | + @Column(name = "ID") | |
16 | + private Long id; | |
17 | + | |
18 | + @Version | |
19 | + @Column(name = "VERSION") | |
20 | + private Integer version; | |
21 | + | |
22 | + @NotNull | |
23 | + @Length(min = 1, max = 20) | |
24 | + @Column(name = "NAME") | |
25 | + private String name; | |
26 | + | |
27 | + | |
28 | + public Long getId() { | |
29 | + return id; | |
30 | + } | |
31 | + | |
32 | + public void setId(Long id) { | |
33 | + this.id = id; | |
34 | + } | |
35 | + | |
36 | + public Integer getVersion() { | |
37 | + return version; | |
38 | + } | |
39 | + | |
40 | + private void setVersion(Integer version) { | |
41 | + this.version = version; | |
42 | + } | |
43 | + | |
44 | + public String getName() { | |
45 | + return name; | |
46 | + } | |
47 | + | |
48 | + public void setName(String name) { | |
49 | + this.name = name; | |
50 | + } | |
51 | + | |
52 | +} | ... | ... |
src/main/seam.properties
0 → 100644
src/test/Test.xml
0 → 100644
1 | +package pl.labno.bernard.seamTestInAction.test; | |
2 | + | |
3 | +public class Config { | |
4 | + /** | |
5 | + * Credentials | |
6 | + */ | |
7 | + public static final String ADMIN_USERNAME = "admin"; | |
8 | + public static final String ADMIN_PASSWORD = "aaaaa"; | |
9 | + public static final String MEMBER_USERNAME = "member"; | |
10 | + public static final String MEMBER_PASSWORD = "aaaaa"; | |
11 | + | |
12 | + /** | |
13 | + * Views | |
14 | + */ | |
15 | + public static final String TAG_VIEW = "/admin/tags/tag.xhtml"; | |
16 | + public static final String TAG_LIST_VIEW = "/admin/tags/tagList.xhtml"; | |
17 | + public static final String LOGIN_VIEW = "/login.xhtml"; | |
18 | + | |
19 | + /** | |
20 | + * Test groups | |
21 | + */ | |
22 | + public static final String TAG_DEPENDANT_TESTS = "TagDependantTests"; | |
23 | + | |
24 | + /** | |
25 | + * Misc | |
26 | + */ | |
27 | + public static final String ENTITY_MANAGER_NAME = "entityManager"; | |
28 | +} | ... | ... |
1 | +package pl.labno.bernard.seamTestInAction.test; | |
2 | + | |
3 | +import org.jboss.seam.contexts.Contexts; | |
4 | +import org.jboss.seam.mock.SeamTest; | |
5 | + | |
6 | +import javax.persistence.EntityManager; | |
7 | + | |
8 | +public class ExtendedSeamTest extends SeamTest { | |
9 | + | |
10 | + /** | |
11 | + * Remember to invoke super.afterRequest if you override it. | |
12 | + */ | |
13 | + public class RenderedNonFacesRequest extends NonFacesRequest { | |
14 | + | |
15 | + public RenderedNonFacesRequest() { | |
16 | + } | |
17 | + | |
18 | + /** | |
19 | + * @param viewId the view id of the form that was submitted | |
20 | + */ | |
21 | + public RenderedNonFacesRequest(String viewId) { | |
22 | + super(viewId); | |
23 | + } | |
24 | + | |
25 | + /** | |
26 | + * @param viewId the view id of the form that was submitted | |
27 | + * @param conversationId the conversation id | |
28 | + */ | |
29 | + public RenderedNonFacesRequest(String viewId, String conversationId) { | |
30 | + super(viewId, conversationId); | |
31 | + } | |
32 | + | |
33 | + @Override | |
34 | + protected void afterRequest() { | |
35 | + assert isRenderResponseBegun(); | |
36 | + } | |
37 | + } | |
38 | + | |
39 | + /** | |
40 | + * Remember to invoke super.afterRequest if you override it. | |
41 | + */ | |
42 | + public class InvokedApplicationFacesRequest extends FacesRequest { | |
43 | + | |
44 | + public InvokedApplicationFacesRequest() { | |
45 | + } | |
46 | + | |
47 | + /** | |
48 | + * @param viewId the view id of the form that was submitted | |
49 | + */ | |
50 | + public InvokedApplicationFacesRequest(String viewId) { | |
51 | + super(viewId); | |
52 | + } | |
53 | + | |
54 | + /** | |
55 | + * @param viewId the view id of the form that was submitted | |
56 | + * @param conversationId the conversation id | |
57 | + */ | |
58 | + public InvokedApplicationFacesRequest(String viewId, String conversationId) { | |
59 | + super(viewId, conversationId); | |
60 | + } | |
61 | + | |
62 | + @Override | |
63 | + protected void afterRequest() { | |
64 | + assert isInvokeApplicationBegun(); | |
65 | + } | |
66 | + } | |
67 | + | |
68 | + protected EntityManager getEntityManager() { | |
69 | + return (EntityManager) getInstance(Config.ENTITY_MANAGER_NAME); | |
70 | + } | |
71 | + | |
72 | + protected void login(final String username, final String password) throws Exception { | |
73 | + new InvokedApplicationFacesRequest(Config.LOGIN_VIEW) { | |
74 | + @Override | |
75 | + protected void updateModelValues() throws Exception { | |
76 | + setValue("#{credentials.username}", username); | |
77 | + setValue("#{credentials.password}", password); | |
78 | + } | |
79 | + | |
80 | + @Override | |
81 | + protected void invokeApplication() throws Exception { | |
82 | + invokeAction("#{identity.login}"); | |
83 | + assert (Boolean) invokeAction("#{identity.isLoggedIn}"); | |
84 | + } | |
85 | + }.run(); | |
86 | + } | |
87 | + | |
88 | + protected void loginAsAdmin() throws Exception { | |
89 | + login(Config.ADMIN_USERNAME, Config.ADMIN_PASSWORD); | |
90 | + } | |
91 | + | |
92 | + protected void loginAsMember() throws Exception { | |
93 | + login(Config.MEMBER_USERNAME, Config.MEMBER_PASSWORD); | |
94 | + } | |
95 | + | |
96 | + protected void logout() throws Exception { | |
97 | + new InvokedApplicationFacesRequest(Config.LOGIN_VIEW) { | |
98 | + @Override | |
99 | + protected void invokeApplication() throws Exception { | |
100 | + invokeAction("#{identity.logout}"); | |
101 | + assert !(Boolean) invokeAction("#{identity.isLoggedIn}"); | |
102 | + } | |
103 | + }.run(); | |
104 | + } | |
105 | + | |
106 | + protected Object getHandledException() { | |
107 | + return Contexts.lookupInStatefulContexts("org.jboss.seam.handledException"); | |
108 | + } | |
109 | + | |
110 | + public static class Holder<T> { | |
111 | + private T value; | |
112 | + | |
113 | + public T getValue() { | |
114 | + return value; | |
115 | + } | |
116 | + | |
117 | + public void setValue(T value) { | |
118 | + this.value = value; | |
119 | + } | |
120 | + } | |
121 | +} | ... | ... |
1 | +package pl.labno.bernard.seamTestInAction.test; | |
2 | + | |
3 | +import org.jboss.seam.Component; | |
4 | +import org.jboss.seam.framework.EntityNotFoundException; | |
5 | +import org.jboss.seam.mock.AbstractSeamTest; | |
6 | +import org.jboss.seam.security.AuthorizationException; | |
7 | +import org.jboss.seam.security.NotLoggedInException; | |
8 | +import org.testng.annotations.DataProvider; | |
9 | +import org.testng.annotations.Test; | |
10 | +import pl.labno.bernard.seamTestInAction.Tag; | |
11 | +import pl.labno.bernard.seamTestInAction.TagHome; | |
12 | +import static pl.labno.bernard.seamTestInAction.test.Config.*; | |
13 | + | |
14 | +import javax.persistence.EntityManager; | |
15 | +import java.util.List; | |
16 | + | |
17 | +public class TagCRUDTest extends ExtendedSeamTest { | |
18 | + | |
19 | + public static Long id; | |
20 | + private String modifiedName = "Modified tag"; | |
21 | + private String modifiedName2 = "Modified2 tag"; | |
22 | + private static final String INVALID_INPUT_PROVIDER = "createInvalidInput"; | |
23 | + | |
24 | + @DataProvider(name = INVALID_INPUT_PROVIDER) | |
25 | + public Object[][] createInvalidInput() { | |
26 | + return new Object[][]{ | |
27 | + new Object[]{""}, | |
28 | + new Object[]{null}, | |
29 | + new Object[]{"asdfghjkl asdfghjkl a"} | |
30 | + }; | |
31 | + } | |
32 | + | |
33 | + @Test(dataProvider = INVALID_INPUT_PROVIDER) | |
34 | + public void invalidInputTest(final String name) throws Exception { | |
35 | + loginAsAdmin(); | |
36 | + String conversationId = new RenderedNonFacesRequest(TAG_VIEW) { | |
37 | + @Override | |
38 | + protected void beforeRequest() { | |
39 | + setParameter("actionMethod", TAG_LIST_VIEW + ":tagHome.startCreateProcess"); | |
40 | + } | |
41 | + | |
42 | + @Override | |
43 | + protected void renderResponse() throws Exception { | |
44 | + assert (Boolean) getValue("#{tagHome.editMode}"); | |
45 | + } | |
46 | + }.run(); | |
47 | + new FacesRequest(TAG_VIEW, conversationId) { | |
48 | + | |
49 | + @Override | |
50 | + protected void applyRequestValues() throws Exception { | |
51 | + setValue("#{tagHome.instance.name}", name); | |
52 | + } | |
53 | + | |
54 | + @Override | |
55 | + protected void processValidations() throws Exception { | |
56 | + validateValue("#{tagHome.instance.name}", name); | |
57 | + } | |
58 | + | |
59 | + @Override | |
60 | + protected void afterRequest() { | |
61 | + assert isValidationFailure(); | |
62 | + assert !isInvokeApplicationBegun(); | |
63 | + } | |
64 | + }.run(); | |
65 | + } | |
66 | + | |
67 | + @Test | |
68 | + public void createTag() throws Exception { | |
69 | + loginAsAdmin(); | |
70 | + String conversationId = new RenderedNonFacesRequest(TAG_VIEW) { | |
71 | + @Override | |
72 | + protected void beforeRequest() { | |
73 | + setParameter("actionMethod", TAG_LIST_VIEW + ":tagHome.startCreateProcess"); | |
74 | + } | |
75 | + | |
76 | + @Override | |
77 | + protected void renderResponse() throws Exception { | |
78 | + assert (Boolean) getValue("#{tagHome.editMode}"); | |
79 | + } | |
80 | + }.run(); | |
81 | + | |
82 | + new InvokedApplicationFacesRequest(TAG_VIEW, conversationId) { | |
83 | + @Override | |
84 | + protected void processValidations() throws Exception { | |
85 | + validateValue("#{tagHome.instance.name}", "My new legal act"); | |
86 | + assert !isValidationFailure(); | |
87 | + } | |
88 | + | |
89 | + @Override | |
90 | + protected void updateModelValues() throws Exception { | |
91 | + setValue("#{tagHome.instance.name}", "My new legal act"); | |
92 | + } | |
93 | + | |
94 | + @Override | |
95 | + protected void invokeApplication() throws Exception { | |
96 | + invokeAction("#{tagHome.persist}"); | |
97 | + id = (Long) getValue("#{tagHome.instance.id}"); | |
98 | + assert null != id; | |
99 | + } | |
100 | + }.run(); | |
101 | + } | |
102 | + | |
103 | + @Test(dependsOnMethods = {"createTag"}, groups = TAG_DEPENDANT_TESTS) | |
104 | + public void editTag() throws Exception { | |
105 | + loginAsAdmin(); | |
106 | + String conversationId = enterTagView(id); | |
107 | + conversationId = new InvokedApplicationFacesRequest(TAG_VIEW, conversationId) { | |
108 | + @Override | |
109 | + protected void invokeApplication() throws Exception { | |
110 | + invokeAction("#{tagHome.edit}"); | |
111 | + assert (Boolean) getValue("#{tagHome.editMode}"); | |
112 | + } | |
113 | + }.run(); | |
114 | + new InvokedApplicationFacesRequest(TAG_VIEW, conversationId) { | |
115 | + @Override | |
116 | + protected void updateModelValues() throws Exception { | |
117 | + setValue("#{tagHome.instance.name}", modifiedName); | |
118 | + } | |
119 | + | |
120 | + @Override | |
121 | + protected void invokeApplication() throws Exception { | |
122 | + invokeAction("#{tagHome.update}"); | |
123 | + } | |
124 | + }.run(); | |
125 | + | |
126 | + new RenderedNonFacesRequest(TAG_LIST_VIEW) { | |
127 | + @Override | |
128 | + protected void renderResponse() throws Exception { | |
129 | + Tag tag = (Tag) ((EntityManager) getInstance("entityManager")).createQuery("from Tag where id=?").setParameter(1, id).getSingleResult(); | |
130 | + assert modifiedName.equals(tag.getName()); | |
131 | + } | |
132 | + }.run(); | |
133 | + } | |
134 | + | |
135 | + @Test(dependsOnMethods = {"createTag"}, groups = TAG_DEPENDANT_TESTS) | |
136 | + public void cancelEditTag() throws Exception { | |
137 | + loginAsAdmin(); | |
138 | + final Holder<String> nameBeforModification = new Holder<String>(); | |
139 | + String conversationId = enterTagView(id); | |
140 | + conversationId = new InvokedApplicationFacesRequest(TAG_VIEW, conversationId) { | |
141 | + @Override | |
142 | + protected void invokeApplication() throws Exception { | |
143 | + nameBeforModification.setValue((String) getValue("#{tagHome.instance.name}")); | |
144 | + invokeAction("#{tagHome.edit}"); | |
145 | + assert (Boolean) getValue("#{tagHome.editMode}"); | |
146 | + } | |
147 | + }.run(); | |
148 | + new InvokedApplicationFacesRequest(TAG_VIEW, conversationId) { | |
149 | + @Override | |
150 | + protected void updateModelValues() throws Exception { | |
151 | + setValue("#{tagHome.instance.name}", modifiedName2); | |
152 | + } | |
153 | + | |
154 | + }.run(); | |
155 | + new InvokedApplicationFacesRequest(TAG_VIEW, conversationId) { | |
156 | + @Override | |
157 | + protected void invokeApplication() throws Exception { | |
158 | + invokeAction("cancel"); | |
159 | + } | |
160 | + | |
161 | + }.run(); | |
162 | + | |
163 | + new RenderedNonFacesRequest(TAG_VIEW) { | |
164 | + @Override | |
165 | + protected void beforeRequest() { | |
166 | + setParameter("id", id.toString()); | |
167 | + } | |
168 | + | |
169 | + @Override | |
170 | + protected void renderResponse() throws Exception { | |
171 | + assert nameBeforModification.getValue().equals(getValue("#{tagHome.instance.name}")); | |
172 | + } | |
173 | + }.run(); | |
174 | + } | |
175 | + | |
176 | + @Test(dependsOnMethods = "createTag", groups = TAG_DEPENDANT_TESTS) | |
177 | + public void enterTagViewAsAdmin() throws Throwable { | |
178 | + loginAsAdmin(); | |
179 | + new RenderedNonFacesRequest(TAG_LIST_VIEW) { | |
180 | + @Override | |
181 | + protected void renderResponse() { | |
182 | + assert (Boolean) getValue("#{tagList.resultCount > 0}"); | |
183 | + @SuppressWarnings("unchecked") | |
184 | + List<Tag> tags = (List<Tag>) getValue("#{tagList.resultList}"); | |
185 | + boolean tagExists = false; | |
186 | + for (Tag tag : tags) { | |
187 | + if (id.equals(tag.getId())) { | |
188 | + tagExists = true; | |
189 | + } | |
190 | + } | |
191 | + assert tagExists; | |
192 | + } | |
193 | + }.run(); | |
194 | + } | |
195 | + | |
196 | + @Test | |
197 | + public void enterNonExistingTagView() throws Throwable { | |
198 | + loginAsAdmin(); | |
199 | + new RenderedNonFacesRequest(TAG_VIEW) { | |
200 | + @Override | |
201 | + protected void beforeRequest() { | |
202 | + setParameter("id", "-1"); | |
203 | + } | |
204 | + | |
205 | + @Override | |
206 | + protected void renderResponse() { | |
207 | + assert getHandledException() instanceof EntityNotFoundException; | |
208 | + } | |
209 | + }.run(); | |
210 | + new RenderedNonFacesRequest(TAG_VIEW) { | |
211 | + @Override | |
212 | + protected void renderResponse() { | |
213 | + assert getHandledException() instanceof EntityNotFoundException; | |
214 | + } | |
215 | + }.run(); | |
216 | + } | |
217 | + | |
218 | + @Test(dependsOnMethods = "createTag", groups = TAG_DEPENDANT_TESTS) | |
219 | + public void enterTagViewAsNonAdmin() throws Throwable { | |
220 | + new NonFacesRequest(TAG_VIEW) { | |
221 | + @Override | |
222 | + protected void beforeRequest() { | |
223 | + setParameter("id", id.toString()); | |
224 | + } | |
225 | + | |
226 | + @Override | |
227 | + protected void afterRequest() { | |
228 | + assert !isRenderResponseBegun(); | |
229 | + } | |
230 | + }.run(); | |
231 | + loginAsMember(); | |
232 | + new RenderedNonFacesRequest(TAG_VIEW) { | |
233 | + @Override | |
234 | + protected void beforeRequest() { | |
235 | + setParameter("id", id.toString()); | |
236 | + } | |
237 | + | |
238 | + @Override | |
239 | + protected void renderResponse() { | |
240 | + assert getHandledException() instanceof AuthorizationException; | |
241 | + } | |
242 | + }.run(); | |
243 | + } | |
244 | + | |
245 | + @Test(dependsOnGroups = TAG_DEPENDANT_TESTS) | |
246 | + public void removeTag() throws Exception { | |
247 | + loginAsAdmin(); | |
248 | + String conversationId = enterTagView(id); | |
249 | + new InvokedApplicationFacesRequest(TAG_VIEW, conversationId) { | |
250 | + @Override | |
251 | + protected void invokeApplication() throws Exception { | |
252 | + invokeAction("#{tagHome.remove}"); | |
253 | + } | |
254 | + }.run(); | |
255 | + new RenderedNonFacesRequest(TAG_LIST_VIEW) { | |
256 | + | |
257 | + @Override | |
258 | + protected void renderResponse() throws Exception { | |
259 | + assert null == getEntityManager().find(Tag.class, id); | |
260 | + } | |
261 | + | |
262 | + }.run(); | |
263 | + } | |
264 | + | |
265 | + @Test | |
266 | + public void componentSecurity() throws Throwable { | |
267 | + new ComponentTest() { | |
268 | + protected void testComponents() throws Exception { | |
269 | + try { | |
270 | + invokeMethod("#{tagHome.persist}"); | |
271 | + assert false; | |
272 | + } catch (Exception e) { | |
273 | + assert e.getCause() instanceof NotLoggedInException; | |
274 | + } | |
275 | + try { | |
276 | + invokeMethod("#{tagHome.update}"); | |
277 | + assert false; | |
278 | + } catch (Exception e) { | |
279 | + assert e.getCause() instanceof NotLoggedInException; | |
280 | + } | |
281 | + try { | |
282 | + invokeMethod("#{tagHome.remove}"); | |
283 | + assert false; | |
284 | + } catch (Exception e) { | |
285 | + assert e.getCause() instanceof NotLoggedInException; | |
286 | + } | |
287 | + } | |
288 | + }.run(); | |
289 | + loginAsMember(); | |
290 | + new ComponentTest() { | |
291 | + protected void testComponents() throws Exception { | |
292 | + try { | |
293 | + invokeMethod("#{tagHome.persist}"); | |
294 | + assert false; | |
295 | + } catch (Exception e) { | |
296 | + assert e.getCause() instanceof AuthorizationException; | |
297 | + } | |
298 | + try { | |
299 | + invokeMethod("#{tagHome.update}"); | |
300 | + assert false; | |
301 | + } catch (Exception e) { | |
302 | + assert e.getCause() instanceof AuthorizationException; | |
303 | + } | |
304 | + try { | |
305 | + invokeMethod("#{tagHome.remove}"); | |
306 | + assert false; | |
307 | + } catch (Exception e) { | |
308 | + assert e.getCause() instanceof AuthorizationException; | |
309 | + } | |
310 | + } | |
311 | + }.run(); | |
312 | + } | |
313 | + | |
314 | + @Test | |
315 | + public void enterTagListViewAsNonAdmin() throws Exception { | |
316 | + new NonFacesRequest(TAG_LIST_VIEW) { | |
317 | + @Override | |
318 | + protected void afterRequest() { | |
319 | + assert !isRenderResponseBegun(); | |
320 | + } | |
321 | + }.run(); | |
322 | + loginAsMember(); | |
323 | + new RenderedNonFacesRequest(TAG_LIST_VIEW) { | |
324 | + @Override | |
325 | + protected void renderResponse() throws Exception { | |
326 | + assert getHandledException() instanceof AuthorizationException; | |
327 | + } | |
328 | + }.run(); | |
329 | + } | |
330 | + | |
331 | + | |
332 | + /** | |
333 | + * NonFacesRequest simulating entering page with Tag's details. | |
334 | + * | |
335 | + * @param tagId id of Tag | |
336 | + * @return conversation id | |
337 | + * @throws Exception unspecified | |
338 | + */ | |
339 | + private String enterTagView(final Long tagId) throws Exception { | |
340 | + return new RenderedNonFacesRequest(TAG_VIEW) { | |
341 | + | |
342 | + @Override | |
343 | + protected void beforeRequest() { | |
344 | + setParameter("id", tagId.toString()); | |
345 | + } | |
346 | + | |
347 | + @Override | |
348 | + protected void renderResponse() throws Exception { | |
349 | + TagHome home = (TagHome) Component.getInstance(TagHome.class); | |
350 | + assert tagId != null && tagId.equals(home.getId()) && home.isManaged(); | |
351 | + } | |
352 | + | |
353 | + }.run(); | |
354 | + } | |
355 | +} | ... | ... |
src/test/readme.txt
0 → 100644
1 | +If you want to run tests using the Eclipse TestNG plugin, you'll need to add | |
2 | +these jars to the top of your TestNG classpath. Using the Run Dialog, select the | |
3 | +XML suite to run, and select these entries from the project tree: | |
4 | + | |
5 | +/lib/test/jboss-embedded-all.jar | |
6 | +/lib/test/hibernate-all.jar | |
7 | +/lib/test/thirdparty-all.jar | |
8 | +/lib/jboss-embedded-api.jar | |
9 | +/lib/jboss-deployers-client-spi.jar | |
10 | +/lib/jboss-deployers-core-spi.jar | |
11 | + | |
12 | +You also need to add the Embedded JBoss bootstrap folder, which you can do by | |
13 | +clicking on the Advanced... button. | |
14 | + | |
15 | +/bootstrap | |
16 | + | |
17 | +Seam uses JBoss Embedded in its unit and integration testing. This has an | |
18 | +additional requirement when using JDK 6. Add the following VM argument to the VM | |
19 | +args tab in the TestNG launch configuration for your suite. | |
20 | + | |
21 | +-Dsun.lang.ClassLoader.allowArraySyntax=true | |
22 | + | |
23 | +Please be sure to use JDK 6 Update 4 or better (>= 1.6.0_04) if you are using | |
24 | +JDK 6. The Update 4 release upgraded to JAXB 2.1 which removes a problem with | |
25 | +earlier versions of Sun's JDK 6 which required overriding the JAXB libraries | |
26 | +using the endorsed directory. | |
27 | + | |
28 | +To add tests to your project create a TestNG xml descriptor called *Test.xml | |
29 | +(e.g. FooTest.xml) next to your test classes and run ant test. | ... | ... |
validate.xml
0 → 100644
1 | +<?xml version="1.0"?> | |
2 | +<project basedir="."> | |
3 | + | |
4 | + <property name="seam.dir" value="${basedir}" /> | |
5 | + | |
6 | + <property name="seam.schemaLocations" value=" | |
7 | + http://jboss.com/products/seam/async ${src.schema.dir}/async-${schema.version}.xsd | |
8 | + http://jboss.com/products/seam/bpm ${src.schema.dir}/bpm-${schema.version}.xsd | |
9 | + http://jboss.com/products/seam/components ${src.schema.dir}/components-${schema.version}.xsd | |
10 | + http://jboss.com/products/seam/core ${src.schema.dir}/core-${schema.version}.xsd | |
11 | + http://jboss.com/products/seam/drools ${src.schema.dir}/drools-${schema.version}.xsd | |
12 | + http://jboss.com/products/seam/framework ${src.schema.dir}/framework-${schema.version}.xsd | |
13 | + http://jboss.com/products/seam/international ${src.schema.dir}/international-${schema.version}.xsd | |
14 | + http://jboss.com/products/seam/jms ${src.schema.dir}/jms-${schema.version}.xsd | |
15 | + http://jboss.com/products/seam/mail ${src.schema.dir}/mail-${schema.version}.xsd | |
16 | + http://jboss.com/products/seam/navigation ${src.schema.dir}/navigation-${schema.version}.xsd | |
17 | + http://jboss.com/products/seam/pageflow ${src.schema.dir}/pageflow-${schema.version}.xsd | |
18 | + http://jboss.com/products/seam/pages ${src.schema.dir}/pages-${schema.version}.xsd | |
19 | + http://jboss.com/products/seam/pdf ${seam.dir}/src/pdf/org/jboss/seam/pdf/pdf-${schema.version}.xsd | |
20 | + http://jboss.com/products/seam/persistence ${src.schema.dir}/persistence-${schema.version}.xsd | |
21 | + http://jboss.com/products/seam/remoting ${src.schema.dir}/remoting-${schema.version}.xsd | |
22 | + http://jboss.com/products/seam/security ${src.schema.dir}/security-${schema.version}.xsd | |
23 | + http://jboss.com/products/seam/theme ${src.schema.dir}/theme-${schema.version}.xsd | |
24 | + http://jboss.com/products/seam/transaction ${src.schema.dir}/transaction-${schema.version}.xsd | |
25 | + http://jboss.com/products/seam/web ${src.schema.dir}/web-${schema.version}.xsd " /> | |
26 | + | |
27 | + <taskdef name="xmlvalidate.task" classname="org.apache.tools.ant.taskdefs.optional.XMLValidateTask"> | |
28 | + <classpath> | |
29 | + <fileset dir="${seam.dir}/lib" /> | |
30 | + </classpath> | |
31 | + </taskdef> | |
32 | + | |
33 | + <fileset id="validate.resources" dir="${validate.resources.dir}"> | |
34 | + <include name="**/META-INF/application.xml" /> | |
35 | + <include name="**/META-INF/ejb-jar.xml" /> | |
36 | + <include name="**/META-INF/persistence.xml" /> | |
37 | + <include name="**/META-INF/jboss-app.xml" /> | |
38 | + <include name="**/META-INF/orm.xml" /> | |
39 | + <include name="**/WEB-INF/components.xml" /> | |
40 | + <include name="**/WEB-INF/pages.xml" /> | |
41 | + <include name="**/WEB-INF/faces-config.xml" /> | |
42 | + <include name="**/WEB-INF/web.xml" /> | |
43 | + <include name="**/WEB-INF/jboss-web.xml" /> | |
44 | + <include name="**/${example.ds}" /> | |
45 | + <include name="**/hibernate.cfg.xml" /> | |
46 | + <include name="**/*.jpdl.xml" /> | |
47 | + <exclude name="**/.gpd.*.jpdl.xml" /> | |
48 | + </fileset> | |
49 | + | |
50 | + <target name="validateConfiguration" description="Validate XML Configuration Files"> | |
51 | + <validateConfiguration> | |
52 | + <fileset refid="validate.resources" /> | |
53 | + </validateConfiguration> | |
54 | + </target> | |
55 | + | |
56 | + <presetdef name="validateConfiguration" > | |
57 | + <xmlvalidate.task classname="org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser"> | |
58 | + <attribute name="http://xml.org/sax/features/validation" value="true" /> | |
59 | + <attribute name="http://apache.org/xml/features/validation/schema" value="true" /> | |
60 | + <attribute name="http://xml.org/sax/features/namespaces" value="true" /> | |
61 | + <property name="http://apache.org/xml/properties/schema/external-schemaLocation" value="${seam.schemaLocations}" /> | |
62 | + <xmlcatalog> | |
63 | + <dtd publicId="-//JBoss/Seam Component Configuration DTD 2.0//EN" location="${src.schema.dir}/components-${schema.version}.dtd" /> | |
64 | + <dtd publicId="-//JBoss/Seam Pages Configuration DTD 2.0//EN" location="${src.schema.dir}/pages-${schema.version}.dtd" /> | |
65 | + </xmlcatalog> | |
66 | + <classpath> | |
67 | + <fileset dir="${seam.dir}/lib" /> | |
68 | + </classpath> | |
69 | + </xmlvalidate.task> | |
70 | + </presetdef> | |
71 | +</project> | |
\ No newline at end of file | ... | ... |
view/admin/tags/tag.page.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<page xmlns="http://jboss.com/products/seam/pages" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
3 | + xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.1.xsd"> | |
4 | + | |
5 | + <param name="id" value="#{tagHome.id}" converterId="javax.faces.Long"/> | |
6 | + | |
7 | + <action execute="#{tagHome.validate}"/> | |
8 | + | |
9 | + <begin-conversation join="true" flush-mode="manual"/> | |
10 | + | |
11 | + <navigation from-action="#{tagHome.persist}"> | |
12 | + <rule if-outcome="persisted"> | |
13 | + <end-conversation before-redirect="true"/> | |
14 | + <redirect/> | |
15 | + </rule> | |
16 | + </navigation> | |
17 | + | |
18 | + <navigation from-action="#{tagHome.update}"> | |
19 | + <rule if-outcome="updated"> | |
20 | + <end-conversation before-redirect="true"/> | |
21 | + <redirect/> | |
22 | + </rule> | |
23 | + </navigation> | |
24 | + | |
25 | + <navigation from-action="#{tagHome.remove}"> | |
26 | + <rule if-outcome="removed"> | |
27 | + <end-conversation before-redirect="true"/> | |
28 | + <redirect view-id="/admin/tags/tagList.xhtml"/> | |
29 | + </rule> | |
30 | + </navigation> | |
31 | + | |
32 | + <navigation from-action="cancel"> | |
33 | + <rule if="#{tagHome.managed}"> | |
34 | + <end-conversation before-redirect="true"/> | |
35 | + <redirect view-id="/admin/tags/tag.xhtml"/> | |
36 | + </rule> | |
37 | + <rule if="#{not tagHome.managed}"> | |
38 | + <end-conversation before-redirect="true"/> | |
39 | + <redirect view-id="/admin/tags/tagList.xhtml"/> | |
40 | + </rule> | |
41 | + </navigation> | |
42 | + | |
43 | + <navigation from-action="done"> | |
44 | + <end-conversation before-redirect="true"/> | |
45 | + <redirect view-id="/admin/tags/tagList.xhtml"/> | |
46 | + </navigation> | |
47 | + | |
48 | +</page> | ... | ... |
view/admin/tags/tag.xhtml
0 → 100644
1 | +<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
2 | + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
3 | +<ui:composition xmlns="http://www.w3.org/1999/xhtml" | |
4 | + xmlns:s="http://jboss.com/products/seam/taglib" | |
5 | + xmlns:ui="http://java.sun.com/jsf/facelets" | |
6 | + xmlns:f="http://java.sun.com/jsf/core" | |
7 | + xmlns:h="http://java.sun.com/jsf/html" | |
8 | + xmlns:rich="http://richfaces.org/rich" | |
9 | + template="/layout/template.xhtml"> | |
10 | + | |
11 | + <ui:define name="body"> | |
12 | + | |
13 | + <h:form rendered="#{tagHome.editMode}"> | |
14 | + <rich:panel> | |
15 | + <f:facet name="header">#{messages['tag']}</f:facet> | |
16 | + <s:decorate template="/layout/edit.xhtml"> | |
17 | + <ui:define name="label">#{messages['tag.name']}</ui:define> | |
18 | + <h:inputText id="name" required="true" value="#{tagHome.instance.name}"/> | |
19 | + </s:decorate> | |
20 | + | |
21 | + <div style="clear:both"/> | |
22 | + </rich:panel> | |
23 | + | |
24 | + <div class="actionButtons"> | |
25 | + <h:commandButton value="#{messages['CRUD.save']}" action="#{tagHome.persist}" | |
26 | + rendered="#{!tagHome.managed}"/> | |
27 | + <h:commandButton value="#{messages['CRUD.save']}" action="#{tagHome.update}" | |
28 | + rendered="#{tagHome.managed}"/> | |
29 | + <s:button value="#{messages['CRUD.cancel']}" action="cancel"/> | |
30 | + </div> | |
31 | + | |
32 | + </h:form> | |
33 | + | |
34 | + <s:fragment rendered="#{not tagHome.editMode}"> | |
35 | + <rich:panel> | |
36 | + <f:facet name="header">#{messages['tag']}</f:facet> | |
37 | + <h:panelGrid columns="2"> | |
38 | + #{messages['tag.name']} | |
39 | + <h:outputText value="#{tagHome.instance.name}"/> | |
40 | + #{messages['tag.version']} | |
41 | + <h:outputText value="#{tagHome.instance.version}"/> | |
42 | + </h:panelGrid> | |
43 | + </rich:panel> | |
44 | + | |
45 | + <div class="actionButtons"> | |
46 | + <s:button value="#{messages['CRUD.edit']}" action="#{tagHome.edit}"/> | |
47 | + <s:button value="#{messages['CRUD.remove']}" action="#{tagHome.remove}"/> | |
48 | + <s:button value="#{messages['CRUD.done']}" action="done"/> | |
49 | + </div> | |
50 | + </s:fragment> | |
51 | + | |
52 | + </ui:define> | |
53 | + | |
54 | +</ui:composition> | ... | ... |
view/admin/tags/tagList.xhtml
0 → 100644
1 | +<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
2 | + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
3 | +<ui:composition xmlns="http://www.w3.org/1999/xhtml" | |
4 | + xmlns:s="http://jboss.com/products/seam/taglib" | |
5 | + xmlns:ui="http://java.sun.com/jsf/facelets" | |
6 | + xmlns:f="http://java.sun.com/jsf/core" | |
7 | + xmlns:h="http://java.sun.com/jsf/html" | |
8 | + xmlns:rich="http://richfaces.org/rich" | |
9 | + template="/layout/template.xhtml"> | |
10 | + | |
11 | + <ui:define name="body"> | |
12 | + | |
13 | + <rich:panel> | |
14 | + <f:facet name="header">#{messages['tagList']}</f:facet> | |
15 | + | |
16 | + <h:outputText value="No tag exists" rendered="#{empty tagList.resultList}"/> | |
17 | + | |
18 | + <h:dataTable var="tag" value="#{tagList.resultList}" | |
19 | + rendered="#{not empty tagList.resultList}"> | |
20 | + <h:column> | |
21 | + <f:facet name="header">#{messages['tag.id']}</f:facet> | |
22 | + #{tag.id} | |
23 | + </h:column> | |
24 | + <h:column> | |
25 | + <f:facet name="header">#{messages['tag.name']}</f:facet> | |
26 | + <s:link id="tag" value="#{tag.name}" propagation="none" | |
27 | + view="/admin/tags/tag.xhtml"> | |
28 | + <f:param name="id" value="#{tag.id}"/> | |
29 | + </s:link> | |
30 | + </h:column> | |
31 | + </h:dataTable> | |
32 | + | |
33 | + </rich:panel> | |
34 | + | |
35 | + <div class="actionButtons"> | |
36 | + <s:button value="#{messages['CRUD.create']}" action="#{tagHome.startCreateProcess}" | |
37 | + view="/admin/tags/tag.xhtml"/> | |
38 | + </div> | |
39 | + | |
40 | + </ui:define> | |
41 | + | |
42 | +</ui:composition> | ... | ... |
view/error.xhtml
0 → 100644
1 | +<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
2 | + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
3 | +<ui:composition xmlns="http://www.w3.org/1999/xhtml" | |
4 | + xmlns:s="http://jboss.com/products/seam/taglib" | |
5 | + xmlns:ui="http://java.sun.com/jsf/facelets" | |
6 | + xmlns:f="http://java.sun.com/jsf/core" | |
7 | + xmlns:h="http://java.sun.com/jsf/html" | |
8 | + template="layout/template.xhtml"> | |
9 | + | |
10 | + <ui:param name="showGlobalMessages" value="false"/> | |
11 | + <ui:define name="body"> | |
12 | + | |
13 | + <h1>Error</h1> | |
14 | + <p>Something bad happened :-(</p> | |
15 | + | |
16 | + <h:messages id="errorMessage" styleClass="message"/> | |
17 | + | |
18 | + </ui:define> | |
19 | +</ui:composition> | ... | ... |
view/favicon.ico
0 → 100644
No preview for this file type
view/home.xhtml
0 → 100644
1 | +<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
2 | + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
3 | +<ui:composition xmlns="http://www.w3.org/1999/xhtml" | |
4 | + xmlns:s="http://jboss.com/products/seam/taglib" | |
5 | + xmlns:ui="http://java.sun.com/jsf/facelets" | |
6 | + xmlns:f="http://java.sun.com/jsf/core" | |
7 | + xmlns:h="http://java.sun.com/jsf/html" | |
8 | + xmlns:rich="http://richfaces.org/rich" | |
9 | + template="layout/template.xhtml"> | |
10 | + | |
11 | + <ui:define name="body"> | |
12 | + | |
13 | + <h1>Welcome to SeamTest in Action !</h1> | |
14 | + <rich:panel> | |
15 | + <h:panelGrid columns="2"> | |
16 | + <h:graphicImage value="/img/seamlogo.png" alt="Seam logo"/> | |
17 | + <s:div styleClass="info"> | |
18 | + <p><strong>This is a sample application!</strong></p> | |
19 | + <ul class="bullets"> | |
20 | + <li><a href="seamTestInAction.zip">Download sources</a></li> | |
21 | + <li><a href="seamTestInAction.pdf">Download article in PDF</a></li> | |
22 | + <li><a href="http://seamframework.org/Community/SeamTestArticle">Forum thread</a></li> | |
23 | + </ul> | |
24 | + <p>Please note that sources do not include jar files. You can find them in seam distribution.</p> | |
25 | + </s:div> | |
26 | + </h:panelGrid> | |
27 | + </rich:panel> | |
28 | + | |
29 | + </ui:define> | |
30 | +</ui:composition> | ... | ... |
view/img/dtpick.gif
0 → 100644
127 Bytes
view/img/error.gif
0 → 100644
1017 Bytes
view/img/manytoone.gif
0 → 100644
149 Bytes
view/img/msgerror.png
0 → 100644
719 Bytes
view/img/msginfo.png
0 → 100644
796 Bytes
view/img/msgwarn.png
0 → 100644
684 Bytes
view/img/onetomany.gif
0 → 100644
153 Bytes
view/img/seamlogo.png
0 → 100644
10.6 KB
view/index.html
0 → 100644
view/layout/display.xhtml
0 → 100644
1 | +<ui:composition xmlns="http://www.w3.org/1999/xhtml" | |
2 | + xmlns:ui="http://java.sun.com/jsf/facelets" | |
3 | + xmlns:h="http://java.sun.com/jsf/html" | |
4 | + xmlns:f="http://java.sun.com/jsf/core" | |
5 | + xmlns:s="http://jboss.com/products/seam/taglib"> | |
6 | + | |
7 | + <div class="prop"> | |
8 | + <span class="name"> | |
9 | + <ui:insert name="label"/> | |
10 | + </span> | |
11 | + <span class="value"> | |
12 | + <ui:insert/> | |
13 | + </span> | |
14 | + </div> | |
15 | + | |
16 | +</ui:composition> | ... | ... |
view/layout/edit.xhtml
0 → 100644
1 | +<ui:composition xmlns="http://www.w3.org/1999/xhtml" | |
2 | + xmlns:ui="http://java.sun.com/jsf/facelets" | |
3 | + xmlns:h="http://java.sun.com/jsf/html" | |
4 | + xmlns:f="http://java.sun.com/jsf/core" | |
5 | + xmlns:s="http://jboss.com/products/seam/taglib"> | |
6 | + | |
7 | + <div class="prop"> | |
8 | + | |
9 | + <s:label styleClass="name #{invalid?'errors':''}"> | |
10 | + <ui:insert name="label"/> | |
11 | + <s:span styleClass="required" rendered="#{required}">*</s:span> | |
12 | + </s:label> | |
13 | + | |
14 | + <span class="value #{invalid?'errors':''}"> | |
15 | + <s:validateAll> | |
16 | + <ui:insert/> | |
17 | + </s:validateAll> | |
18 | + </span> | |
19 | + | |
20 | + <span class="error"> | |
21 | + <h:graphicImage value="/img/error.gif" rendered="#{invalid}" styleClass="errors"/> | |
22 | + <s:message styleClass="errors"/> | |
23 | + </span> | |
24 | + | |
25 | + </div> | |
26 | + | |
27 | +</ui:composition> | ... | ... |
view/layout/menu.xhtml
0 → 100644
1 | +<rich:toolBar | |
2 | + xmlns="http://www.w3.org/1999/xhtml" | |
3 | + xmlns:ui="http://java.sun.com/jsf/facelets" | |
4 | + xmlns:h="http://java.sun.com/jsf/html" | |
5 | + xmlns:f="http://java.sun.com/jsf/core" | |
6 | + xmlns:s="http://jboss.com/products/seam/taglib" | |
7 | + xmlns:rich="http://richfaces.org/rich"> | |
8 | + <rich:toolBarGroup> | |
9 | + <h:outputText value="#{projectName}:"/> | |
10 | + <s:link view="/home.xhtml" value="Home" propagation="none"/> | |
11 | + <s:link view="/admin/tags/tagList.xhtml" value="#{messages['tagList']}" propagation="none"/> | |
12 | + </rich:toolBarGroup> | |
13 | + <!-- @newMenuItem@ --> | |
14 | + <rich:toolBarGroup location="right"> | |
15 | + <h:outputText value="signed in as: #{identity.username}" rendered="#{identity.loggedIn}"/> | |
16 | + <s:link view="/login.xhtml" value="Login" rendered="#{not identity.loggedIn}" propagation="none"/> | |
17 | + <s:link view="/home.xhtml" action="#{identity.logout}" value="Logout" rendered="#{identity.loggedIn}" propagation="none"/> | |
18 | + </rich:toolBarGroup> | |
19 | +</rich:toolBar> | ... | ... |
view/layout/sort.xhtml
0 → 100644
1 | +<ui:composition xmlns="http://www.w3.org/1999/xhtml" | |
2 | + xmlns:ui="http://java.sun.com/jsf/facelets" | |
3 | + xmlns:f="http://java.sun.com/jsf/core" | |
4 | + xmlns:h="http://java.sun.com/jsf/html" | |
5 | + xmlns:c="http://java.sun.com/jstl/core" | |
6 | + xmlns:s="http://jboss.com/products/seam/taglib"> | |
7 | + <s:link styleClass="columnHeader" value="#{propertyLabel} #{entityList.orderColumn == propertyPath ? (entityList.orderDirection == 'desc' ? messages.down : messages.up) : ''}"> | |
8 | + <f:param name="sort" value="#{propertyPath}"/> | |
9 | + <f:param name="dir" value="#{entityList.orderColumn == propertyPath and entityList.orderDirection == 'asc' ? 'desc' : 'asc'}"/> | |
10 | + </s:link> | |
11 | +</ui:composition> | ... | ... |
view/layout/template.xhtml
0 → 100644
1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
2 | + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
3 | +<f:view contentType="text/html" | |
4 | + xmlns="http://www.w3.org/1999/xhtml" | |
5 | + xmlns:ui="http://java.sun.com/jsf/facelets" | |
6 | + xmlns:h="http://java.sun.com/jsf/html" | |
7 | + xmlns:f="http://java.sun.com/jsf/core" | |
8 | + xmlns:a="http://richfaces.org/a4j" | |
9 | + xmlns:s="http://jboss.com/products/seam/taglib"> | |
10 | +<html> | |
11 | +<head> | |
12 | + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
13 | + <title>SeamTest in Action</title> | |
14 | + <link rel="shortcut icon" href="#{request.contextPath}/favicon.ico"/> | |
15 | + <a:loadStyle src="resource:///stylesheet/theme.xcss"/> | |
16 | + <a:loadStyle src="/stylesheet/theme.css"/> | |
17 | + <ui:insert name="head"/> | |
18 | +</head> | |
19 | + | |
20 | +<body> | |
21 | + | |
22 | + <ui:include src="menu.xhtml"> | |
23 | + <ui:param name="projectName" value="seamTestInAction"/> | |
24 | + </ui:include> | |
25 | + | |
26 | + <div class="body"> | |
27 | + <h:messages id="messages" globalOnly="true" styleClass="message" | |
28 | + errorClass="errormsg" infoClass="infomsg" warnClass="warnmsg" | |
29 | + rendered="#{showGlobalMessages != 'false'}"/> | |
30 | + <ui:insert name="body"/> | |
31 | + </div> | |
32 | + | |
33 | + <div class="footer"> | |
34 | + Powered by <a href="http://jboss.com/products/seam">Seam</a>. | |
35 | + Generated by seam-gen. | |
36 | + </div> | |
37 | + | |
38 | +</body> | |
39 | +</html> | |
40 | +</f:view> | ... | ... |
view/login.page.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<page xmlns="http://jboss.com/products/seam/pages" | |
3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
4 | + xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.1.xsd"> | |
5 | + | |
6 | + <navigation from-action="#{identity.login}"> | |
7 | + <rule if="#{identity.loggedIn}"> | |
8 | + <redirect view-id="/home.xhtml"/> | |
9 | + </rule> | |
10 | + </navigation> | |
11 | + | |
12 | +</page> | ... | ... |
view/login.xhtml
0 → 100644
1 | +<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
2 | + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
3 | +<ui:composition xmlns="http://www.w3.org/1999/xhtml" | |
4 | + xmlns:s="http://jboss.com/products/seam/taglib" | |
5 | + xmlns:ui="http://java.sun.com/jsf/facelets" | |
6 | + xmlns:f="http://java.sun.com/jsf/core" | |
7 | + xmlns:h="http://java.sun.com/jsf/html" | |
8 | + xmlns:rich="http://richfaces.org/rich" | |
9 | + template="layout/template.xhtml"> | |
10 | + | |
11 | +<ui:define name="body"> | |
12 | + | |
13 | + <h:form id="login"> | |
14 | + | |
15 | + <rich:panel> | |
16 | + <f:facet name="header">Login</f:facet> | |
17 | + | |
18 | + <p>Please login here</p> | |
19 | + | |
20 | + <div class="dialog"> | |
21 | + <h:panelGrid columns="2" rowClasses="prop" columnClasses="name,value"> | |
22 | + <h:outputLabel for="username">Username</h:outputLabel> | |
23 | + <h:inputText id="username" | |
24 | + value="#{credentials.username}"/> | |
25 | + <h:outputLabel for="password">Password</h:outputLabel> | |
26 | + <h:inputSecret id="password" | |
27 | + value="#{credentials.password}"/> | |
28 | + <h:outputLabel for="rememberMe">Remember me</h:outputLabel> | |
29 | + <h:selectBooleanCheckbox id="rememberMe" | |
30 | + value="#{identity.rememberMe}"/> | |
31 | + </h:panelGrid> | |
32 | + </div> | |
33 | + | |
34 | + <p> | |
35 | + <i>Note - </i> You may login with the username 'admin' and a blank password. | |
36 | + </p> | |
37 | + | |
38 | + </rich:panel> | |
39 | + | |
40 | + <div class="actionButtons"> | |
41 | + <h:commandButton value="Login" action="#{identity.login}"/> | |
42 | + </div> | |
43 | + | |
44 | + </h:form> | |
45 | + | |
46 | + </ui:define> | |
47 | +</ui:composition> | ... | ... |
view/seamTestInAction.odt
0 → 100644
No preview for this file type
view/seamTestInAction.pdf
0 → 100644
No preview for this file type
view/stylesheet/theme.css
0 → 100644
1 | +html { | |
2 | + overflow-y: scroll; | |
3 | +} | |
4 | + | |
5 | +body { | |
6 | + font-size: 12px; | |
7 | + margin: 0px; | |
8 | +} | |
9 | + | |
10 | +a img { | |
11 | + border: none; | |
12 | +} | |
13 | + | |
14 | +h1 { | |
15 | + font-size: 1.6em; | |
16 | + margin-top: 0; | |
17 | +} | |
18 | + | |
19 | +input[type=submit], input[type=button] { | |
20 | + font-size: 10px; | |
21 | + margin: 5px 5px 5px 0; | |
22 | + cursor: pointer; | |
23 | +} | |
24 | + | |
25 | +input[type=text], input[type=password], textarea { | |
26 | + font-size: 11px; | |
27 | + padding-left: 1px; | |
28 | +} | |
29 | + | |
30 | +.tableControl, .actionButtons { | |
31 | + width: 100%; | |
32 | +} | |
33 | + | |
34 | +.tableControl a { | |
35 | + padding-left: 10px; | |
36 | +} | |
37 | + | |
38 | +.tableControl { | |
39 | + text-align: right; | |
40 | +} | |
41 | + | |
42 | +.footer { | |
43 | + text-align: center; | |
44 | + font-size: 11px; | |
45 | + margin-bottom: 10px; | |
46 | +} | |
47 | + | |
48 | +.rich-table { | |
49 | + width: 100%; | |
50 | +} | |
51 | + | |
52 | +.body { | |
53 | + padding: 30px; | |
54 | +} | |
55 | + | |
56 | +.columnHeader:hover { | |
57 | + color: #FF6600; | |
58 | +} | |
59 | + | |
60 | +.message { | |
61 | + padding: 5px; | |
62 | + list-style: none; | |
63 | + border: 0; | |
64 | + background: none; | |
65 | + padding: 0; | |
66 | + color: #000000; | |
67 | + margin: 5px 0 8px 0; | |
68 | + font-size: 12px; | |
69 | +} | |
70 | + | |
71 | +.message li { | |
72 | + background: no-repeat left center; | |
73 | + padding-top: 1px; | |
74 | + padding-left: 20px; | |
75 | + margin-left: 3px; | |
76 | +} | |
77 | + | |
78 | +.message li.infomsg { | |
79 | + background-image: url(../img/msginfo.png); | |
80 | +} | |
81 | + | |
82 | +.message li.errormsg { | |
83 | + background-image: url(../img/msgerror.png); | |
84 | +} | |
85 | + | |
86 | +.message li.warnmsg { | |
87 | + background-image: url(../img/msgwarn.png); | |
88 | +} | |
89 | + | |
90 | +.name { | |
91 | + vertical-align: top; | |
92 | + font-weight: bold; | |
93 | + width: 115px; | |
94 | + float: left; | |
95 | + padding: 5px; | |
96 | + margin-top: 3px; | |
97 | + clear: left; | |
98 | +} | |
99 | + | |
100 | +.value { | |
101 | + float: left; | |
102 | + padding: 5px; | |
103 | +} | |
104 | + | |
105 | +.error { | |
106 | + float: left; | |
107 | + padding: 5px; | |
108 | +} | |
109 | + | |
110 | +.errors { | |
111 | + color: red; | |
112 | + vertical-align: middle; | |
113 | +} | |
114 | + | |
115 | +img.errors { | |
116 | + padding-right: 5px; | |
117 | +} | |
118 | + | |
119 | +.errors input, .errors textarea { | |
120 | + border: 1px solid red !important; | |
121 | +} | |
122 | + | |
123 | +.required { | |
124 | + color: red; | |
125 | + padding-left: 2px; | |
126 | +} | |
127 | + | |
128 | +.rich-stglpanel-body { | |
129 | + overflow: auto; | |
130 | +} | |
131 | + | |
132 | +/* the specificity here is necessary to override the defaults */ | |
133 | +.rich-panel .rich-panel-header, | |
134 | +.rich-stglpanel .rich-stglpanel-header { | |
135 | + padding: 2px 3px; | |
136 | +} | |
137 | + | |
138 | + | |
139 | +select { | |
140 | + font-size: 12px; | |
141 | +} | |
142 | + | |
143 | +.rich-panel input[type=submit], .rich-panel input[type=button], | |
144 | +.rich-tabpanel input[type=submit], .rich-tabpanel input[type=button] { | |
145 | + margin-bottom: 0; | |
146 | +} | |
147 | + | |
148 | +.tableControl input[type=submit], .tableControl input[type=button], .tableControl select { | |
149 | + margin: 5px 0 5px 5px; | |
150 | +} | |
151 | + | |
152 | +/* I don't know why this is necessary, but the select is off by a pixel on the top and is padding too much on the left */ | |
153 | +.tableControl select { | |
154 | + margin-left: 2px; | |
155 | + position: relative; | |
156 | + top: 1px; | |
157 | +} | |
158 | + | |
159 | +.actionButtons { | |
160 | + padding-left: 1px; | |
161 | +} | |
162 | + | |
163 | +.actionButtons select { | |
164 | + margin: 5px 5px 5px 0; | |
165 | + vertical-align: bottom; | |
166 | +} | |
167 | + | |
168 | +.rich-datalist { | |
169 | + list-style: square; | |
170 | + margin: 6px 0 1px 0; | |
171 | + padding-left: 18px; | |
172 | +} | |
173 | + | |
174 | +.rich-list-item { | |
175 | + padding-bottom: 4px; | |
176 | +} | |
177 | + | |
178 | +div.info { | |
179 | + font-size: 1.2em; | |
180 | +} | |
181 | + | |
182 | +ul.bullets { | |
183 | + list-style: square; | |
184 | +} | |
185 | + | |
186 | +ul.bullets li { | |
187 | + padding-bottom: 2px; | |
188 | +} | |
189 | + | |
190 | +td.action { | |
191 | + text-align: center; | |
192 | + width: 8em; | |
193 | + white-space: nowrap; | |
194 | +} | |
195 | + | |
196 | +td.action a { | |
197 | + padding-left: 1px; | |
198 | + padding-right: 1px; | |
199 | +} | ... | ... |
view/stylesheet/theme.xcss
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<f:template xmlns="http://www.w3.org/1999/xhtml" | |
3 | + xmlns:f="http:/jsf.exadel.com/template" | |
4 | + xmlns:u="http:/jsf.exadel.com/template/util"> | |
5 | + <u:selector name="body"> | |
6 | + <u:style name="font-family" skin="generalFamilyFont"/> | |
7 | + <u:style name="color" skin="generalTextColor"/> | |
8 | + </u:selector> | |
9 | + <u:selector name="h1"> | |
10 | + <u:style name="font-family" skin="generalFamilyFont"/> | |
11 | + <u:style name="color" skin="tabDisabledTextColor"/> | |
12 | + </u:selector> | |
13 | + <u:selector name="a:active, a:link, a:visited"> | |
14 | + <u:style name="color" skin="generalLinkColor"/> | |
15 | + </u:selector> | |
16 | + <u:selector name="a:hover"> | |
17 | + <u:style name="color" skin="hoverLinkColor"/> | |
18 | + </u:selector> | |
19 | + <u:selector name="input[type=text], input[type=password], textarea, select"> | |
20 | + <u:style name="background-color" skin="controlBackgroundColor"/> | |
21 | + <u:style name="color" skin="controlTextColor"/> | |
22 | + <u:style name="background-position" value="left top"/> | |
23 | + <u:style name="background-repeat" value="repeat-x"/> | |
24 | + <u:style name="background-image"> | |
25 | + <f:resource f:key="org.richfaces.renderkit.html.images.SliderFieldGradient"/> | |
26 | + </u:style> | |
27 | + <u:style name="border" value="1px solid"/> | |
28 | + <u:style name="border-color" skin="tableBorderColor" /> | |
29 | + </u:selector> | |
30 | + <u:selector name="select"> | |
31 | + <u:style name="background-color" value="transparent"/> | |
32 | + <u:style name="background-image"> | |
33 | + <f:resource f:key="org.richfaces.renderkit.html.images.SliderFieldGradient"/> | |
34 | + </u:style> | |
35 | + </u:selector> | |
36 | + <u:selector name="option"> | |
37 | + <u:style name="background-color" skin="generalBackgroundColor"/> | |
38 | + </u:selector> | |
39 | + <u:selector name="select[multiple]"> | |
40 | + <u:style name="background-color" skin="controlBackgroundColor"/> | |
41 | + </u:selector> | |
42 | + <u:selector name="select[multiple] option"> | |
43 | + <u:style name="background-color" value="transparent"/> | |
44 | + </u:selector> | |
45 | + <u:selector name="input[type=submit], input[type=button]"> | |
46 | + <u:style name="padding" value="1px 4px"/> | |
47 | + <u:style name="background-image"> | |
48 | + <f:resource f:key="org.richfaces.renderkit.html.GradientA"/> | |
49 | + </u:style> | |
50 | + <u:style name="border" value="1px solid"/> | |
51 | + <u:style name="border-color" skin="headerBackgroundColor"/> | |
52 | + <u:style name="color" skin="headerTextColor"/> | |
53 | + <u:style name="font-weight" value="bold"/> | |
54 | + </u:selector> | |
55 | + <u:selector name="input[type=submit][disabled], input[type=button][disabled]"> | |
56 | + <u:style name="opacity" value="0.33"/> | |
57 | + </u:selector> | |
58 | + <!-- hack for IE to just get rid of border since it doubles the border if you use one --> | |
59 | + <u:selector name="* html input[type=submit], * html input[type=button], *+html input[type=submit], *+html input[type=button]"> | |
60 | + <u:style name="border" value="0"/> | |
61 | + <u:style name="font-size" value="11px"/> | |
62 | + </u:selector> | |
63 | + <u:selector name=".rich-table-subheadercell"> | |
64 | + <u:style name="background-image"> | |
65 | + <f:resource f:key="org.richfaces.renderkit.images.TabGradientB"/> | |
66 | + </u:style> | |
67 | + </u:selector> | |
68 | + <u:selector name=".rich-toolbar a:link, .rich-toolbar a:visited, .rich-toolbar a:active, .rich-toolbar a:hover"> | |
69 | + <u:style name="color" skin="headerTextColor"/> | |
70 | + </u:selector> | |
71 | + <u:selector name=".rich-toolbar a:hover"> | |
72 | + <u:style name="color" skin="generalTextColor"/> | |
73 | + </u:selector> | |
74 | + <!-- | |
75 | + <u:selector name=".rich-table-subheadercell a:link, .rich-table-subheadercell a:visited, .rich-table-subheadercell a:active"> | |
76 | + <u:style name="color" skin="generalTextColor"/> | |
77 | + </u:selector> | |
78 | + --> | |
79 | + <u:selector name=".rich-table-subheadercell a:hover"> | |
80 | + <u:style name="color" skin="calendarHolidaysTextColor"/> | |
81 | + </u:selector> | |
82 | + <!-- Define static styles in the CDATA block below (you can also move this block to the top) --> | |
83 | + <f:verbatim><![CDATA[ | |
84 | +]]></f:verbatim> | |
85 | +</f:template> | ... | ... |
Please
register
or
login
to post a comment