Patch checkpoint.

Service descriptor changes including introduction of schema number.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2161 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2006-01-20 14:45:16 +00:00
parent b4220a973b
commit 02dc9ced9b
20 changed files with 407 additions and 359 deletions

View File

@@ -25,21 +25,21 @@ package org.alfresco.service.descriptor;
public interface Descriptor
{
/**
* Gets the major version number
* Gets the major version number, e.g. <u>1</u>.2.3
*
* @return major version number
*/
public String getVersionMajor();
/**
* Gets the minor version number
* Gets the minor version number, e.g. 1.<u>2</u>.3
*
* @return minor version number
*/
public String getVersionMinor();
/**
* Gets the version revision number
* Gets the version revision number, e.g. 1.2.<u>3</u>
*
* @return revision number
*/
@@ -66,6 +66,13 @@ public interface Descriptor
*/
public String getEdition();
/**
* Gets the schema number
*
* @return a positive integer
*/
public int getSchema();
/**
* Gets the list available descriptors
*

View File

@@ -30,7 +30,7 @@ public interface DescriptorService
*
* @return server descriptor
*/
public Descriptor getDescriptor();
public Descriptor getServerDescriptor();
/**
* Get descriptor for the repository