org.apache.cocoon.callstack.environment
Class ServletContextFactoryBean

java.lang.Object
  extended byorg.apache.cocoon.callstack.environment.ServletContextFactoryBean
All Implemented Interfaces:
FactoryBean

public final class ServletContextFactoryBean
extends Object
implements FactoryBean

FactoryBean that exposes the ServletContext in the current call frame. It will typically be used together with the call scope.

Version:
$Id: ServletContextFactoryBean.java 608375 2008-01-03 08:33:00Z reinhard $

Constructor Summary
ServletContextFactoryBean()
           
 
Method Summary
 Object getObject()
           
 Class getObjectType()
           
 boolean isSingleton()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletContextFactoryBean

public ServletContextFactoryBean()
Method Detail

getObject

public Object getObject()
                 throws Exception
Specified by:
getObject in interface FactoryBean
Throws:
Exception

getObjectType

public Class getObjectType()
Specified by:
getObjectType in interface FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface FactoryBean


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.