Back to project page Java-Yandex.Money-API-SDK.
The source code is released under:
MIT License
If you think the Android project Java-Yandex.Money-API-SDK listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.samples.server; /*w w w.ja va 2 s. c o m*/ import com.samples.client.Settings; import ru.yandex.money.api.notifications.NotificationsServlet; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; /** * <p/> * <p/> * Created: 07.12.13 17:55 * <p/> * * @author OneHalf */ public class ServletListener implements ServletContextListener { @Override public void contextInitialized(ServletContextEvent sce) { NotificationsServlet.setSecret(Settings.NOTIFICATION_SECRET); NotificationsServlet.setListener(new SampleIncomingTransferListener()); } @Override public void contextDestroyed(ServletContextEvent sce) { } }