Examples of notifyObservers()


Examples of org.apache.axis2.engine.AxisConfiguration.notifyObservers()

                    "Components of the proxy service may not be initialized");
            }

            AxisService as = axisConfig.getServiceForActivation(this.getName());
            as.setActive(true);
            axisConfig.notifyObservers(new AxisEvent(AxisEvent.SERVICE_START, as), as);
            this.setRunning(true);
            auditInfo("Started the proxy service : " + name);
        } else {
            auditWarn("Unable to start proxy service : " + name +
                ". Couldn't access Axis configuration");
View Full Code Here

Examples of org.apache.axis2.engine.AxisConfiguration.notifyObservers()

            try {
                AxisService as = axisConfig.getService(this.getName());
                if (as != null) {
                    as.setActive(false);
                    axisConfig.notifyObservers(new AxisEvent(AxisEvent.SERVICE_STOP, as), as);
                }
                this.setRunning(false);
                auditInfo("Stopped the proxy service : " + name);
            } catch (AxisFault axisFault) {
                handleException("Error stopping the proxy service : " + name, axisFault);
View Full Code Here

Examples of org.apache.axis2.engine.AxisConfiguration.notifyObservers()

     * @throws AxisFault if there's a problem engaging
     */
    public void engageModule(AxisModule axisModule) throws AxisFault {
        engageModule(axisModule, this);
        AxisConfiguration config = getAxisConfiguration();
        config.notifyObservers(new AxisEvent(AxisEvent.MODULE_ENGAGED , this) , axisModule);
    }

    /**
     * Engage a Module at this level, keeping track of which level the engage was originally called
     * from.  This is meant for internal use only.
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.xact.RawTransaction.notifyObservers()

            // make sure any observer that may have been added by either
            // dropContainer() or dropStreamContainer() is also handled.
            // The calling notifyObservers() call from Xact.doComplete()
            // may not "see" new observers added during processing of the
            // initial observer list.
            xact.notifyObservers(arg);
    }
  }
}
View Full Code Here

Examples of org.dmlite.model.DomainModel.notifyObservers()

    if (executed) {
      setStatus("executed");
      if (getTransaction() == null) {
        DomainModel domainModel = (DomainModel) getSession()
            .getDomainModel();
        domainModel.notifyObservers(this);
      }
    }
    return executed;
  }
View Full Code Here

Examples of org.dmlite.model.DomainModel.notifyObservers()

    if (undone) {
      setStatus("undone");
      if (getTransaction() == null) {
        DomainModel domainModel = (DomainModel) getSession()
            .getDomainModel();
        domainModel.notifyObservers(this);
      }
    }
    return undone;
  }
View Full Code Here

Examples of org.dmlite.model.DomainModel.notifyObservers()

      throw new ActionException(error, this);
    }
    boolean executed = actions.executeAll();
    if (executed) {
      setStatus("executed");
      domainModel.notifyObservers(this);
    } else {
      actions.undoAll();
    }
    return executed;
  }
View Full Code Here

Examples of org.dmlite.model.DomainModel.notifyObservers()

    boolean undone = actions.undoAll();
    if (undone) {
      setStatus("undone");
      DomainModel domainModel = (DomainModel) getSession()
          .getDomainModel();
      domainModel.notifyObservers(this);
    } else {
      actions.executeAll();
    }
    return undone;
  }
View Full Code Here

Examples of org.eurekastreams.web.client.events.EventBus.notifyObservers()

        // wire up events to refresh the list when something is removed
        eventBus.addObserver(UpdatedActivityFlagResponseEvent.class, new Observer<UpdatedActivityFlagResponseEvent>()
        {
            public void update(final UpdatedActivityFlagResponseEvent ev)
            {
                eventBus.notifyObservers(new ShowNotificationEvent(new Notification(
                        "The flagged activity has been allowed")));
                adminTabContent.reload();
            }
        });
View Full Code Here

Examples of org.eurekastreams.web.client.events.EventBus.notifyObservers()

                // clear following model
                CurrentUserPersonFollowingStatusModel.getInstance().clearCache();
                StreamsDiscoveryModel.getInstance().clearCache();

                EventBus eventBus = Session.getInstance().getEventBus();
                eventBus.notifyObservers(new InsertedPersonFollowerResponseEvent(request, response));

                eventBus.notifyObservers(new GotPersonFollowerStatusResponseEvent(FollowerStatus.FOLLOWING));
            }
        });
    }
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.