|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Implementation of this interface should provide org.csapi.www.wsdl.parlayx.mm.v1_0.notification.MmNotificationPort
instance, required for setting up message income from gateway, and has to be registered
as mm-notification-port-retriever-class context parameter inside web.xml.
Method getMmNotificationPort(ServletContext) is called only once, on demand.
This interface practicaly serves as a bridge between Axis and specific framework. An example
for popular Spring Framework (www.springframework.org)
would probably look something like:
public class SpringMmNotificationRetriever implements MmNotificationPortRetriever {
public MmNotificationPort getMmNotificationPort(ServletContext servletContext) throws Exception {
ApplicationContext appContext = WebApplicationContextUtils.getRequiredWebApplicationContext(servletContext);
// fetch MmNotificationPort bean from ApplicationContext
return (MmNotificationPort) appContext.getBean("notificationPort", MmNotificationPort.class);
}
}
| Method Summary | |
org.csapi.www.wsdl.parlayx.mm.v1_0.notification.MmNotificationPort |
getMmNotificationPort(javax.servlet.ServletContext servletContext)
Deprecated. Provides org.csapi.www.wsdl.parlayx.mm.v1_0.notification.MmNotificationPort instance
to message notification port. |
| Method Detail |
public org.csapi.www.wsdl.parlayx.mm.v1_0.notification.MmNotificationPort getMmNotificationPort(javax.servlet.ServletContext servletContext)
throws java.lang.Exception
org.csapi.www.wsdl.parlayx.mm.v1_0.notification.MmNotificationPort instance
to message notification port. It is called only once, on demand.
servletContext - ServletContext of the running web application
java.lang.Exception - thrown if error occurred
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||