Created
October 22, 2013 06:39
-
-
Save hussachai/7096130 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<filter> | |
<description> | |
Provides essential configuration and request processing services | |
for the Stripes framework. | |
</description> | |
<display-name>Stripes Filter</display-name> | |
<filter-name>StripesFilter</filter-name> | |
<filter-class>net.sourceforge.stripes.controller.StripesFilter</filter-class> | |
<!-- REQUIRED init parameter for the Stripes Filter. --> | |
<init-param> | |
<param-name>ActionResolver.Packages</param-name> | |
<param-value>net.sourceforge.stripes.examples</param-value> | |
</init-param> | |
<init-param> | |
<param-name>Extension.Packages</param-name> | |
<param-value>com.siberhus.stars.stripes</param-value> | |
</init-param> | |
<init-param> | |
<param-name>Bootstrap.Classes</param-name> | |
<param-value>net.sourceforge.stripes.examples.bugzooky.BugzookyBootstrap</param-value> | |
</init-param> | |
<init-param> | |
<param-name>Service.Provider</param-name> | |
<param-value>spring</param-value> | |
</init-param> | |
<init-param> | |
<param-name>Spring.Autowire</param-name> | |
<param-value>BY_NAME</param-value> | |
</init-param> | |
<!-- | |
<init-param> | |
<param-name>ActionResolver.Class</param-name> | |
<param-value>com.siberhus.stars.spring.AnnotatedClassSpringActionResolver</param-value> | |
</init-param> | |
--> | |
<init-param> | |
<param-name>ServiceResolver.Packages</param-name> | |
<param-value> | |
net.sourceforge.stripes.examples.service | |
net.sourceforge.stripes.examples.bugzooky.biz | |
</param-value> | |
</init-param> | |
<init-param> | |
<param-name>JndiLocator.Class</param-name> | |
<param-value>com.siberhus.stars.ejb.DefaultJndiLocator</param-value> | |
</init-param> | |
<init-param> | |
<param-name>EjbLocator.Class</param-name> | |
<param-value>com.siberhus.stars.ejb.DefaultEjbLocator</param-value> | |
</init-param> | |
<init-param> | |
<param-name>JNDI.DefaultLookupTable</param-name> | |
<param-value> | |
javax.sql.DataSource=jdbc/bugzookyDs | |
javax.persistence.EntityManager=persistence/em | |
javax.persistence.EntityManagerFactory=persistence/emf | |
</param-value> | |
</init-param> | |
<init-param> | |
<param-name>JNDI.Properties</param-name> | |
<param-value> | |
java.naming.factory.initial=org.apache.openejb.client.LocalInitialContextFactory | |
bugzookyDs=new://Resource?type=DataSource | |
bugzookyDs.JdbcDriver=org.hsqldb.jdbcDriver | |
bugzookyDs.JdbcUrl=jdbc:hsqldb:mem:bugzooky | |
bugzookyDsUnmanaged=new://Resource?type=DataSource | |
bugzookyDsUnmanaged.JdbcDriver=org.hsqldb.jdbcDriver | |
bugzookyDsUnmanaged.JdbcUrl=jdbc:hsqldb:mem:bugzooky | |
bugzookyDsUnmanaged.JtaManaged=false | |
</param-value> | |
</init-param> | |
... | |
</filter> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment