jremote jbase5.2.1

com.jbase.jremote.io
Class ObjectFactory

java.lang.Object
  extended by com.jbase.jremote.io.ObjectFactory
Direct Known Subclasses:
InboundObjectFactory, JRemoteObjectFactory

public abstract class ObjectFactory
extends java.lang.Object


Constructor Summary
ObjectFactory()
           
 
Method Summary
protected  JBaseSerializable createGenericObjects(int objectType)
          Creates any generic (i.e common to all framework clients) objects.
protected abstract  JBaseSerializable createObject(int objectType)
          Create JBaseSerializable object from the supplied object type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectFactory

public ObjectFactory()
Method Detail

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

jremote jbase5.2.1

Copyright © 2010 TEMENOS. All Rights Reserved.