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 it.isislab.dmason.util.SystemManagement.Worker.thrower.DMasonWorker.java

/**
 * Executable, command-line version worker.
 * @author Michele Carillo
 * @author Ada Mancuso
 * @author Dario Mazzeo
 * @author Francesco Milone

From source file net.freifunk.android.discover.GmapsFragment.java

/**
 * A simple {@link android.support.v4.app.Fragment} subclass.
 *
 */
public class GmapsFragment extends SupportMapFragment implements GoogleMap.OnMarkerClickListener, Observer {

From source file org.sakaiproject.sitestats.impl.event.EventRegistryServiceImpl.java

public class EventRegistryServiceImpl implements EventRegistry, EventRegistryService, Observer {
    /** Static fields */
    private static Log LOG = LogFactory.getLog(EventRegistryServiceImpl.class);
    private static final String CACHENAME = EventRegistryServiceImpl.class.getName();
    private static final String CACHENAME_EVENTREGISTRY = "eventRegistry";
    private static ResourceLoader msgs = new ResourceLoader("Messages");

From source file org.dhara.portal.web.airavataService.AiravataClientAPIServiceImpl.java

/**
 * Apache Airavata service class implementation
 */
@Component
public class AiravataClientAPIServiceImpl extends Observable implements AiravataClientAPIService, Observer {

From source file com.lumisky.bluetooth_led.Interface.Bulbs.BulbsActivity.java

public class BulbsActivity extends FragmentActivity implements ColorFragment.OnColorFragmentInteraction,
        WhiteFragment.OnWhiteInteractionListener, EffectFragment.OnFragmentInteractionListener,
        MusicFragment.OnFragmentInteractionListener, AlarmFragment.OnFragmentInteractionListener, Observer {

    private final Handler handler = new Handler();

From source file it.unibas.spicygui.controllo.spicy.ActionFindConfidenceMappings.java

public class ActionFindConfidenceMappings extends CallableSystemAction implements Observer {

    private static Log logger = LogFactory.getLog(ActionFindConfidenceMappings.class);
    private Modello modello;
    private Boolean firstCheck = null;
    private LastActionBean lastActionBean;

From source file it.unibas.spicygui.controllo.spicy.ActionFindMappings.java

public class ActionFindMappings extends CallableSystemAction implements Observer {

    private static Log logger = LogFactory.getLog(ActionFindMappings.class);
    private Modello modello;
    private Boolean firstCheck = null;
    private LastActionBean lastActionBean;

From source file es.udc.gii.common.eaf.algorithm.parallel.ParallelEvolutionaryAlgorithm.java

/**
 * This class represents a parallel evolutionary algorithm (PGA). It encapsulates
 * a serial evolutionary algorithm and makes it posible to run the encapsulated
 * algorithm in a distributed/parallel environment.
 *  
 * @author Grupo Integrado de Ingeniera (<a href="http://www.gii.udc.es">www.gii.udc.es</a>)

From source file edu.ucla.stat.SOCR.applications.demo.StockSimulationApplication.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 StockSimulationApplication extends Application implements Observer, IExperiment, ActionListener {

From source file org.theospi.portfolio.help.model.DbGlossary.java

public class DbGlossary extends HibernateDaoSupport implements Glossary, Observer {
    protected final transient Log logger = LogFactory.getLog(getClass());
    private Map worksiteGlossary = new Hashtable();
    private IdManager idManager;
    private List dirtyAddUpdate = new ArrayList();
    private List dirtyRemove = new ArrayList();