Escolar Documentos
Profissional Documentos
Cultura Documentos
com/refcardz/jetty
Refcard #154
18k
1 of 10 2/9/2016 11:35 PM
Core Jetty - DZone - Refcardz https://dzone.com/refcardz/jetty
SECTION 1
2 of 10 2/9/2016 11:35 PM
Core Jetty - DZone - Refcardz https://dzone.com/refcardz/jetty
SECTION 2
DESCRIPTION AND
CONNECTOR
USAGE
3 of 10 2/9/2016 11:35 PM
Core Jetty - DZone - Refcardz https://dzone.com/refcardz/jetty
SECTION 3
<Set name="threadPool">
<New class="org.eclipse.jetty.util.thread.Q
<Set name="minThreads">10</Set>
<Set name="maxThreads">10</Set>
</New>
</Set>
<Call name="addConnector">
4 of 10 2/9/2016 11:35 PM
Core Jetty - DZone - Refcardz https://dzone.com/refcardz/jetty
SECTION 4
<New class="org.eclipse.jetty.server.handle
<Set name="directoryListed">true</Set>
<Set name="resourceBase">./files</Set>
</New>
PROPERTY DESCRIPTION
5 of 10 2/9/2016 11:35 PM
Core Jetty - DZone - Refcardz https://dzone.com/refcardz/jetty
SECTION 5
<Configure id="webAppCtx"
class="org.eclipse.jetty.webapp.WebAppCo
<Arg><Ref id="webAppCtx"/></Arg>
<Arg>BeanManager</Arg>
<Arg>
<New class="javax.naming.Reference">
<Arg>javax.enterprise.inject.spi.BeanMan
<Arg>org.jboss.weld.resources.ManagerObj
10
<Arg/>
11
6 of 10 2/9/2016 11:35 PM
Core Jetty - DZone - Refcardz https://dzone.com/refcardz/jetty
SECTION 6
handler.setResourceBase("src/main/webapp"
handler.setDescriptor("src/main/webapp/WE
handler.setContextPath("/");
handler.setParentLoaderPriority(true);
7 of 10 2/9/2016 11:35 PM
Core Jetty - DZone - Refcardz https://dzone.com/refcardz/jetty
SECTION 7
File Description
8 of 10 2/9/2016 11:35 PM
Core Jetty - DZone - Refcardz https://dzone.com/refcardz/jetty
SECTION 8
A list of LoginService
implementations that are available to
loginServices
the
webapp.
Configures an implementation of a
requestLog
RequestLog.
9 of 10 2/9/2016 11:35 PM
Core Jetty - DZone - Refcardz https://dzone.com/refcardz/jetty
10 of 10 2/9/2016 11:35 PM