net.jini.jeri
Class InvocationLayerFactory.Instances
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
proxy
private final Remote proxy
dispatcher
private final InvocationDispatcher dispatcher
InvocationLayerFactory.Instances
public InvocationLayerFactory.Instances(Remote proxy,
InvocationDispatcher dispatcher)
- Creates a container for a proxy instance and an invocation
dispatcher instance.
- Parameters:
proxy
- a proxydispatcher
- an invocation dispatcher
- Throws:
NullPointerException
- if any argument is
null
getProxy
public Remote getProxy()
- Returns the proxy.
- Returns:
- the proxy
getInvocationDispatcher
public InvocationDispatcher getInvocationDispatcher()
- Returns the invocation dispatcher.
- Returns:
- the invocation dispatcher
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.