org.apache.derby.iapi.services.info
Class Version
java.lang.Object
org.apache.derby.iapi.services.info.Version
- All Implemented Interfaces:
- VersionMBean
public class Version
- extends java.lang.Object
- implements VersionMBean
This implementation of VersionMBean instruments a
ProductVersionHolder object. The MBean interface is implemented with
callbacks to the wrapped object which gives detailed version information.
- See Also:
ProductVersionHolder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionInfo
private final ProductVersionHolder versionInfo
permissionName
private final java.lang.String permissionName
- Permission target name for the object the version
information applies to.
Version
public Version(ProductVersionHolder pvh,
java.lang.String permissionName)
checkMonitor
private void checkMonitor()
- Ensure caller has permission to monitor Derby.
getProductName
public java.lang.String getProductName()
- Specified by:
getProductName
in interface VersionMBean
getProductTechnologyName
public java.lang.String getProductTechnologyName()
- Specified by:
getProductTechnologyName
in interface VersionMBean
getProductVendorName
public java.lang.String getProductVendorName()
- Specified by:
getProductVendorName
in interface VersionMBean
getVersionString
public java.lang.String getVersionString()
- Description copied from interface:
VersionMBean
- Return the full version string.
- Specified by:
getVersionString
in interface VersionMBean
- Returns:
- Full version string.
getMajorVersion
public int getMajorVersion()
- Specified by:
getMajorVersion
in interface VersionMBean
getMinorVersion
public int getMinorVersion()
- Specified by:
getMinorVersion
in interface VersionMBean
getMaintenanceVersion
public int getMaintenanceVersion()
- Specified by:
getMaintenanceVersion
in interface VersionMBean
getBuildNumber
public java.lang.String getBuildNumber()
- Specified by:
getBuildNumber
in interface VersionMBean
isBeta
public boolean isBeta()
- Specified by:
isBeta
in interface VersionMBean
isAlpha
public boolean isAlpha()
- Specified by:
isAlpha
in interface VersionMBean
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.