01: /* Copyright 2005 David N. Welton <davidw@dedasys.com>
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:
16: package org.hecl.rms;
17:
18: import org.hecl.HeclException;
19: import org.hecl.Interp;
20: import org.hecl.HeclModule;
21:
22: /**
23: * The <code>RMSModule</code> class takes care of setup and tear-down
24: * of the resources needed for dealing with record stores.
25: *
26: * @author <a href="mailto:davidw@dedasys.com">David N. Welton</a>
27: * @version 1.0
28: */
29: public class RMSModule implements HeclModule {
30:
31: public void loadModule(Interp interp) throws HeclException {
32: RMSCmd.load(interp);
33: }
34:
35: public void unloadModule(Interp interp) throws HeclException {
36: RMSCmd.unload(interp);
37: }
38: }
|