org.apache.struts2.osgi.interceptor
Class OsgiInterceptor
java.lang.Object
com.opensymphony.xwork2.interceptor.AbstractInterceptor
org.apache.struts2.osgi.interceptor.OsgiInterceptor
- All Implemented Interfaces:
- Interceptor, java.io.Serializable
public class OsgiInterceptor
- extends AbstractInterceptor
If a class implements BundleContextAware, this interceptor will call the setBundleContext(BundleContext)
method on it. If a class implements ServiceAware, this interceptor will call setService(List)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OsgiInterceptor
public OsgiInterceptor()
intercept
public java.lang.String intercept(ActionInvocation invocation)
throws java.lang.Exception
- Specified by:
intercept
in interface Interceptor
- Specified by:
intercept
in class AbstractInterceptor
- Throws:
java.lang.Exception
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext)
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.