Package org.apache.derby.mbeans
Interface VersionMBean
-
- All Known Implementing Classes:
Version
public interface VersionMBeanThis interface defines a Standard MBean for exposing the version information of a running Derby component. Refer to the getters of the interface for defined attributes. All attributes are read-only. The MBean does not define any operations.Key properties for registered MBean:
-
type=Version -
jar={derby.jar|derbynet.jar} -
system=runtime system identifier (see overview)
If a security manager is installed these permissions are required:
-
SystemPermission("server", "monitor")for version information specific to derbynet.jar -
SystemPermission("engine", "monitor")for version information specific to derby.jar
- See Also:
SystemPermission
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetBuildNumber()intgetMaintenanceVersion()intgetMajorVersion()intgetMinorVersion()java.lang.StringgetProductName()java.lang.StringgetProductTechnologyName()java.lang.StringgetProductVendorName()java.lang.StringgetVersionString()Return the full version string.booleanisAlpha()booleanisBeta()
-
-
-
Method Detail
-
getProductName
java.lang.String getProductName()
-
getProductTechnologyName
java.lang.String getProductTechnologyName()
-
getProductVendorName
java.lang.String getProductVendorName()
-
getMajorVersion
int getMajorVersion()
-
getMinorVersion
int getMinorVersion()
-
getMaintenanceVersion
int getMaintenanceVersion()
-
getVersionString
java.lang.String getVersionString()
Return the full version string.- Returns:
- Full version string.
-
getBuildNumber
java.lang.String getBuildNumber()
-
isBeta
boolean isBeta()
-
isAlpha
boolean isAlpha()
-
-