If the logger is currently enabled for the INFO message level then the given message is forwarded to all the registered output Handler objects.
@param msg The string message (or a key in the message catalog)
107108109110111112113114115116117
if (boi != null) { ex.put(BindingOperationInfo.class, boi); ex.put(OperationInfo.class, boi.getOperationInfo()); ex.setOneWay(boi.getOperationInfo().isOneWay()); if (logger.isLoggable(Level.INFO)) { logger.info("DOMInInterceptor- BindingOperation is:" + boi.getName()); } } } BindingMessageInfo bmi = isRequestor(message) ? boi.getOutput() : boi.getInput();
111112113114115116117118119120121
* * @return a collection of {@link Paintable} classes */ public static Collection<Class<? extends Paintable>> getPaintablesHavingWidgetAnnotation() { final Logger logger = getLogger(); logger.info("Searching for paintables.."); long start = System.currentTimeMillis(); Collection<Class<? extends Paintable>> paintables = new HashSet<Class<? extends Paintable>>(); Set<String> keySet = classpathLocations.keySet(); for (String url : keySet) { logger.fine("Searching for paintables in "
122123124125126127128129130131132
+ classpathLocations.get(url)); searchForPaintables(classpathLocations.get(url), url, paintables); } long end = System.currentTimeMillis(); logger.info("Search took " + (end - start) + "ms"); return paintables; } /**
166167168169170171172173174175176
sb.append(" in "); sb.append(widgetsets.get(ws)); sb.append("\n"); } final Logger logger = getLogger(); logger.info(sb.toString()); logger.info("Search took " + (end - start) + "ms"); return widgetsets; } /**
167168169170171172173174175176177
sb.append(widgetsets.get(ws)); sb.append("\n"); } final Logger logger = getLogger(); logger.info(sb.toString()); logger.info("Search took " + (end - start) + "ms"); return widgetsets; } /** * Finds all GWT modules / Vaadin widgetsets in a valid location.
238239240241242243244245246247248
* The OP endpoint URI. * @return The {@link ConsumerManager} corresponding to the given URI. */ private ConsumerManager getManager(String OPUri) { Logger l = Context.getCurrentLogger(); l.info("Getting consumer manager for - " + OPUri); if (!managers.containsKey(OPUri)) { // create a new manager l.info("Creating new consumer manager for - " + OPUri); try { ConsumerManager cm = new ConsumerManager();
241242243244245246247248249250251
private ConsumerManager getManager(String OPUri) { Logger l = Context.getCurrentLogger(); l.info("Getting consumer manager for - " + OPUri); if (!managers.containsKey(OPUri)) { // create a new manager l.info("Creating new consumer manager for - " + OPUri); try { ConsumerManager cm = new ConsumerManager(); cm.setConnectTimeout(30000); cm.setSocketTimeout(30000); cm.setFailedAssocExpire(0); // sec 0 = disabled
304305306307308309310311312313314
Logger l = Context.getCurrentLogger(); // Map<String, String> axRequired = new HashMap<String, String>(); Map<AX, String> axResp = new HashMap<AX, String>(); Identifier i = verifyResponse(queryParams, axResp, request, response); if (i == null) { l.info("Authentication Failed"); return obj; } l.info("Identifier = " + i.getIdentifier()); String id = i.getIdentifier();
307308309310311312313314315316317
Identifier i = verifyResponse(queryParams, axResp, request, response); if (i == null) { l.info("Authentication Failed"); return obj; } l.info("Identifier = " + i.getIdentifier()); String id = i.getIdentifier(); if (id != null) { // New Code, always return JSON and let filter handle any // callback.
360361362363364365366367368369370
List<?> discoveries = null; discoveries = discovery.discover(target); for (Object o : discoveries) { if (o instanceof DiscoveryInformation) { DiscoveryInformation di = (DiscoveryInformation) o; l.info("Found - " + di.getOPEndpoint()); target = di.getOPEndpoint().toString(); } } ConsumerManager manager = getManager(target);