|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jetty.webapp.IterativeDescriptorProcessor
org.eclipse.jetty.plus.webapp.PlusDescriptorProcessor
public class PlusDescriptorProcessor
PlusDescriptorProcessor
Field Summary |
---|
Fields inherited from class org.eclipse.jetty.webapp.IterativeDescriptorProcessor |
---|
__signature, _visitors |
Constructor Summary | |
---|---|
PlusDescriptorProcessor()
|
Method Summary | |
---|---|
void |
addInjections(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node,
java.lang.String jndiName,
java.lang.Class<?> valueClass)
Iterate over the <injection-target> entries for a node |
protected void |
bindEntry(WebAppContext context,
java.lang.String name,
java.lang.Class<?> typeClass)
Bind a resource with the given name from web.xml of the given type with a jndi resource from either the server or the webapp's naming environment. |
void |
bindEnvEntry(java.lang.String name,
java.lang.Object value)
|
void |
bindMessageDestinationRef(WebAppContext context,
java.lang.String name,
java.lang.Class<?> typeClass)
|
void |
bindResourceEnvRef(WebAppContext context,
java.lang.String name,
java.lang.Class<?> typeClass)
|
void |
bindResourceRef(WebAppContext context,
java.lang.String name,
java.lang.Class<?> typeClass)
Bind a resource reference. |
void |
end(WebAppContext context,
Descriptor descriptor)
|
void |
start(WebAppContext context,
Descriptor descriptor)
|
void |
visitEnvEntry(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node)
JavaEE 5.4.1.3 |
void |
visitMessageDestinationRef(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node)
Common Annotations Spec section 2.3: message-destination-ref is for: - javax.jms.Queue - javax.jms.Topic |
void |
visitPostConstruct(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node)
If web.xml has at least 1 post-construct, then all post-constructs in fragments are ignored. |
void |
visitPreDestroy(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node)
pre-destroy is the name of a class and method to call just as the instance is being destroyed |
void |
visitResourceEnvRef(WebAppContext context,
Descriptor descriptor,
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 |
void |
visitResourceRef(WebAppContext context,
Descriptor descriptor,
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 TODO If web.xml contains a resource-ref with injection targets, all resource-ref entries of the same name are ignored in web fragments. |
Methods inherited from class org.eclipse.jetty.webapp.IterativeDescriptorProcessor |
---|
process, registerVisitor, visit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlusDescriptorProcessor()
Method Detail |
---|
public void start(WebAppContext context, Descriptor descriptor)
start
in class IterativeDescriptorProcessor
IterativeDescriptorProcessor.start(WebAppContext, org.eclipse.jetty.webapp.Descriptor)
public void end(WebAppContext context, Descriptor descriptor)
end
in class IterativeDescriptorProcessor
org.eclipse.jetty.webapp.IterativeDescriptorProcessor#end(org.eclipse.jetty.webapp.Descriptor, WebAppContext)
public void visitEnvEntry(WebAppContext context, Descriptor descriptor, XmlParser.Node node) throws java.lang.Exception
node
-
java.lang.Exception
public void visitResourceRef(WebAppContext context, Descriptor descriptor, XmlParser.Node node) throws java.lang.Exception
node
-
java.lang.Exception
public void visitResourceEnvRef(WebAppContext context, Descriptor descriptor, XmlParser.Node node) throws java.lang.Exception
node
-
java.lang.Exception
public void visitMessageDestinationRef(WebAppContext context, Descriptor descriptor, XmlParser.Node node) throws java.lang.Exception
node
-
java.lang.Exception
public void visitPostConstruct(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
node
- public void visitPreDestroy(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
node
- public void addInjections(WebAppContext context, Descriptor descriptor, XmlParser.Node node, java.lang.String jndiName, java.lang.Class<?> valueClass)
descriptor
- node
- jndiName
- valueClass
- public void bindEnvEntry(java.lang.String name, java.lang.Object value) throws java.lang.Exception
name
- value
-
java.lang.Exception
org.eclipse.jetty.plus.webapp.AbstractConfiguration#bindEnvEntry(java.lang.String, java.lang.String)
public void bindResourceRef(WebAppContext context, java.lang.String name, java.lang.Class<?> typeClass) throws java.lang.Exception
name
-
java.lang.Exception
org.eclipse.jetty.plus.webapp.AbstractConfiguration#bindResourceRef(java.lang.String)
public void bindResourceEnvRef(WebAppContext context, java.lang.String name, java.lang.Class<?> typeClass) throws java.lang.Exception
name
-
java.lang.Exception
org.eclipse.jetty.plus.webapp.AbstractConfiguration#bindResourceEnvRef(java.lang.String)
public void bindMessageDestinationRef(WebAppContext context, java.lang.String name, java.lang.Class<?> typeClass) throws java.lang.Exception
java.lang.Exception
protected void bindEntry(WebAppContext context, java.lang.String name, java.lang.Class<?> typeClass) throws java.lang.Exception
name
- name of the resource from web.xmltypeClass
-
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |