|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jetty.webapp.IterativeDescriptorProcessor
org.eclipse.jetty.plus.webapp.PlusDescriptorProcessor
public class PlusDescriptorProcessor
PlusDescriptorProcessor
| 字段摘要 |
|---|
| 从类 org.eclipse.jetty.webapp.IterativeDescriptorProcessor 继承的字段 |
|---|
__signature, _visitors |
| 构造方法摘要 | |
|---|---|
PlusDescriptorProcessor()
|
|
| 方法摘要 | |
|---|---|
void |
addInjections(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node,
String jndiName,
Class<?> valueClass)
Iterate over the <injection-target> entries for a node |
protected void |
bindEntry(WebAppContext context,
String name,
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(String name,
Object value)
|
void |
bindMessageDestinationRef(WebAppContext context,
String name,
Class<?> typeClass)
|
void |
bindResourceEnvRef(WebAppContext context,
String name,
Class<?> typeClass)
|
void |
bindResourceRef(WebAppContext context,
String name,
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. |
| 从类 org.eclipse.jetty.webapp.IterativeDescriptorProcessor 继承的方法 |
|---|
process, registerVisitor, visit |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public PlusDescriptorProcessor()
| 方法详细信息 |
|---|
public void start(WebAppContext context,
Descriptor descriptor)
IterativeDescriptorProcessor 中的 startIterativeDescriptorProcessor.start(WebAppContext, org.eclipse.jetty.webapp.Descriptor)
public void end(WebAppContext context,
Descriptor descriptor)
IterativeDescriptorProcessor 中的 end
public void visitEnvEntry(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node)
throws Exception
node -
Exception
public void visitResourceRef(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node)
throws Exception
node -
Exception
public void visitResourceEnvRef(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node)
throws Exception
node -
Exception
public void visitMessageDestinationRef(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node)
throws Exception
node -
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,
String jndiName,
Class<?> valueClass)
descriptor - node - jndiName - valueClass -
public void bindEnvEntry(String name,
Object value)
throws Exception
name - value -
Exception
public void bindResourceRef(WebAppContext context,
String name,
Class<?> typeClass)
throws Exception
name -
Exception
public void bindResourceEnvRef(WebAppContext context,
String name,
Class<?> typeClass)
throws Exception
name -
Exception
public void bindMessageDestinationRef(WebAppContext context,
String name,
Class<?> typeClass)
throws Exception
Exception
protected void bindEntry(WebAppContext context,
String name,
Class<?> typeClass)
throws Exception
name - name of the resource from web.xmltypeClass -
Exception
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||