com.jbase.jremote.io
Class ObjectFactory
java.lang.Object
com.jbase.jremote.io.ObjectFactory
- Direct Known Subclasses:
- InboundObjectFactory, JRemoteObjectFactory
public abstract class ObjectFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectFactory
public ObjectFactory()
createObject
protected abstract JBaseSerializable createObject(int objectType)
throws UnknownTypeException
Create JBaseSerializable object from the supplied object type.
- Parameters:
int
- objectType type identifier
- Returns:
- an instance of a class implementing JBaseSerializable
- Throws:
UnknownTypeException
createGenericObjects
protected JBaseSerializable createGenericObjects(int objectType)
throws UnknownTypeException
- Creates any generic (i.e common to all framework clients) objects. If the
object is not generic calls the client specific createObject method.
- Parameters:
int
- objectType type identifier
- Returns:
- an instance of a class implementing JBaseSerializable
- Throws:
UnknownTypeException
Copyright © 2016 TEMENOS. All Rights Reserved.