1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
package org.mule.transport.jms.config; |
8 | |
|
9 | |
import org.mule.config.spring.parsers.delegate.AbstractFirstResultSerialDefinitionParser; |
10 | |
import org.mule.config.spring.parsers.generic.ParentDefinitionParser; |
11 | |
import org.mule.config.spring.parsers.specific.ObjectFactoryWrapper; |
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
public class ConnectionFactoryDefinitionParser extends AbstractFirstResultSerialDefinitionParser |
18 | |
{ |
19 | |
public static final String USERNAME = "username"; |
20 | |
public static final String PASSWORD = "password"; |
21 | |
|
22 | |
public ConnectionFactoryDefinitionParser() |
23 | 0 | { |
24 | 0 | addDelegate(new ObjectFactoryWrapper("connectionFactory")).addIgnored(USERNAME).addIgnored(PASSWORD); |
25 | 0 | addDelegate(new ParentDefinitionParser()).setIgnoredDefault(true).removeIgnored(USERNAME).removeIgnored(PASSWORD); |
26 | 0 | } |
27 | |
} |