01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.object.config;
05:
06: import java.util.List;
07: import java.util.Map;
08:
09: public interface DSOSpringConfigHelper {
10:
11: String getRootName();
12:
13: boolean isLocationInfoEnabled();
14:
15: // accessors
16: boolean isMatchingApplication(String applicationName);
17:
18: boolean isMatchingConfig(String configPath);
19:
20: boolean isDistributedEvent(String className);
21:
22: boolean isDistributedBean(String beanName);
23:
24: boolean isDistributedField(String beanName, String fieldName);
25:
26: boolean isFastProxyEnabled();
27:
28: /**
29: * Returns <code>Map</code> of <code>String</code> bean name to <code>Set</code> of the excluded fields.
30: */
31: Map getDistributedBeans();
32:
33: /**
34: * Returns <code>List</code> of <code>String</code> expressions for distributed event types.
35: */
36: List getDistributedEvents();
37:
38: // mutators
39: void addApplicationNamePattern(String pattern);
40:
41: void addConfigPattern(String pattern);
42:
43: void addDistributedEvent(String expression);
44:
45: void addBean(String name);
46:
47: void excludeField(String beanName, String fieldName);
48:
49: void setFastProxyEnabled(boolean b);
50:
51: void setRootName(String rootName);
52:
53: void setLocationInfoEnabled(boolean locationInfoEnabled);
54: }
|