public class PicoProvider extends java.lang.Object implements ContainerProvider
Constructor and Description |
---|
PicoProvider() |
Modifier and Type | Method and Description |
---|---|
protected PicoComponentRegistry |
getComponentRegistry() |
Container |
getContainer() |
<T> T |
provideForRequest(RequestInfo request,
Execution<T> execution) |
protected void |
registerBundledComponents(ComponentRegistry registry)
Register default vraptor-pico implementation components.
|
protected void |
registerCustomComponents(ComponentRegistry registry) |
void |
start(javax.servlet.ServletContext context) |
void |
stop() |
public final void start(javax.servlet.ServletContext context)
start
in interface ContainerProvider
public Container getContainer()
getContainer
in interface ContainerProvider
protected void registerBundledComponents(ComponentRegistry registry)
protected void registerCustomComponents(ComponentRegistry registry)
public void stop()
stop
in interface ContainerProvider
public <T> T provideForRequest(RequestInfo request, Execution<T> execution)
provideForRequest
in interface ContainerProvider
protected PicoComponentRegistry getComponentRegistry()
Copyright © 2013 Caelum. All Rights Reserved.