List of usage examples for com.liferay.portal.kernel.resiliency.spi.agent.annotation Direction DUPLEX
Direction DUPLEX
To view the source code for com.liferay.portal.kernel.resiliency.spi.agent.annotation Direction DUPLEX.
Click Source Link
From source file:com.liferay.samplestruts.servlet.DistributedAttributeServletContextListener.java
License:Open Source License
@Override public void contextDestroyed(ServletContextEvent servletContextEvent) { DistributedRegistry.unregisterDistributed(PageContext.EXCEPTION, Direction.DUPLEX, MatchType.POSTFIX); DistributedRegistry.unregisterDistributed("file_name", Direction.DUPLEX, MatchType.POSTFIX); DistributedRegistry.unregisterDistributed("x_param", Direction.DUPLEX, MatchType.POSTFIX); }
From source file:com.liferay.samplestruts.servlet.DistributedAttributeServletContextListener.java
License:Open Source License
@Override public void contextInitialized(ServletContextEvent servletContextEvent) { DistributedRegistry.registerDistributed(PageContext.EXCEPTION, Direction.DUPLEX, MatchType.POSTFIX); DistributedRegistry.registerDistributed("file_name", Direction.DUPLEX, MatchType.POSTFIX); DistributedRegistry.registerDistributed("x_param", Direction.DUPLEX, MatchType.POSTFIX); }