01: // Copyright 2004, 2005 The Apache Software Foundation
02: //
03: // Licensed under the Apache License, Version 2.0 (the "License");
04: // you may not use this file except in compliance with the License.
05: // You may obtain a copy of the License at
06: //
07: // http://www.apache.org/licenses/LICENSE-2.0
08: //
09: // Unless required by applicable law or agreed to in writing, software
10: // distributed under the License is distributed on an "AS IS" BASIS,
11: // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12: // See the License for the specific language governing permissions and
13: // limitations under the License.
14:
15: package hivemind.test.services.impl;
16:
17: import org.apache.hivemind.service.ClassFactory;
18:
19: import hivemind.test.services.SetObjectFixture;
20:
21: /**
22: * Used to test the BuilderFactory's set-object element.
23: *
24: * @author Howard Lewis Ship
25: */
26: public class SetObjectFixtureImpl implements SetObjectFixture {
27:
28: private ClassFactory _classFactory1;
29: private ClassFactory _classFactory2;
30:
31: public ClassFactory getClassFactory1() {
32: return _classFactory1;
33: }
34:
35: public ClassFactory getClassFactory2() {
36: return _classFactory2;
37: }
38:
39: public void setClassFactory1(ClassFactory factory) {
40: _classFactory1 = factory;
41: }
42:
43: public void setClassFactory2(ClassFactory factory) {
44: _classFactory2 = factory;
45: }
46:
47: }
|