Example usage for java.util Observer interface-usage

List of usage examples for java.util Observer interface-usage

Introduction

In this page you can find the example usage for java.util Observer interface-usage.

Usage

From source file org.apache.solr.core.SolrCores.java

    private static Object modifyLock = new Object(); // for locking around manipulating any of the core maps.
    private final Map<String, SolrCore> cores = new LinkedHashMap<String, SolrCore>(); // For "permanent" cores

    //WARNING! The _only_ place you put anything into the list of transient cores is with the putTransientCore method!
    private Map<String, SolrCore> transientCores = new LinkedHashMap<String, SolrCore>(); // For "lazily loaded" cores

From source file org.sakaiproject.event.impl.NotificationCache.java

/**
 * <p>
 * A Cache of objects with keys with a limited lifespan.
 * </p>
 * <p>
 * When the object expires, the cache calls upon a CacheRefresher to update the key's value. The update is done in a separate thread.

From source file org.sakaiproject.site.tool.helper.managegroupsectionrole.impl.RoleGroupEventWatcher.java

/**
* <p>RoleGroupEventWatcher is for </p>
* 
* @author University of Michigan, Sakai Software Development Team
* @version $Revision$
*/

From source file org.rifidi.emulator.reader.llrp.aispec._AISpec.java

/**
 * Antenna Inventory spec, looks for tags on the specified antennas. It observes
 * the spec signal and stops when it is set to false.
 * 
 * @author Matthew Dean - matt@pramari.com
 * @author Kyle Neumeier

From source file org.kuali.kfs.module.tem.document.web.struts.AddImportedExpenseEvent.java

public class AddImportedExpenseEvent implements Observer {
    protected volatile TravelExpenseService travelExpenseService;

    @SuppressWarnings("null")
    @Override
    public void update(Observable arg0, Object arg1) {

From source file com.keysolutions.ddpclient.android.DDPStateSingleton.java

/**
 * Base/common handling of DDP state with default handling of collection data as maps
 * Override data update methods to store data into SQLite or other data store
 * @author kenyee
 */
public class DDPStateSingleton extends MeteorAuthCommands implements Observer, DDPStateBroadcasts, DDPStateStorage {

From source file de.awisus.refugeeaidleipzig.MainActivity.java

/**
 * Created on 11.01.16.
 *
 * Class defining the Main Activity of the Android App as entry point.
 * Describes behaviour for the Navigation Drawer and takes notice about login
 * and logout behaviour of the user stored in the model.

From source file com.rapidminer.gui.new_plotter.templates.PlotterTemplate.java

/**
 * Abstract class which all templates for the new plotters have to extend.
 * 
 * @author Marco Boeck
 * 
 */

From source file edu.ucla.stat.SOCR.applications.demo.BlackScholesApplication.java

/**
 * The triangle experiment is to break a stick at random and see if the pieces
 * form a triangle. If so, is the triangle acute or obtuse?
 */
public class BlackScholesApplication extends Application implements Observer, IExperiment, ActionListener {

From source file edu.harvard.med.screensaver.ui.arch.datatable.column.TableColumnManager.java

/**
 * Notifies observers when set of available columns are changed, either from
 * setColumns() being called, or a column's setVisible() being called.
 *
 * @author drew
 */