1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
package org.mule.config.spring.parsers.specific; |
12 | |
|
13 | |
import org.mule.config.spring.parsers.generic.ParentDefinitionParser; |
14 | |
import org.mule.config.spring.parsers.processors.ExtendTarget; |
15 | |
|
16 | |
public class IgnoreObjectMethodsDefinitionParser extends ParentDefinitionParser |
17 | |
{ |
18 | |
|
19 | |
public static final String IGNORED_METHOD = "ignoredMethod"; |
20 | |
|
21 | |
public IgnoreObjectMethodsDefinitionParser() |
22 | 0 | { |
23 | 0 | registerPostProcessor(new ExtendTarget(IGNORED_METHOD, "toString")); |
24 | 0 | registerPostProcessor(new ExtendTarget(IGNORED_METHOD, "hashCode")); |
25 | 0 | registerPostProcessor(new ExtendTarget(IGNORED_METHOD, "wait")); |
26 | 0 | registerPostProcessor(new ExtendTarget(IGNORED_METHOD, "notify")); |
27 | 0 | registerPostProcessor(new ExtendTarget(IGNORED_METHOD, "notifyAll")); |
28 | 0 | registerPostProcessor(new ExtendTarget(IGNORED_METHOD, "getClass")); |
29 | 0 | } |
30 | |
|
31 | |
} |