|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.extensions.surf.util.AbstractLifecycleBean
org.alfresco.repo.descriptor.DescriptorServiceImpl
public class DescriptorServiceImpl
Implementation of Descriptor Service.
| Nested Class Summary | |
|---|---|
static class |
DescriptorServiceImpl.BaseDescriptor
Base class for Descriptor implementations, provides a default getVersion() implementation. |
| Field Summary |
|---|
| Fields inherited from class org.springframework.extensions.surf.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 |
setCurrentRepoDescriptorDAO(DescriptorDAO currentRepoDescriptorDAO)
Sets the current repo descriptor DAO. |
void |
setInstalledRepoDescriptorDAO(DescriptorDAO installedRepoDescriptorDAO)
Sets the installed repo descriptor DAO. |
void |
setServerDescriptorDAO(DescriptorDAO serverDescriptorDAO)
Sets the server descriptor DAO. |
void |
setTransactionService(TransactionService transactionService)
Sets the transaction service. |
| Methods inherited from class org.springframework.extensions.surf.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 setServerDescriptorDAO(DescriptorDAO serverDescriptorDAO)
serverDescriptorDAO - the new server descriptor DAOpublic void setCurrentRepoDescriptorDAO(DescriptorDAO currentRepoDescriptorDAO)
currentRepoDescriptorDAO - the new current repo descriptor DAOpublic void setInstalledRepoDescriptorDAO(DescriptorDAO installedRepoDescriptorDAO)
installedRepoDescriptorDAO - the new installed repo descriptor DAOpublic void setTransactionService(TransactionService transactionService)
transactionService - transaction 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.springframework.extensions.surf.util.AbstractLifecycleBeanprotected void onShutdown(org.springframework.context.ApplicationEvent event)
onShutdown in class org.springframework.extensions.surf.util.AbstractLifecycleBean
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exception - the exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||