01: /**
02: * Copyright 2003-2007 Luck Consulting Pty Ltd
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */package net.sf.ehcache.config;
16:
17: /**
18: * A class to represent the CacheManagerEventListener configuration.
19: * @author <a href="mailto:gluck@thoughtworks.com">Greg Luck</a>
20: * @version $Id: FactoryConfiguration.java 519 2007-07-27 07:11:45Z gregluck $
21: */
22: public class FactoryConfiguration {
23: /**
24: * class name.
25: */
26: protected String fullyQualifiedClassPath;
27:
28: /**
29: * properties.
30: */
31: protected String properties;
32:
33: /**
34: * A property separator. By default it is a comma, but other separators can be configured.
35: */
36: protected String propertySeparator;
37:
38: /**
39: * Sets the class name.
40: *
41: * @param fullyQualifiedClassPath
42: */
43: public final void setClass(String fullyQualifiedClassPath) {
44: this .fullyQualifiedClassPath = fullyQualifiedClassPath;
45: }
46:
47: /**
48: * Sets the configuration properties.
49: *
50: * @param properties
51: */
52: public final void setProperties(String properties) {
53: this .properties = properties;
54: }
55:
56: /**
57: * Getter.
58: */
59: public final String getFullyQualifiedClassPath() {
60: return fullyQualifiedClassPath;
61: }
62:
63: /**
64: * Getter.
65: */
66: public final String getProperties() {
67: return properties;
68: }
69:
70: /**
71: * Getter
72: */
73: public String getPropertySeparator() {
74: return propertySeparator;
75: }
76:
77: /**
78: * Setter
79: */
80: public void setPropertySeparator(String propertySeparator) {
81: this.propertySeparator = propertySeparator;
82: }
83: }
|