public class Pojo<X> extends Object implements javax.inject.Provider<X>, Bean<X>
ProvidesValue.NoOp<X>ReceivesValue.NoOp<T>| Modifier and Type | Method and Description |
|---|---|
X |
get()
Provides a fully-constructed and injected instance of
T. |
void |
set(X x)
set() can be used either as an asynchronous method callback,
or as an actual setter for a
Bean value. |
public Pojo()
public Pojo(X x)
public X get()
javax.inject.ProviderT.get in interface javax.inject.Provider<X>get in interface ProvidesValue<X>public void set(X x)
ReceivesValueBean value.set in interface ReceivesValue<X>x - - The object to receive.Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.