public ID createInstance(Object[] parameters) throws IDCreateException {
if (parameters == null || parameters.length != 2)
throw new IDCreateException(
"Parameters incorrect for remote ID creation"); //$NON-NLS-1$
try {
return new RemoteServiceID(this, (RienaID) parameters[0],
((Long) parameters[1]).longValue());
} catch (Exception e) {
throw new IDCreateException("Exception creating Riena remoteID", e); //$NON-NLS-1$
}
}