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 String
Permission 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:
getProductName
in interfaceVersionMBean
-
getProductTechnologyName
- Specified by:
getProductTechnologyName
in interfaceVersionMBean
-
getProductVendorName
- Specified by:
getProductVendorName
in interfaceVersionMBean
-
getVersionString
Description copied from interface:VersionMBean
Return the full version string.- Specified by:
getVersionString
in interfaceVersionMBean
- Returns:
- Full version string.
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersion
in interfaceVersionMBean
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersion
in interfaceVersionMBean
-
getMaintenanceVersion
public int getMaintenanceVersion()- Specified by:
getMaintenanceVersion
in interfaceVersionMBean
-
getBuildNumber
- Specified by:
getBuildNumber
in interfaceVersionMBean
-
isBeta
public boolean isBeta()- Specified by:
isBeta
in interfaceVersionMBean
-
isAlpha
public boolean isAlpha()- Specified by:
isAlpha
in interfaceVersionMBean
-