![JAR search and dependency download from the Maven repository](/logo.png)
org.objectweb.fractal.bf.Service Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fractal-bf-examples-helloworld Show documentation
Show all versions of fractal-bf-examples-helloworld Show documentation
The BindingFactory HelloWorld example, with TCP and
Group bindings
package org.objectweb.fractal.bf;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Properties;
/**
* A simple printing-on-demand service. It extends Service to be reused with the
* different plugins.
*
* @author [email protected]
*
*/
public interface Service extends Remote {
/**
* Print some message
*
*/
void print() throws RemoteException;
/**
* Return a message to the printing-service user.
*
* @return a string to be print.
*/
String printAndAnswer() throws RemoteException;
byte[] getBytes(Properties p, byte[] b) throws RemoteException;
void badMethod() throws HelloWorldException, RemoteException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy