|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.abstracthorizon.danube.tapestry.TapestryConnectionHandler org.abstracthorizon.danube.tapestry.spring.TapestryConnectionHandler
public class TapestryConnectionHandler
Tapestry connection handler.
Field Summary | |
---|---|
protected ApplicationContext |
applicationContext
Application context this view adapter belongs to |
Fields inherited from class org.abstracthorizon.danube.tapestry.TapestryConnectionHandler |
---|
applicationSpecificationResourceName, classResolver, initialParameters, logger, registry, sessionManager, TAPESTRY_DEFAULT_APPLICATION_NAME, TAPESTRY_SUFFIX, webActivator, webContext, webRequestServicer |
Constructor Summary | |
---|---|
TapestryConnectionHandler()
|
Method Summary | |
---|---|
WebContext |
getWebContext()
Returns web context assigned to this handler. |
protected org.apache.hivemind.Resource |
obtainApplicationResource()
Obtains application resource. |
void |
setApplicationContext(ApplicationContext context)
Stores current application context |
void |
setBeanName(String beanName)
Stores bean name |
Methods inherited from class org.abstracthorizon.danube.tapestry.TapestryConnectionHandler |
---|
constructErrorHandler, createClassResolver, createSessionManager, getApplicationSpecificationResourceName, getClassResolver, getInitialParameters, getSessionManager, getWebActivator, handleConnection, init, obtainWebContext, setApplicationSpecificationResourceName, setClassResolver, setInitialParameters, setSessionManager, setWebActivator, setWebContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ApplicationContext applicationContext
Constructor Detail |
---|
public TapestryConnectionHandler()
Method Detail |
---|
protected org.apache.hivemind.Resource obtainApplicationResource()
TapestryConnectionHandler.getApplicationSpecificationResourceName()
,
then with TapestryConnectionHandler.TAPESTRY_DEFAULT_APPLICATION_NAME
and
at the end with value of TapestryConnectionHandler.getApplicationSpecificationResourceName()
,
prefixed with "WEB-INF/".
obtainApplicationResource
in class TapestryConnectionHandler
public WebContext getWebContext()
SpringDanubeContext
will be instantiated.
getWebContext
in class TapestryConnectionHandler
public void setBeanName(String beanName)
setBeanName
in interface BeanNameAware
beanName
- bean namepublic void setApplicationContext(ApplicationContext context) throws BeansException
setApplicationContext
in interface ApplicationContextAware
context
- application context
BeansException
- never
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |