The web script container plays a key role in executing web scripts. The repository container works behind the scenes to execute repository web scripts at the Alfresco end. It would be interesting to know how to have a custom implementation for the web script container. Let's take a look at the service provider interface available in the out-of-the-box web script framework implementation to implement a web script container.
The org.springframework.extensions.webscripts.Container
interface available in spring-webscripts-*.jar
is the key interface that declares the core methods required to be implemented by any web script container. There is an additional set of methods declared in the org.springframework.extensions.webscripts.RuntimeContainer
interface that also needs to be implemented for a web script container. RuntimeContainer
basically extends the Container
interface. In brief, the web script container class must implement org.springframework...