Examples of message()


Examples of org.apache.lucene.util.InfoStream.message()

      final IndexCommit commit = commits.get(commits.size() - 1);
      currentRevisionFiles = IndexRevision.revisionFiles(commit);
      currentVersion = IndexRevision.revisionVersion(commit);
      final InfoStream infoStream = InfoStream.getDefault();
      if (infoStream.isEnabled(INFO_STREAM_COMPONENT)) {
        infoStream.message(INFO_STREAM_COMPONENT, "constructor(): currentVersion=" + currentVersion
            + " currentRevisionFiles=" + currentRevisionFiles);
        infoStream.message(INFO_STREAM_COMPONENT, "constructor(): commit=" + commit);
      }
    }
  }
View Full Code Here

Examples of org.apache.myfaces.extensions.cdi.message.api.MessageContext.message()

    @Test
    public void cloneMessageContextTest()
    {
        MessageContext messageContext = this.messageContext.cloneContext();
        messageContext.message().text("{hello}").create();

        this.messageContext.config().change().addMessageHandler(new TestInMemoryMessageHandler());

        assertFalse(messageContext.config().getMessageHandler().equals(this.messageContext.config().getMessageHandler()));
    }
View Full Code Here

Examples of org.apache.openjpa.persistence.test.AllowFailure.message()

            super.runBare();
        } catch (Throwable t) {
            AllowFailure allowFailure = getAllowFailure();
            if (allowFailure != null && allowFailure.value()) {
                System.err.println("*** FAILED (but ignored): " + this);
                System.err.println("***              Reason : " + allowFailure.message());
                System.err.println("Stacktrace of failure");
                t.printStackTrace();
            } else {
                throw t;
            }
View Full Code Here

Examples of org.apache.qpid.server.logging.EventLogger.message()

        }

        UnitTestMessageLogger logger = new UnitTestMessageLogger(statusUpdatesEnabled);
        EventLogger eventLogger = new EventLogger(logger);

        eventLogger.message(_subject, new LogMessage()
        {
            public String toString()
            {
                return "<Log Message>";
            }
View Full Code Here

Examples of org.apache.qpid.server.logging.LogActor.message()

        UnitTestMessageLogger logger = new UnitTestMessageLogger(statusUpdatesEnabled);

        LogActor actor = new TestLogActor(logger);

        actor.message(_subject, new LogMessage()
        {
            public String toString()
            {
                return "<Log Message>";
            }
View Full Code Here

Examples of org.apache.qpid.server.logging.actors.ManagementActor.message()

        // use a separate instance of actor as subject is not set on connect/disconnect
        // we need to pass principal name explicitly into log actor
        LogActor logActor = new ManagementActor(_appRegistry.getRootMessageLogger(), user);
        if (JMXConnectionNotification.OPENED.equals(type))
        {
            logActor.message(ManagementConsoleMessages.OPEN(user));
        }
        else if (JMXConnectionNotification.CLOSED.equals(type) ||
                 JMXConnectionNotification.FAILED.equals(type))
        {
            logActor.message(ManagementConsoleMessages.CLOSE(user));
View Full Code Here

Examples of org.apache.qpid.server.logging.actors.TestLogActor.message()

        UnitTestMessageLogger logger = new UnitTestMessageLogger(statusUpdatesEnabled);

        LogActor actor = new TestLogActor(logger);

        actor.message(_subject, new LogMessage()
        {
            public String toString()
            {
                return "<Log Message>";
            }
View Full Code Here

Examples of org.apache.qpid.server.store.MessageStoreRecoveryHandler.StoredMessageRecoveryHandler.message()

                long messageId = LongBinding.entryToLong(key);
                StorableMessageMetaData metaData = valueBinding.entryToObject(value);

                StoredBDBMessage message = new StoredBDBMessage(messageId, metaData, true);

                mrh.message(message);

                maxId = Math.max(maxId, messageId);
            }

            _messageId.set(maxId);
View Full Code Here

Examples of org.apache.tomcat.lite.http.HttpMessage.HttpMessageBytes.message()

                    msgBytes.query(),
                    msgBytes.protocol());
        } else {
            msgBytes = http.httpRes.getMsgBytes();
            parseResponseLine(line, msgBytes.protocol(),
                    msgBytes.status(), msgBytes.message());
        }

        parseHeaders(http, msgBytes, headB);

        http.inMessage.state = HttpMessage.State.BODY_DATA;
View Full Code Here

Examples of org.aspectj.internal.lang.annotation.ajcDeclareEoW.message()

      }
    }
    for (Method method : clazz.getDeclaredMethods()) {
      if (method.isAnnotationPresent(ajcDeclareEoW.class)) {
        ajcDeclareEoW deowAnn = method.getAnnotation(ajcDeclareEoW.class);
        DeclareErrorOrWarning deow = new DeclareErrorOrWarningImpl(deowAnn.pointcut(),deowAnn.message(),deowAnn.isError(),this);
        deows.add(deow);
      }
    }
    DeclareErrorOrWarning[] ret = new DeclareErrorOrWarning[deows.size()];
    deows.toArray(ret);
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.