public class ServletContextBeanArchiveHandler extends Object implements BeanArchiveHandler
Modifier and Type | Field and Description |
---|---|
protected static String |
DOT |
protected static String |
SLASH |
Constructor and Description |
---|
ServletContextBeanArchiveHandler(javax.servlet.ServletContext servletContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
add(String rootPath,
String subpath,
BeanArchiveBuilder builder) |
BeanArchiveBuilder |
handle(String path)
The returned builder must only contain a complete set of found classes, other properties do not have to be set.
|
protected static final String SLASH
protected static final String DOT
public ServletContextBeanArchiveHandler(javax.servlet.ServletContext servletContext)
servletContext
- public BeanArchiveBuilder handle(String path)
BeanArchiveHandler
handle
in interface BeanArchiveHandler
path
- A reference to a bean archive (e.g. file path)null
if the reference cannot be handledprotected void add(String rootPath, String subpath, BeanArchiveBuilder builder)
Copyright © 2016. All rights reserved.