Examples of info()


Examples of org.apache.wicket.Session.info()

   * Tests the clean up of flash messages put into the session when they are rendered.
   */
  public void testSessionFeedbackMessagesCleanUp()
  {
    Session session = Session.get();
    session.info("Message");
    session.info("Not rendered");
    FeedbackMessages feedbackMessages = session.getFeedbackMessages();
    Iterator iterator = feedbackMessages.iterator();
    FeedbackMessage message = (FeedbackMessage)iterator.next();
    message.markRendered();
View Full Code Here

Examples of org.apache.wicket.markup.html.panel.FeedbackPanel.info()

                    PortletApplication app = registry.getPortletApplication(paNodeBean.getApplicationName());
                    PortletDefinition def = app.getPortlet(paNodeBean.getName());
                    def.setJetspeedSecurityConstraint("".equals(jetspeedSecurityConstraint) ? null : jetspeedSecurityConstraint);
                    registry.savePortletDefinition(def);
                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveOK", this, null, new Object [] { paNodeBean.getName() } );
                    feed.info(resModel.getString());
                }
                catch (FailedToStorePortletDefinitionException e)
                {
                    logger.error("Failed to retrieve jetspeed security constraint defs of portlet definition.", e);
                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveFailure", this, null, new Object [] { paNodeBean.getName(), e.getMessage() } );
View Full Code Here

Examples of org.codehaus.dna.impl.Jdk14Logger.info()

        final String message = "Meep!";
        final Throwable throwable = null;
        final boolean output = true;

        final Jdk14Logger logger = createLogger( level );
        logger.info( message );
        checkLogger( output, message, throwable, type );
    }

    public void testJdk14LoggerInfoDisabled()
        throws Exception
View Full Code Here

Examples of org.codehaus.dna.impl.Log4JLogger.info()

        final Throwable throwable = null;
        final boolean output = true;

        final MockAppender target = new MockAppender();
        final Log4JLogger logger = createLogger( target, level );
        logger.info( message );
        checkLogger( target, output, message, throwable, type );
    }

    public void testLog4JLoggerInfoDisabled()
        throws Exception
View Full Code Here

Examples of org.codehaus.dna.impl.LogkitLogger.info()

        final Throwable throwable = null;
        final boolean output = true;

        final MockLogTarget target = new MockLogTarget();
        final LogkitLogger logger = createLogger( target, level );
        logger.info( message );
        checkLogger( target, output, message, throwable, type );
    }

    public void testLogkitLoggerInfoDisabled()
        throws Exception
View Full Code Here

Examples of org.codehaus.plexus.logging.Logger.info()

            if ( extractor == null )
            {
                throw new ExtractionException( "No mojo extractor for language: " + language );
            }

            logger.info( "Applying mojo extractor for language: " + language );

            List<MojoDescriptor> extractorDescriptors = extractor.execute( request );

            logger.info( "Mojo extractor for language: " + language + " found " + extractorDescriptors.size()
                             + " mojo descriptors." );
View Full Code Here

Examples of org.codehaus.plexus.logging.console.ConsoleLogger.info()

            logger.error( "JarArchive skipping non-existing file: " + zipFile.getAbsolutePath() );
        }
        else if ( zipFile.isDirectory() )
        {
            Logger logger = new ConsoleLogger( Logger.LEVEL_INFO, "console" );
            logger.info( "JarArchiver skipping indexJar " + zipFile + " because it is not a jar" );
        }
        else
        {
            ZipFile zf = null;
            try
View Full Code Here

Examples of org.eclipse.jetty.util.log.Logger.info()

        "abcdefghij\n";

        Logger logger = Log.getLogger(HttpChannel.class);
        try
        {
            logger.info("EXPECTING: java.lang.IllegalStateException...");
            ((StdErrLog)logger).setHideStacks(true);
            response=connector.getResponses(requests);
            offset = checkContains(response,offset,"HTTP/1.1 500");
            offset = checkContains(response,offset,"Connection: close");
            checkNotContained(response,offset,"HTTP/1.1 200");
View Full Code Here

Examples of org.eclipse.jetty.util.log.Slf4jLog.info()

        // lets set a temporary directory so jetty doesn't bork if some process zaps /tmp/*
        String homeDir = System.getProperty("user.home", ".") + System.getProperty("hawtio.dirname", "/.hawtio");
        String tempDirPath = homeDir + "/tmp";
        File tempDir = new File(tempDirPath);
        tempDir.mkdirs();
        log.info("using temp directory for jetty: " + tempDir.getPath());
        webapp.setTempDirectory(tempDir);

        Server server = new Server(options.getPort());
        server.setHandler(webapp);

View Full Code Here

Examples of org.eclipse.jst.jsf.common.ui.internal.guiutils.Alerts.info()

      getViewer().getControl().setFocus();
      super.drop(event);
      LocalDropEditPolicy.setCheckUpdate(true);
    } else {
      Alerts alert = PDPlugin.getAlerts();
      alert.info("LocalSelectionDropTargetListener.MessageDialog.Title", //$NON-NLS-1$
          "LocalSelectionDropTargetListener.MessageDialog.Message"); //$NON-NLS-1$
    }
  }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.