Examples of NotificationType


Examples of com.arjuna.schemas.ws._2005._10.wsarjtx.NotificationType

        throws SoapFault, IOException
    {
        EndpointReference participant = getParticipant(coordinator);
        AddressingHelper.installFromFaultTo(addressingProperties, participant, identifier);
        final TerminationCoordinatorPortType port = getPort(coordinator, addressingProperties, identifier, completeAction);
        final NotificationType complete = new NotificationType();

        port.completeOperation(complete);
    }
View Full Code Here

Examples of com.arjuna.webservices.wsarjtx.NotificationType

     */
    public SoapBody invoke(final SoapDetails soapDetails, final MessageContext context,
        final MessageContext responseContext, final String action, final XMLStreamReader in)
        throws XMLStreamException, SoapFault
    {
        final NotificationType close = new NotificationType(in) ;
        final AddressingContext addressingContext = AddressingContext.getContext(context) ;
        final ArjunaContext arjunaContext = ArjunaContext.getContext(context) ;
        TaskManager.getManager().queueTask(new Task() {
            public void executeTask() {
                TerminationCoordinatorProcessor.getProcessor().close(close, addressingContext, arjunaContext) ;
View Full Code Here

Examples of com.arjuna.webservices.wsat.NotificationType

     */
    public void sendPrepared(final AddressingContext addressingContext, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        final EndpointReferenceType endpointReference = getEndpointReference(identifier) ;
        sendOneWay(new NotificationType(), addressingContext, soapService, endpointReference,
                endpointReference, AtomicTransactionConstants.WSAT_ELEMENT_PREPARED_QNAME,
            preparedAction) ;
    }
View Full Code Here

Examples of com.arjuna.webservices.wsba.NotificationType

     */
    public SoapBody invoke(final SoapDetails soapDetails, final MessageContext context,
        final MessageContext responseContext, final String action, final XMLStreamReader in)
        throws XMLStreamException, SoapFault
    {
        final NotificationType completed = new NotificationType(in) ;
        final AddressingContext addressingContext = AddressingContext.getContext(context) ;
        final ArjunaContext arjunaContext = ArjunaContext.getContext(context) ;
        TaskManager.getManager().queueTask(new Task() {
            public void executeTask() {
                ParticipantCompletionCoordinatorProcessor.getProcessor().completed(completed, addressingContext, arjunaContext) ;
View Full Code Here

Examples of com.intellij.notification.NotificationType

          text.append("<br/>").append(DiagnosticBundle.message("error.report.gratitude"));
        } else if (status == DUPLICATE) {
          text.append("<br/>Possible duplicate report");
        }
        text.append("</html>");
        NotificationType type;
        if (status == FAILED) {
          type = NotificationType.ERROR;
        } else if (status == DUPLICATE) {
          type = NotificationType.WARNING;
        } else {
View Full Code Here

Examples of com.skyline.base.type.NotificationType

          }
        } catch (Exception e) {
          LOGGER.warn("", e);
        }
      }
      NotificationType notificationType = NotificationType.valueOf(commentType.toString() + "_COMMENT");
      noticeDao.insertNotication(ownerId, commenterId, commenterNickname, resourceId, resourceName, notificationType);
    } catch (Exception e) {
      e.printStackTrace();
    }
  }
View Full Code Here

Examples of de.hpi.eworld.observer.NotificationType

   */
  @Override
  public void update(Observable o, Object arg) {
    if (arg instanceof ObserverNotification) {
      final ObserverNotification notification = (ObserverNotification) arg;
      final NotificationType type = notification.getType();

      switch (type) {
        case itemClicked:
          clearSelection();
 
View Full Code Here

Examples of de.hpi.eworld.observer.NotificationType

  @Override
  public void update(Observable o, Object arg) {
    if (arg instanceof ObserverNotification) {
      final ObserverNotification notification = (ObserverNotification) arg;
      final NotificationType notificationType = notification.getType();

      switch (notificationType) {
        case itemClicked:
          Object item = notification.getObj1();
          if (item instanceof StreetBarrierView) {
View Full Code Here

Examples of de.hpi.eworld.observer.NotificationType

   */
  @Override
  public void update(Observable o, Object arg) {
    if (arg instanceof ObserverNotification) {
      final ObserverNotification notification = (ObserverNotification) arg;
      final NotificationType type = notification.getType();
      final CardLayout propertyPaneLayout = (CardLayout) propertyPane
          .getLayout();

      switch (type) {
        case itemClicked:
View Full Code Here

Examples of de.hpi.eworld.observer.NotificationType

  @Override
  public void update(final Observable o, final Object arg) {
    if (arg instanceof ObserverNotification) {
      final ObserverNotification notification = (ObserverNotification) arg;
      final NotificationType type = notification.getType();

      try {
        if (!(notification.getObj1() instanceof GraphicsView<?>))
          return;
        if (type.equals(NotificationType.itemClicked)) {

          timeline.onViewItemClicked((GraphicsView<?>) notification.getObj1());
        } else if (type.equals(NotificationType.itemMousePressed)) {
          timeline.onMousePressed((GraphicsView<?>) notification.getObj1());
        } else if (type.equals(NotificationType.freeSpaceClicked)) {
          timeline.onFreeSpaceClicked();
        }
      } catch (final ClassCastException e) {
        throw new IllegalArgumentException("ObserverNotification holds objects of unexpected type '"
            + arg.getClass().getSimpleName() + "'.", e);
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.