~james-page/ubuntu/oneiric/jenkins-winstone/827651

« back to all changes in this revision

Viewing changes to src/java/winstone/JNDIManager.java

  • Committer: Bazaar Package Importer
  • Author(s): James Page
  • Date: 2011-06-29 12:16:17 UTC
  • Revision ID: james.westby@ubuntu.com-20110629121617-vd3ha6lp4nqvxkbr
Tags: upstream-0.9.10-jenkins-25+dfsg
ImportĀ upstreamĀ versionĀ 0.9.10-jenkins-25+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2003-2006 Rick Knowles <winstone-devel at lists sourceforge net>
 
3
 * Distributed under the terms of either:
 
4
 * - the common development and distribution license (CDDL), v1.0; or
 
5
 * - the GNU Lesser General Public License, v2.1 or later
 
6
 */
 
7
package winstone;
 
8
 
 
9
/**
 
10
 * Handles setup and teardown of the JNDI context
 
11
 * 
 
12
 * @author <a href="mailto:rick_knowles@hotmail.com">Rick Knowles</a>
 
13
 * @version $Id: JNDIManager.java,v 1.2 2006/02/28 07:32:47 rickknowles Exp $
 
14
 */
 
15
public interface JNDIManager {
 
16
    /**
 
17
     * Add the objects passed to the constructor to the JNDI Context addresses
 
18
     * specified
 
19
     */
 
20
    public void setup();
 
21
 
 
22
    /**
 
23
     * Remove the objects under administration from the JNDI Context, and then
 
24
     * destroy the objects
 
25
     */
 
26
    public void tearDown();
 
27
}