org.eclipse.jetty.plus.webapp
Class AbstractConfiguration.PlusWebXmlProcessor

java.lang.Object
  extended by org.eclipse.jetty.plus.webapp.AbstractConfiguration.PlusWebXmlProcessor
Enclosing class:
AbstractConfiguration

public class AbstractConfiguration.PlusWebXmlProcessor
extends Object


Constructor Summary
AbstractConfiguration.PlusWebXmlProcessor(WebAppContext context)
           
 
Method Summary
protected  void initEnvEntry(XmlParser.Node node)
          JavaEE 5.4.1.3
protected  void initInjection(XmlParser.Node node, String jndiName, Class valueClass)
          Iterate over the <injection-target> entries for a node
protected  void initMessageDestinationRef(XmlParser.Node node)
          Common Annotations Spec section 2.3: message-destination-ref is for: - javax.jms.Queue - javax.jms.Topic
protected  void initPostConstruct(XmlParser.Node node)
          Process <post-construct>
protected  void initPreDestroy(XmlParser.Node node)
          Process <pre-destroy>
protected  void initResourceEnvRef(XmlParser.Node node)
          Common Annotations Spec section 2.3: resource-env-ref is for: - javax.transaction.UserTransaction - javax.resource.cci.InteractionSpec - anything else that is not a connection factory
protected  void initResourceRef(XmlParser.Node node)
          Common Annotations Spec section 2.3: resource-ref is for: - javax.sql.DataSource - javax.jms.ConnectionFactory - javax.jms.QueueConnectionFactory - javax.jms.TopicConnectionFactory - javax.mail.Session - java.net.URL - javax.resource.cci.ConnectionFactory - org.omg.CORBA_2_3.ORB - any other connection factory defined by a resource adapter
protected  void initWebXmlElement(String element, XmlParser.Node node)
           
 void process(WebXmlProcessor.Descriptor d)
           
 void process(XmlParser.Node root)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractConfiguration.PlusWebXmlProcessor

public AbstractConfiguration.PlusWebXmlProcessor(WebAppContext context)
Method Detail

process

public void process(WebXmlProcessor.Descriptor d)
             throws Exception
Throws:
Exception

process

public void process(XmlParser.Node root)
             throws Exception
Throws:
Exception

initWebXmlElement

protected void initWebXmlElement(String element,
                                 XmlParser.Node node)
                          throws Exception
Throws:
Exception

initEnvEntry

protected void initEnvEntry(XmlParser.Node node)
                     throws Exception
JavaEE 5.4.1.3

Parameters:
node -
Throws:
Exception

initResourceRef

protected void initResourceRef(XmlParser.Node node)
                        throws Exception
Common Annotations Spec section 2.3: resource-ref is for: - javax.sql.DataSource - javax.jms.ConnectionFactory - javax.jms.QueueConnectionFactory - javax.jms.TopicConnectionFactory - javax.mail.Session - java.net.URL - javax.resource.cci.ConnectionFactory - org.omg.CORBA_2_3.ORB - any other connection factory defined by a resource adapter

Parameters:
node -
Throws:
Exception

initResourceEnvRef

protected void initResourceEnvRef(XmlParser.Node node)
                           throws Exception
Common Annotations Spec section 2.3: resource-env-ref is for: - javax.transaction.UserTransaction - javax.resource.cci.InteractionSpec - anything else that is not a connection factory

Parameters:
node -
Throws:
Exception

initMessageDestinationRef

protected void initMessageDestinationRef(XmlParser.Node node)
                                  throws Exception
Common Annotations Spec section 2.3: message-destination-ref is for: - javax.jms.Queue - javax.jms.Topic

Parameters:
node -
Throws:
Exception

initPostConstruct

protected void initPostConstruct(XmlParser.Node node)
Process <post-construct>

Parameters:
node -

initPreDestroy

protected void initPreDestroy(XmlParser.Node node)
Process <pre-destroy>

Parameters:
node -

initInjection

protected void initInjection(XmlParser.Node node,
                             String jndiName,
                             Class valueClass)
Iterate over the <injection-target> entries for a node

Parameters:
node -
jndiName -
valueClass -


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