org.eclipse.jetty.plus.annotation
Class ContainerInitializer

java.lang.Object
  extended by org.eclipse.jetty.plus.annotation.ContainerInitializer

public class ContainerInitializer
extends java.lang.Object


Field Summary
protected  java.util.Set<java.lang.String> _annotatedTypeNames
           
protected  java.util.Set<java.lang.String> _applicableTypeNames
           
protected  java.lang.Class[] _interestedTypes
           
protected  javax.servlet.ServletContainerInitializer _target
           
 
Constructor Summary
ContainerInitializer()
           
 
Method Summary
 void addAnnotatedTypeName(java.lang.String className)
          A class has been found that has an annotation of interest to this initializer.
 void addApplicableTypeName(java.lang.String className)
           
 void callStartup(WebAppContext context)
           
 java.util.Set<java.lang.String> getAnnotatedTypeNames()
           
 java.util.Set<java.lang.String> getApplicableTypeNames()
           
 java.lang.Class[] getInterestedTypes()
           
 javax.servlet.ServletContainerInitializer getTarget()
           
 void setInterestedTypes(java.lang.Class[] interestedTypes)
           
 void setTarget(javax.servlet.ServletContainerInitializer target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_target

protected javax.servlet.ServletContainerInitializer _target

_interestedTypes

protected java.lang.Class[] _interestedTypes

_applicableTypeNames

protected java.util.Set<java.lang.String> _applicableTypeNames

_annotatedTypeNames

protected java.util.Set<java.lang.String> _annotatedTypeNames
Constructor Detail

ContainerInitializer

public ContainerInitializer()
Method Detail

setTarget

public void setTarget(javax.servlet.ServletContainerInitializer target)

getTarget

public javax.servlet.ServletContainerInitializer getTarget()

getInterestedTypes

public java.lang.Class[] getInterestedTypes()

setInterestedTypes

public void setInterestedTypes(java.lang.Class[] interestedTypes)

addAnnotatedTypeName

public void addAnnotatedTypeName(java.lang.String className)
A class has been found that has an annotation of interest to this initializer.

Parameters:
className -

getAnnotatedTypeNames

public java.util.Set<java.lang.String> getAnnotatedTypeNames()

addApplicableTypeName

public void addApplicableTypeName(java.lang.String className)

getApplicableTypeNames

public java.util.Set<java.lang.String> getApplicableTypeNames()

callStartup

public void callStartup(WebAppContext context)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.