1 /*
2 Copyright (c) 2003, J Aaron Farr
3 All rights reserved.
4
5 This software is published under the terms of the JadeTower Software License,
6 a BSD derived license, a copy of which has been included with this
7 distribution in the LICENSE file. <http://www.jadetower.org>
8 */
9
10 package org.jadetower.dao;
11
12 import org.jadetower.dao.exception.DaoException;
13
14
15 /***
16 * DaoManager interface
17 * @avalon.service version="0.6.5"
18 */
19 public interface DaoManager
20 {
21
22 public String ROLE = DaoManager.class.getName();
23
24 /***
25 * returns the DAO for this Name
26 */
27 public Object getDao(String name) throws DaoException;
28
29 /***
30 * released the DAO
31 * @param dao DAO Object
32 * @todo implement this method. Currently it does nothing.
33 */
34 public void release(Object dao);
35
36
37 }
This page was automatically generated by Maven