org.eclipse.jetty.plus.annotation
类 ContainerInitializer
java.lang.Object
org.eclipse.jetty.plus.annotation.ContainerInitializer
public class ContainerInitializer
- extends Object
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_target
protected ServletContainerInitializer _target
_interestedTypes
protected Class[] _interestedTypes
_applicableTypeNames
protected Set<String> _applicableTypeNames
_annotatedTypeNames
protected Set<String> _annotatedTypeNames
ContainerInitializer
public ContainerInitializer()
setTarget
public void setTarget(ServletContainerInitializer target)
getTarget
public ServletContainerInitializer getTarget()
getInterestedTypes
public Class[] getInterestedTypes()
setInterestedTypes
public void setInterestedTypes(Class[] interestedTypes)
addAnnotatedTypeName
public void addAnnotatedTypeName(String className)
- A class has been found that has an annotation of interest
to this initializer.
- 参数:
className -
getAnnotatedTypeNames
public Set<String> getAnnotatedTypeNames()
addApplicableTypeName
public void addApplicableTypeName(String className)
getApplicableTypeNames
public Set<String> getApplicableTypeNames()
callStartup
public void callStartup(WebAppContext context)
throws Exception
- 抛出:
Exception
Copyright © 2013. All Rights Reserved.