org.springframework.extensions.surf.support
Class BaseFactory

java.lang.Object
  extended by org.springframework.extensions.surf.support.BaseFactory
All Implemented Interfaces:
org.springframework.context.ApplicationContextAware
Direct Known Subclasses:
AbstractLinkBuilderFactory, AbstractPageMapperFactory, AbstractRequestContextFactory, AbstractResourceLoaderFactory, AbstractUserFactory

public abstract class BaseFactory
extends Object
implements org.springframework.context.ApplicationContextAware

Foundation for web framework factory objects.

Author:
muzquiano

Constructor Summary
BaseFactory()
           
 
Method Summary
 org.springframework.context.ApplicationContext getApplicationContext()
          Gets the application context.
 ResourceService getResourceService()
          Gets the resource service.
 WebFrameworkServiceRegistry getServiceRegistry()
          Gets the service registry.
 WebFrameworkConfigElement getWebFrameworkConfiguration()
          Gets the web framework configuration.
 WebFrameworkManager getWebFrameworkManager()
          Gets the web framework manager.
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setServiceRegistry(WebFrameworkServiceRegistry webFrameworkServiceRegistry)
          Sets the service registry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseFactory

public BaseFactory()
Method Detail

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware

getApplicationContext

public org.springframework.context.ApplicationContext getApplicationContext()
Gets the application context.

Returns:
the application context

setServiceRegistry

public void setServiceRegistry(WebFrameworkServiceRegistry webFrameworkServiceRegistry)
Sets the service registry.

Parameters:
webFrameworkServiceRegistry - the new service registry

getServiceRegistry

public WebFrameworkServiceRegistry getServiceRegistry()
Gets the service registry.

Returns:
the service registry

getWebFrameworkConfiguration

public WebFrameworkConfigElement getWebFrameworkConfiguration()
Gets the web framework configuration.

Returns:
the web framework configuration

getWebFrameworkManager

public WebFrameworkManager getWebFrameworkManager()
Gets the web framework manager.

Returns:
the web framework manager

getResourceService

public ResourceService getResourceService()
Gets the resource service.

Returns:
the resource service


Copyright © 2009 SpringSource, Inc. All Rights Reserved.