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 {
23 registerPostProcessor(new ExtendTarget(IGNORED_METHOD, "toString"));
24 registerPostProcessor(new ExtendTarget(IGNORED_METHOD, "hashCode"));
25 registerPostProcessor(new ExtendTarget(IGNORED_METHOD, "wait"));
26 registerPostProcessor(new ExtendTarget(IGNORED_METHOD, "notify"));
27 registerPostProcessor(new ExtendTarget(IGNORED_METHOD, "notifyAll"));
28 registerPostProcessor(new ExtendTarget(IGNORED_METHOD, "getClass"));
29 }
30
31 }