net.jini.jeri
Class InvocationLayerFactory.Instances

java.lang.Object
  extended by net.jini.jeri.InvocationLayerFactory.Instances
Enclosing interface:
InvocationLayerFactory

public static class InvocationLayerFactory.Instances
extends Object

A container for the proxy and invocation dispatcher instances returned by InvocationLayerFactory.createInstances.

Since:
2.0

Constructor Summary
InvocationLayerFactory.Instances(Remote proxy, InvocationDispatcher dispatcher)
          Creates a container for a proxy instance and an invocation dispatcher instance.
 
Method Summary
 InvocationDispatcher getInvocationDispatcher()
          Returns the invocation dispatcher.
 Remote getProxy()
          Returns the proxy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationLayerFactory.Instances

public InvocationLayerFactory.Instances(Remote proxy,
                                        InvocationDispatcher dispatcher)
Creates a container for a proxy instance and an invocation dispatcher instance.

Parameters:
proxy - a proxy
dispatcher - an invocation dispatcher
Throws:
NullPointerException - if any argument is null
Method Detail

getProxy

public Remote getProxy()
Returns the proxy.

Returns:
the proxy

getInvocationDispatcher

public InvocationDispatcher getInvocationDispatcher()
Returns the invocation dispatcher.

Returns:
the invocation dispatcher


Copyright 2007, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.