All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nyla.solutions.global.patterns.observer.Subject Maven / Gradle / Ivy

Go to download

Nyla Solutions Global Java API provides support for basic application utilities (application configuration, data encryption, debugger and text processing).

The newest version!
package nyla.solutions.global.patterns.observer;


import nyla.solutions.global.data.Nameable;

/**
 * 
 * Subject Send notify signal to observer object whenever data changes
 * @author Gregory Green
 *
 */
public interface Subject extends Nameable
{
   /**
    * 
    * @param obsever the observer to add
    */
   public void add(SubjectObserver obsever);
     
   /**
    * 
    * @param observer the observer to 
    */
   public void remove(SubjectObserver observer);
      
   /**
    * 
    * @param object notify all observers
    */
   void notify(Object object);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy