KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > object > config > DSOSpringConfigHelper


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.object.config;
5
6 import java.util.List JavaDoc;
7 import java.util.Map JavaDoc;
8
9 public interface DSOSpringConfigHelper {
10
11   String JavaDoc getRootName();
12   
13   boolean isLocationInfoEnabled();
14   
15   // accessors
16
boolean isMatchingApplication(String JavaDoc applicationName);
17
18   boolean isMatchingConfig(String JavaDoc configPath);
19
20   boolean isDistributedEvent(String JavaDoc className);
21
22   boolean isDistributedBean(String JavaDoc beanName);
23
24   boolean isDistributedField(String JavaDoc beanName, String JavaDoc 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 JavaDoc getDistributedBeans();
32
33   /**
34    * Returns <code>List</code> of <code>String</code> expressions for distributed event types.
35    */

36   List JavaDoc getDistributedEvents();
37
38   // mutators
39
void addApplicationNamePattern(String JavaDoc pattern);
40
41   void addConfigPattern(String JavaDoc pattern);
42
43   void addDistributedEvent(String JavaDoc expression);
44
45   void addBean(String JavaDoc name);
46
47   void excludeField(String JavaDoc beanName, String JavaDoc fieldName);
48
49   void setFastProxyEnabled(boolean b);
50
51   void setRootName(String JavaDoc rootName);
52
53   void setLocationInfoEnabled(boolean locationInfoEnabled);
54 }
55
Popular Tags