public class StubBuilder<T> extends Object implements org.apache.commons.lang3.builder.Builder<T>
Constructor and Description |
---|
StubBuilder(ProxyFactory proxyFactory,
Class<T> type) |
StubBuilder(ProxyFactory proxyFactory,
Class<T> type,
Invoker invoker) |
StubBuilder(ProxyFactory proxyFactory,
Class<T> type,
ObjectProvider<? extends T> provider) |
StubBuilder(ProxyFactory proxyFactory,
Class<T> type,
T target) |
Modifier and Type | Method and Description |
---|---|
StubBuilder<T> |
addProxyTypes(Class<?>... proxyTypes) |
T |
build() |
<O> StubBuilder<T> |
train(BaseTrainer<?,O> trainer) |
public StubBuilder(ProxyFactory proxyFactory, Class<T> type)
public StubBuilder(ProxyFactory proxyFactory, Class<T> type, Invoker invoker)
public StubBuilder(ProxyFactory proxyFactory, Class<T> type, ObjectProvider<? extends T> provider)
public StubBuilder(ProxyFactory proxyFactory, Class<T> type, T target)
public <O> StubBuilder<T> train(BaseTrainer<?,O> trainer)
public StubBuilder<T> addProxyTypes(Class<?>... proxyTypes)
Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.