List of usage examples for com.liferay.portal.kernel.resiliency.spi.agent.annotation DistributedRegistry registerDistributed
public static void registerDistributed(String name, Direction direction, MatchType matchType)
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); }