Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/enterpriseobjectbroker/BeanContext.java


1   /*****************************************************************************
2    * Copyright (C) Enterprise Object Broker Organization. All rights reserved. *
3    * ------------------------------------------------------------------------- *
4    * The software in this package is published under the terms of the BSD      *
5    * style license a copy of which has been included with this distribution in *
6    * the license.html file.                                                    *
7    *****************************************************************************/
8   package org.enterpriseobjectbroker;
9   
10  import java.io.File;
11  
12  import org.apache.avalon.framework.context.Context;
13  
14  /**
15   * Interface BeanContext
16   *
17   *
18   * @author Paul Hammant
19   * @version * $Revision: 1.2 $
20   */
21  public interface BeanContext extends Context
22  {
23      /**
24       * The node name for the bean's unpack directory
25       */
26      String BEANDIR = "bean.dir";
27  
28      /**
29       * The node name for the app's unpack directory
30       */
31      String APPDIR = "app.dir";
32  
33      /**
34       * Get the Bean Directory
35       *
36       *
37       * @return The directory
38       *
39       */
40      File getBeanDirectory();
41  
42      /**
43       * Get the Application Directory
44       *
45       *
46       * @return The directory
47       *
48       */
49      File getApplicationDirectory();
50  }