org.objectweb.fractal.bf.connectors.BasicRemotableServiceImpl Maven / Gradle / Ivy
/**
* Author: Valerio Schiavoni
*/
package org.objectweb.fractal.bf.connectors;
import java.io.Serializable;
import java.rmi.RemoteException;
import javax.xml.datatype.XMLGregorianCalendar;
/**
*
*/
public class BasicRemotableServiceImpl implements RemotableService,
Serializable {
private final BasicServiceImpl service;
public BasicRemotableServiceImpl() {
this.service = new BasicServiceImpl();
}
/**
* @see org.objectweb.fractal.bf.connectors.RemotableService#getCurrentDate()
*/
public XMLGregorianCalendar getCurrentDate() throws RemoteException {
return this.service.getCurrentDate();
}
/**
* @see org.objectweb.fractal.bf.connectors.RemotableService#getPojo()
*/
public Pojo getPojo() throws RemoteException {
return this.service.getPojo();
}
/**
* @see org.objectweb.fractal.bf.connectors.RemotableService#print()
*/
public void print() throws RemoteException {
this.service.print();
}
/**
* @see org.objectweb.fractal.bf.connectors.RemotableService#printAndAnswer()
*/
public String printAndAnswer() throws RemoteException {
return this.service.printAndAnswer();
}
}