@Deprecated public ObjectInputStream deserialize(String className,byte[] data) throws OperationsException, ReflectionException {
  if (className == null) {
    throw new RuntimeOperationsException(new IllegalArgumentException(),"Null className passed in parameter");
  }
  final ClassLoaderRepository clr=getClassLoaderRepository();
  Class<?> theClass;
  try {
    if (clr == null)     throw new ClassNotFoundException(className);
    theClass=clr.loadClass(className);
  }
 catch (  ClassNotFoundException e) {
    throw new ReflectionException(e,"The given class could not be " + "loaded by the default loader " + "repository");
  }
  return instantiator.deserialize(theClass.getClassLoader(),data);
}

@ Deprecated public ObjectInputStream deserialize ( String className , byte [ ] data ) throws OperationsException , ReflectionException { if ( className == null ) { throw new RuntimeOperationsException ( new IllegalArgumentException ( ) , "Null className passed in parameter" ) ; } final ClassLoaderRepository clr = getClassLoaderRepository ( ) ; Class < ? > theClass ; try { if ( clr == null ) throw new ClassNotFoundException ( className ) ; theClass = clr . loadClass ( className ) ; } catch ( ClassNotFoundException e ) { throw new ReflectionException ( e , "The given class could not be " + "loaded by the default loader " + "repository" ) ; } return instantiator . deserialize ( theClass . getClassLoader ( ) , data ) ; }
de - serializes a byte array in the context of a given mbean class loader . the class loader is the one that loaded the class with name " classname " .
