org.alfresco.repo.avm
Class AvmBootstrap

java.lang.Object
  extended by org.springframework.extensions.surf.util.AbstractLifecycleBean
      extended by org.alfresco.repo.avm.AvmBootstrap
All Implemented Interfaces:
java.util.EventListener, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener

public class AvmBootstrap
extends org.springframework.extensions.surf.util.AbstractLifecycleBean

This component ensures that the AVM system is properly bootstrapped and that this is done in the correct order relative to other bootstrap components.

See Also:
#setIssuers(List), org.alfresco.repo.avm.Issuer

Field Summary
 
Fields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean
log
 
Constructor Summary
AvmBootstrap()
           
 
Method Summary
protected  void onBootstrap(org.springframework.context.ApplicationEvent event)
          Initialize the issuers.
protected  void onShutdown(org.springframework.context.ApplicationEvent event)
          NO-OP
 void setAvmLockingAwareService(AVMLockingAwareService service)
           
 void setAvmRepository(AVMRepository repository)
           
 void setAvmSyncService(AVMSyncServiceImpl service)
           
 void setPermissionService(org.alfresco.service.cmr.security.PermissionService 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

AvmBootstrap

public AvmBootstrap()
Method Detail

setAvmLockingAwareService

public void setAvmLockingAwareService(AVMLockingAwareService service)

setAvmRepository

public void setAvmRepository(AVMRepository repository)

setPermissionService

public void setPermissionService(org.alfresco.service.cmr.security.PermissionService service)

setAvmSyncService

public void setAvmSyncService(AVMSyncServiceImpl service)

onBootstrap

protected void onBootstrap(org.springframework.context.ApplicationEvent event)
Initialize the issuers.

Specified by:
onBootstrap in class org.springframework.extensions.surf.util.AbstractLifecycleBean

onShutdown

protected void onShutdown(org.springframework.context.ApplicationEvent event)
NO-OP

Specified by:
onShutdown in class org.springframework.extensions.surf.util.AbstractLifecycleBean


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.