}
@Override
public RemoteCashierContext getCashierContext() throws RemoteException {
try {
RemoteCashierContext wrappedContext = new ForwardingRemoteCashierContext(super.getCashierContext());
return (RemoteCashierContext) UnicastRemoteObject.exportObject(wrappedContext, 0);
} catch (RemoteException exception) {
logger.error(exception.getMessage(), exception);
throw exception;
}