org.openmdx.kernel.environment.cci
Interface Platform_1_0

All Known Implementing Classes:
AbstractPlatform_1, Platform_1, Platform_1

public interface Platform_1_0


Method Summary
 String getImplementationTitle()
          Return the title of this application server.
 String getImplementationVendor()
          Returns the name of the organization, vendor or company that provided this implementation.
 String getImplementationVersion()
          Return the version of this implementation.
 String getMapping(VersionNumber before, int exactComponents, VersionNumber since)
          Get the implementation mapping.
 String getName()
          Return the name of the platform not including its version.
 String getSpecificationTitle()
          Return the title of the specification that this application server implements.
 String getSpecificationVendor()
          Return the name of the organization, vendor, or company that owns and maintains the specification of the classes that implement this application server.
 String getSpecificationVersion()
          Returns the version number of the specification that this application server implements.
 

Method Detail

getName

String getName()
Return the name of the platform not including its version.

Returns:
The platform's name, e.g. "jboss".

getSpecificationTitle

String getSpecificationTitle()
Return the title of the specification that this application server implements.

Returns:
the specification title, null is returned if it is not known.

getSpecificationVersion

String getSpecificationVersion()
Returns the version number of the specification that this application server implements. This version string must be a sequence of positive decimal integers separated by "."'s and may have leading zeros. When version strings are compared the most significant numbers are compared.

Returns:
the specification version, null is returned if it is not known.

getSpecificationVendor

String getSpecificationVendor()
Return the name of the organization, vendor, or company that owns and maintains the specification of the classes that implement this application server.

Returns:
the specification vendor, null is returned if it is not known.

getImplementationTitle

String getImplementationTitle()
Return the title of this application server.

Returns:
the title of the implementation, null is returned if it is not known.

getImplementationVersion

String getImplementationVersion()
Return the version of this implementation. It consists of any string assigned by the vendor of this implementation and does not have any particular syntax specified or expected by the Java runtime. It may be compared for equality with other application server version strings used for this implementation by this vendor for this application server.

Returns:
the version of the implementation, null is returned if it is not known.

getImplementationVendor

String getImplementationVendor()
Returns the name of the organization, vendor or company that provided this implementation.

Returns:
the vendor that implemented this application server.

getMapping

String getMapping(VersionNumber before,
                  int exactComponents,
                  VersionNumber since)
Get the implementation mapping.

getImplementationMapping( new VersionNumber("1.3"), 2, new VersionNumber("1.4") ) for example returns the following values depending in the Java Runtime Environment

Parameters:
before - Versions up to but not including before are mapped to family + ".before" + before unless before is null
exact - Version from before to but not including since are mapped to family + ".only" + partialVersion where partialVersion includes the number of components specified by the argument exact.
since - Versions from since on are mapped to family + ".since" + since unless since is null
Returns:
the implementation mappings


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.