public class StubFactoryGenerator<R extends Remote> extends Object
StubFactory instances for any given Remote type.| Modifier and Type | Method and Description |
|---|---|
static <R extends Remote> |
getStubFactory(Class<R> type,
RemoteInfo remoteInfo)
Returns a new or cached StubFactory.
|
public static <R extends Remote> StubFactory<R> getStubFactory(Class<R> type, RemoteInfo remoteInfo) throws IllegalArgumentException
type - main remote typeremoteInfo - remote type as supported by remote serverIllegalArgumentException - if type is null or malformedCopyright © 2006–2015 Cojen. All rights reserved.