provide a hook so the servletContext can be exposed outside of OSGI

provide a hook so the servletContext can be exposed outside of OSGI