/** * Invoke the public constructor accepting an ObjectInput. * * @param objectInput the ObjectInput to pass to the constructor * @return the new instance * @throws IOException if an I/O error occurs */ public Object callObjectInputConstructor(final ObjectInput objectInput) throws IOException { final Constructor<?> objectInputConstructor = serMethods.getObjectInputConstructor(); return invokeConstructor(objectInputConstructor, objectInput); }
/** * Invoke the no-arg constructor on this class. * * @return the new instance * @throws IOException if an I/O error occurs */ public Object callNoArgConstructor() throws IOException { final Constructor<?> noArgConstructor = serMethods.getNoArgConstructor(); return invokeConstructor(noArgConstructor); }
/** * Invoke the no-arg constructor on this class. * * @return the new instance * @throws IOException if an I/O error occurs */ public Object callNoArgConstructor() throws IOException { final Constructor<?> noArgConstructor = serMethods.getNoArgConstructor(); return invokeConstructor(noArgConstructor); }
/** * Invoke the public constructor accepting an ObjectInput. * * @param objectInput the ObjectInput to pass to the constructor * @return the new instance * @throws IOException if an I/O error occurs */ public Object callObjectInputConstructor(final ObjectInput objectInput) throws IOException { final Constructor<?> objectInputConstructor = serMethods.getObjectInputConstructor(); return invokeConstructor(objectInputConstructor, objectInput); }
/** * Invoke the public constructor accepting an ObjectInput. * * @param objectInput the ObjectInput to pass to the constructor * @return the new instance * @throws IOException if an I/O error occurs */ public Object callObjectInputConstructor(final ObjectInput objectInput) throws IOException { final Constructor<?> objectInputConstructor = serMethods.getObjectInputConstructor(); return invokeConstructor(objectInputConstructor, objectInput); }
/** * Invoke the no-arg constructor on this class. * * @return the new instance * @throws IOException if an I/O error occurs */ public Object callNoArgConstructor() throws IOException { final Constructor<?> noArgConstructor = serMethods.getNoArgConstructor(); return invokeConstructor(noArgConstructor); }
/** * Invoke the no-arg constructor on this class. * * @return the new instance * @throws IOException if an I/O error occurs */ public Object callNoArgConstructor() throws IOException { final Constructor<?> noArgConstructor = serMethods.getNoArgConstructor(); return invokeConstructor(noArgConstructor); }
/** * Invoke the no-arg constructor on this class. * * @return the new instance * @throws IOException if an I/O error occurs */ public Object callNoArgConstructor() throws IOException { final Constructor<?> noArgConstructor = serMethods.getNoArgConstructor(); return invokeConstructor(noArgConstructor); }
/** * Invoke the public constructor accepting an ObjectInput. * * @param objectInput the ObjectInput to pass to the constructor * @return the new instance * @throws IOException if an I/O error occurs */ public Object callObjectInputConstructor(final ObjectInput objectInput) throws IOException { final Constructor<?> objectInputConstructor = serMethods.getObjectInputConstructor(); return invokeConstructor(objectInputConstructor, objectInput); }
/** * Invoke the public constructor accepting an ObjectInput. * * @param objectInput the ObjectInput to pass to the constructor * @return the new instance * @throws IOException if an I/O error occurs */ public Object callObjectInputConstructor(final ObjectInput objectInput) throws IOException { final Constructor<?> objectInputConstructor = serMethods.getObjectInputConstructor(); return invokeConstructor(objectInputConstructor, objectInput); }
/** * Invoke the public constructor accepting an ObjectInput. * * @param objectInput the ObjectInput to pass to the constructor * @return the new instance * @throws IOException if an I/O error occurs */ public Object callObjectInputConstructor(final ObjectInput objectInput) throws IOException { final Constructor<?> objectInputConstructor = serMethods.getObjectInputConstructor(); return invokeConstructor(objectInputConstructor, objectInput); }
/** * Invoke the no-arg constructor on this class. * * @return the new instance * @throws IOException if an I/O error occurs */ public Object callNoArgConstructor() throws IOException { final Constructor<?> noArgConstructor = serMethods.getNoArgConstructor(); return invokeConstructor(noArgConstructor); }