View Javadoc

1   /**
2    *  Copyright 2003-2006 Greg Luck
3    *
4    *  Licensed under the Apache License, Version 2.0 (the "License");
5    *  you may not use this file except in compliance with the License.
6    *  You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
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   */
16  
17  package net.sf.ehcache.config;
18  
19  /**
20   * A class to represent the CacheManagerEventListener configuration.
21   * @author <a href="mailto:gluck@thoughtworks.com">Greg Luck</a>
22   * @version $Id: FactoryConfiguration.java 52 2006-04-24 14:50:03Z gregluck $
23   */
24  public class FactoryConfiguration {
25      /**
26       * class name.
27       */
28      protected String fullyQualifiedClassPath;
29  
30      /**
31       * properties.
32       */
33      protected String properties;
34  
35  
36      /**
37       * Sets the class name.
38       *
39       * @param fullyQualifiedClassPath
40       */
41      public final void setClass(String fullyQualifiedClassPath) {
42          this.fullyQualifiedClassPath = fullyQualifiedClassPath;
43      }
44  
45      /**
46       * Sets the configuration properties.
47       *
48       * @param properties
49       */
50      public final void setProperties(String properties) {
51          this.properties = properties;
52      }
53  
54      /**
55       * Getter.
56       */
57      public final String getFullyQualifiedClassPath() {
58          return fullyQualifiedClassPath;
59      }
60  
61      /**
62       * Getter.
63       */
64      public final String getProperties() {
65          return properties;
66      }
67  
68  }