|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.util.AbstractLifecycleBean
org.alfresco.repo.descriptor.DescriptorServiceImpl
public class DescriptorServiceImpl
Implementation of Descriptor Service
| Nested Class Summary | |
|---|---|
class |
DescriptorServiceImpl.BaseDescriptor
Base class for Descriptor implementations, provides a default getVersion() implementation. |
| Field Summary |
|---|
| Fields inherited from class org.alfresco.util.AbstractLifecycleBean |
|---|
log |
| Constructor Summary | |
|---|---|
DescriptorServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initialise Descriptors |
Descriptor |
getCurrentRepositoryDescriptor()
Get descriptor for the repository as it is currently installed. |
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 server |
protected void |
onBootstrap(org.springframework.context.ApplicationEvent event)
|
protected void |
onShutdown(org.springframework.context.ApplicationEvent event)
|
void |
setDescriptor(org.springframework.core.io.Resource descriptorResource)
Sets the server descriptor from a resource file |
void |
setNamespaceService(NamespaceService namespaceService)
|
void |
setNodeService(NodeService nodeService)
|
void |
setRepositoryName(java.lang.String repositoryName)
Sets the repository properties from a resource file |
void |
setSearchService(SearchService searchService)
|
void |
setSystemBootstrap(ImporterBootstrap systemBootstrap)
|
void |
setTransactionService(TransactionService transactionService)
|
| Methods inherited from class org.alfresco.util.AbstractLifecycleBean |
|---|
getApplicationContext, onApplicationEvent, setApplicationContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DescriptorServiceImpl()
| Method Detail |
|---|
public void setRepositoryName(java.lang.String repositoryName)
throws java.io.IOException
repositoryResource - resource containing repository properties
java.io.IOException
public void setDescriptor(org.springframework.core.io.Resource descriptorResource)
throws java.io.IOException
descriptorResource - resource containing server descriptor meta-data
java.io.IOExceptionpublic void setSystemBootstrap(ImporterBootstrap systemBootstrap)
systemBootstrap - system bootstrappublic void setTransactionService(TransactionService transactionService)
transactionService - transaction servicepublic void setNamespaceService(NamespaceService namespaceService)
namespaceService - namespace servicepublic void setNodeService(NodeService nodeService)
nodeService - node servicepublic void setSearchService(SearchService searchService)
searchService - search servicepublic Descriptor getServerDescriptor()
DescriptorService
getServerDescriptor in interface DescriptorServicepublic Descriptor getCurrentRepositoryDescriptor()
DescriptorServiceserver descriptor.
getCurrentRepositoryDescriptor in interface DescriptorServicepublic Descriptor getInstalledRepositoryDescriptor()
DescriptorService
getInstalledRepositoryDescriptor in interface DescriptorServicepublic LicenseDescriptor getLicenseDescriptor()
DescriptorService
getLicenseDescriptor in interface DescriptorServiceprotected void onBootstrap(org.springframework.context.ApplicationEvent event)
onBootstrap in class org.alfresco.util.AbstractLifecycleBeanprotected void onShutdown(org.springframework.context.ApplicationEvent event)
onShutdown in class org.alfresco.util.AbstractLifecycleBean
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||