当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
SerializingInstantiatorStrategy (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.objenesis.strategy
Class SerializingInstantiatorStrategy
java.lang.Object
org.objenesis.strategy.BaseInstantiatorStrategy
org.objenesis.strategy.SerializingInstantiatorStrategy
- All Implemented Interfaces:
- InstantiatorStrategy
public class SerializingInstantiatorStrategy
- extends BaseInstantiatorStrategy
Guess the best serializing instantiator for a given class. The returned instantiator will
instantiate classes like the genuine java serialization framework (the constructor of the first
not serializable class will be called). Currently, the selection doesn't depend on the class. It
relies on the
- JVM version
- JVM vendor
- JVM vendor version
However, instantiators are stateful and so dedicated to their class.
- See Also:
ObjectInstantiator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializingInstantiatorStrategy
public SerializingInstantiatorStrategy()
newInstantiatorOf
public ObjectInstantiator newInstantiatorOf(Class type)
- Return an
ObjectInstantiator
allowing to create instance following the java
serialization framework specifications.
- Parameters:
type
- Class to instantiate
- Returns:
- The ObjectInstantiator for the class
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.