View Javadoc

1   /*
2    * SymmetricDS is an open source database synchronization solution.
3    *   
4    * Copyright (C) Chris Henson <chenson42@users.sourceforge.net>
5    *
6    * This library is free software; you can redistribute it and/or
7    * modify it under the terms of the GNU Lesser General Public
8    * License as published by the Free Software Foundation; either
9    * version 3 of the License, or (at your option) any later version.
10   *
11   * This library is distributed in the hope that it will be useful,
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14   * Lesser General Public License for more details.
15   *
16   * You should have received a copy of the GNU Lesser General Public
17   * License along with this library; if not, see
18   * <http://www.gnu.org/licenses/>.
19   */
20  
21  package org.jumpmind.symmetric.config;
22  
23  /***
24   * This interface is used to pull the runtime configuration for this
25   * SymmetricDSinstallation.
26   * 
27   * If the registrationURL is null, then this server will not register with
28   * another server (it is likely that it is the host itself).
29   * 
30   * This interface is meant to be 'pluggable.' It might be that different
31   * installations might want to pull this information from different places.
32   */
33  @Deprecated
34  public interface IRuntimeConfig {
35  
36      /***
37       * Get the group id for this instance
38       */
39      public String getNodeGroupId();
40  
41      /***
42       * Get the external id for this instance
43       */
44      public String getExternalId();
45  
46      /***
47       * Provide the URL used to register at to get initial configuration
48       * information
49       */
50      public String getRegistrationUrl();
51  
52      /***
53       * Provide the URL of this specific instance of SymmetricDS
54       */
55      public String getMyUrl();
56  
57      /***
58       * Provide information about the version of the schema being sync'd.
59       */
60      public String getSchemaVersion();
61  
62  }