public interface DescriptorService
Modifier and Type | Method and Description |
---|---|
Descriptor |
getCurrentRepositoryDescriptor()
Get current descriptor for the repository.
|
Descriptor |
getInstalledRepositoryDescriptor()
Get descriptor for the repository as it was when first installed.
|
LicenseDescriptor |
getLicenseDescriptor()
Gets the License Descriptor
|
Descriptor |
getServerDescriptor()
Get descriptor for the alfresco software installed on the server.
|
boolean |
isBootstrapped()
Is this service bootstrapped?
|
String |
loadLicense()
Attempts to load the license.
|
String |
loadLicense(InputStream licenseStream)
Attempts to load the license from the input stream.
|
@NotAuditable Descriptor getServerDescriptor()
The information contained by this descriptor is read from a property file. The following properties are available in the descriptor
@NotAuditable Descriptor getCurrentRepositoryDescriptor()
The information in this descriptor is read from a node in the system store. After the patch process runs successfully, the version Major/Minor/Revision should be equal to the server descriptor.
The "repository id" that uniquely identifies each alfresco repository is available in the "id" property.
The following properties are available in the descriptor
@NotAuditable Descriptor getInstalledRepositoryDescriptor()
The information in this descriptor is read from a node in the system store.
@NotAuditable LicenseDescriptor getLicenseDescriptor()
String loadLicense()
String loadLicense(InputStream licenseStream)
boolean isBootstrapped()
Copyright © 2005–2017 Alfresco Software. All rights reserved.