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