mandala.rami.impl
Class ARPFactory

java.lang.Object
  extended bymandala.rami.AbstractARFactory
      extended bymandala.rami.impl.ARPFactory
All Implemented Interfaces:
Framework.Factory

public class ARPFactory
extends AbstractARFactory


Field Summary
 
Fields inherited from class mandala.rami.AbstractARFactory
callbackManager
 
Constructor Summary
ARPFactory(Framework.Factory headerFactory, Framework.Factory tailerFactory)
           
ARPFactory(Framework.Factory headerFactory, Framework.Factory tailerFactory, CallbackManager callbackManager)
           
 
Method Summary
 Framework.Factory getHeaderFactory()
           
 AsynchronousReference getInstance(java.lang.Object object, CallbackManager callbackManager)
          Gets an asynchronous reference on the specified object.
 Framework.Factory getTailerFactory()
           
 AsynchronousReference newInstance(ConstructorOp c, java.lang.Object[] args)
          Returns a new AsynchronousReference which references the object created with the given constructor and parameter.
 
Methods inherited from class mandala.rami.AbstractARFactory
getDefaultCallbackManager, getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ARPFactory

public ARPFactory(Framework.Factory headerFactory,
                  Framework.Factory tailerFactory)

ARPFactory

public ARPFactory(Framework.Factory headerFactory,
                  Framework.Factory tailerFactory,
                  CallbackManager callbackManager)
Method Detail

getHeaderFactory

public Framework.Factory getHeaderFactory()

getTailerFactory

public Framework.Factory getTailerFactory()

getInstance

public AsynchronousReference getInstance(java.lang.Object object,
                                         CallbackManager callbackManager)
Description copied from class: AbstractARFactory

Gets an asynchronous reference on the specified object.

If the object is not already referenced by an asynchronous reference, a new one is created with the specified callbackManager.

Specified by:
getInstance in class AbstractARFactory
Parameters:
object - an Object value
callbackManager - a CallbackManager value
Returns:
the asynchronous reference on the specified object

newInstance

public AsynchronousReference newInstance(ConstructorOp c,
                                         java.lang.Object[] args)
Description copied from interface: Framework.Factory

Returns a new AsynchronousReference which references the object created with the given constructor and parameter.

Specified by:
newInstance in interface Framework.Factory
Overrides:
newInstance in class AbstractARFactory


Mandala help mailing list