org.apache.geronimo.messaging.reference
Class ReferenceFactory

java.lang.Object
  extended byorg.apache.geronimo.messaging.reference.ReferenceFactory

public class ReferenceFactory
extends Object

Factory of Referenceable proxies.

Version:
$Revision: 1.2 $ $Date: 2004/05/20 13:37:11 $

Constructor Summary
ReferenceFactory(RequestSender aSender, MsgOutInterceptor anOut)
           
 
Method Summary
 Object factory(ReferenceableInfo aReferenceInfo)
          Builds a proxy for the Referenceable aReferenceInfo.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceFactory

public ReferenceFactory(RequestSender aSender,
                        MsgOutInterceptor anOut)
Parameters:
aSender - Request sender service.
anOut - Transport bus.
Method Detail

factory

public Object factory(ReferenceableInfo aReferenceInfo)
Builds a proxy for the Referenceable aReferenceInfo.
This proxy implements all the interfaces of the Referenceable and uses under the cover the request sender and transport bus provided to the constructor.
It also implements the Reference interface, though the contracts of this interface are not intended to be invoked by clients.

Parameters:
aReferenceInfo - Referenceable meta-data.
Returns:
A Referenceable proxy.


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.