org.openorb.orb.rmi
Class DeserializationKernelFactory

java.lang.Object
  |
  +--org.openorb.orb.rmi.DeserializationKernelFactory

public final class DeserializationKernelFactory
extends java.lang.Object

This class can be used to create a deserialization kernel based on the current JDK. Currently this factory has been tested successfully on the following operating system and VM combinations: Vendor: IBM Corporation

Vendor: Sun Microsystems (http://java.sun.com) Vendor: Hewlett-Packard Company Vendor: Apple Computer, Inc. Vendor: BEA WebLogic JRockit (http://www.jrockit.com)

Author:
Michael Rumpf, lkuehne

Method Summary
static DeserializationKernel retrieveDeserializationKernel()
          Try to find specific classes in the current VM and return an appropriate wrapper.
static void setDeserializationEngine(java.lang.String deserializationEngine)
          Set the deserialization engine to use.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setDeserializationEngine

public static void setDeserializationEngine(java.lang.String deserializationEngine)
Set the deserialization engine to use.
Parameters:
deserializationEngine - either auto or native, maybe prefixed with 'lazy:'.

retrieveDeserializationKernel

public static DeserializationKernel retrieveDeserializationKernel()
Try to find specific classes in the current VM and return an appropriate wrapper. Throw an error if the VM has an unknown vendor. When called twice this method will return the same static instance.
Returns:
The DeserializationKernel wrapper for the current VM.