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

org.objectweb.fractal.bf.ServiceImpl Maven / Gradle / Ivy

The newest version!
package org.objectweb.fractal.bf;
/**
 * A simple implementation of the {@link Service} interface.
 * 
 * @author [email protected]
 *
 */
public class ServiceImpl implements Service, Runnable
{
  /**
   * Print a nice message.
   */
  public void print()
  {

    System.out.println("Hello BindingFactory");

  }
  /**
   * Return a nice message.
   */
  public String printAndAnswer()
  {

    return "Message received from the Service component";
  }
  /**
   * @see java.lang.Runnable#run()
   */
  public void run()
  {
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy