|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectFactory
public abstract class Factory
Base class for ServletContext-scoped factories.
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 |
---|
public Factory()
Method Detail |
---|
protected void onCreate()
protected void reinit(ServletContext servletContext)
servletContext
- the current ServletContext.protected ServletContext getServletContext()
protected FactoryConfig getConfig()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |