org.apache.beehive.netui.core.factory
Class Factory

Object
  extended by Factory
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FacesBackingBeanFactory, FlowControllerFactory, URLTemplatesFactory

public abstract class Factory
extends Object
implements Serializable

Base class for ServletContext-scoped factories.

See Also:
Serialized Form

Constructor Summary
Factory()
           
 
Method Summary
protected  FactoryConfig getConfig()
          Get the configuration object (containing custom properties) that is associated with this factory.
protected  ServletContext getServletContext()
          Get the current ServletContext.
protected  void onCreate()
          Called after this factory has been created and initialized.
protected  void reinit(ServletContext servletContext)
          Called to reinitialize this instance, most importantly after it has been serialized/deserialized.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Factory

public Factory()
Method Detail

onCreate

protected void onCreate()
Called after this factory has been created and initialized.


reinit

protected void reinit(ServletContext servletContext)
Called to reinitialize this instance, most importantly after it has been serialized/deserialized.

Parameters:
servletContext - the current ServletContext.

getServletContext

protected ServletContext getServletContext()
Get the current ServletContext.


getConfig

protected FactoryConfig getConfig()
Get the configuration object (containing custom properties) that is associated with this factory.