1 15 package org.apache.hivemind.servlet; 16 17 import org.apache.hivemind.Registry; 18 import org.apache.hivemind.impl.MessageFormatter; 19 20 25 class ServletMessages 26 { 27 protected static MessageFormatter _formatter = new MessageFormatter(ServletMessages.class); 28 29 static String filterCleanupError(Throwable cause) 30 { 31 return _formatter.format("filter-cleanup-error", cause); 32 } 33 34 static String filterInit() 35 { 36 return _formatter.getMessage("filter-init"); 37 } 38 39 static String constructedRegistry(Registry registry, long millis) 40 { 41 return _formatter.format("constructed-registry", registry, new Long (millis)); 42 } 43 44 } 45 | Popular Tags |