public abstract class BaseFactoryBean extends Object
Foundation class for factory beans.
| Constructor and Description |
|---|
BaseFactoryBean(WebFrameworkConfigElement webFrameworkConfigElement,
ModelObjectService modelObjectService,
ResourceService resourceService)
This is the preferred constructor for subclasses to call when being instantiated as it sets the
required Spring beans directly rather than relying on them being obtained from the
WebFrameworkServiceRegistry
supplied to the deprecated constructor. |
BaseFactoryBean(WebFrameworkServiceRegistry serviceRegistry)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ModelObjectService |
getObjectService()
Gets the model object service
|
ResourceService |
getResourceService()
Gets the resource service.
|
WebFrameworkServiceRegistry |
getServiceRegistry()
Gets the service registry.
|
WebFrameworkConfigElement |
getWebFrameworkConfiguration()
Gets the web framework configuration.
|
public BaseFactoryBean(WebFrameworkServiceRegistry serviceRegistry)
This constructor has been deprecated as it relies on the WebFrameworkServiceRegistry argument
to access all the required Spring beans rather than using a properly configured Spring application context.
serviceRegistry - WebFrameworkServiceRegistrypublic BaseFactoryBean(WebFrameworkConfigElement webFrameworkConfigElement, ModelObjectService modelObjectService, ResourceService resourceService)
This is the preferred constructor for subclasses to call when being instantiated as it sets the
required Spring beans directly rather than relying on them being obtained from the WebFrameworkServiceRegistry
supplied to the deprecated constructor.
webFrameworkConfigElement - WebFrameworkConfigElementmodelObjectService - ModelObjectServiceresourceService - ResourceServicepublic WebFrameworkServiceRegistry getServiceRegistry()
public WebFrameworkConfigElement getWebFrameworkConfiguration()
public ModelObjectService getObjectService()
public ResourceService getResourceService()
Copyright © 2005–2016 Alfresco Software. All rights reserved.