Class Version
java.lang.Object
org.apache.derby.iapi.services.info.Version
- All Implemented Interfaces:
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringPermission target name for the object the version information applies to.private final ProductVersionHolder -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
versionInfo
-
permissionName
Permission target name for the object the version information applies to.
-
-
Constructor Details
-
Version
-
-
Method Details
-
checkMonitor
private void checkMonitor()Ensure caller has permission to monitor Derby. -
getProductName
- Specified by:
getProductNamein interfaceVersionMBean
-
getProductTechnologyName
- Specified by:
getProductTechnologyNamein interfaceVersionMBean
-
getProductVendorName
- Specified by:
getProductVendorNamein interfaceVersionMBean
-
getVersionString
Description copied from interface:VersionMBeanReturn the full version string.- Specified by:
getVersionStringin interfaceVersionMBean- Returns:
- Full version string.
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersionin interfaceVersionMBean
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersionin interfaceVersionMBean
-
getMaintenanceVersion
public int getMaintenanceVersion()- Specified by:
getMaintenanceVersionin interfaceVersionMBean
-
getBuildNumber
- Specified by:
getBuildNumberin interfaceVersionMBean
-
isBeta
public boolean isBeta()- Specified by:
isBetain interfaceVersionMBean
-
isAlpha
public boolean isAlpha()- Specified by:
isAlphain interfaceVersionMBean
-