Package org.joinfaces.weld
Class NoopContainer
java.lang.Object
org.joinfaces.weld.NoopContainer
- All Implemented Interfaces:
org.jboss.weld.environment.servlet.Container
Simple
Container
implementation which does nothing.
The main purpose of this class is to stop weld from re-injecting fields in AdminFilter
.
-
Field Summary
Fields inherited from interface org.jboss.weld.environment.servlet.Container
CONTEXT_PARAM_CONTAINER_CLASS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy
(org.jboss.weld.environment.servlet.ContainerContext context) void
initialize
(org.jboss.weld.environment.servlet.ContainerContext context) boolean
touch
(ResourceLoader resourceLoader, org.jboss.weld.environment.servlet.ContainerContext context)
-
Constructor Details
-
NoopContainer
public NoopContainer()
-
-
Method Details
-
touch
public boolean touch(ResourceLoader resourceLoader, org.jboss.weld.environment.servlet.ContainerContext context) - Specified by:
touch
in interfaceorg.jboss.weld.environment.servlet.Container
-
initialize
public void initialize(org.jboss.weld.environment.servlet.ContainerContext context) - Specified by:
initialize
in interfaceorg.jboss.weld.environment.servlet.Container
-
destroy
public void destroy(org.jboss.weld.environment.servlet.ContainerContext context) - Specified by:
destroy
in interfaceorg.jboss.weld.environment.servlet.Container
-