The getComposite method in CompositeContext has been deprecated but both the
Axis2 and JSON-RPC binding are using it to get at the Module so as to find
all the entryPoints in the Module. Whats the correct way to be doing this
now?
They use code like:
ServletContext servletContext = config.getServletContext();
CompositeContext moduleContext = (CompositeContext)
servletContext.getAttribute(TuscanyServletListener.MODULE_COMPONENT_NAME);
Module module = (Module) moduleContext.getComposite();
or for the full details see initEntryPointProxys in
http://svn.apache.org/repos/asf/incubator/tuscany/java/sca/bindings/binding.jsonrpc/src/main/java/org/apache/tuscany/binding/jsonrpc/handler/JSONRPCEntryPointServlet.java
Thanks,
...ant