| Modifier and Type | Method and Description | 
|---|---|
Unmanaged.UnmanagedInstance<T> | 
dispose()
Dispose of the instance, doing any necessary cleanup 
 | 
T | 
get()
Get the instance 
 | 
Unmanaged.UnmanagedInstance<T> | 
inject()
Inject the instance 
 | 
Unmanaged.UnmanagedInstance<T> | 
postConstruct()
Call the @PostConstruct callback 
 | 
Unmanaged.UnmanagedInstance<T> | 
preDestroy()
Call the @PreDestroy callback 
 | 
Unmanaged.UnmanagedInstance<T> | 
produce()
Create the instance 
 | 
public T get()
public Unmanaged.UnmanagedInstance<T> produce()
java.lang.IllegalStateException - if produce() is called on an already produced instancejava.lang.IllegalStateException - if produce() is called on an instance that has already been disposedpublic Unmanaged.UnmanagedInstance<T> inject()
java.lang.IllegalStateException - if inject() is called before produce() is calledjava.lang.IllegalStateException - if inject() is called on an instance that has already been disposedpublic Unmanaged.UnmanagedInstance<T> postConstruct()
java.lang.IllegalStateException - if postConstruct() is called before produce() is calledjava.lang.IllegalStateException - if postConstruct() is called on an instance that has already been disposedpublic Unmanaged.UnmanagedInstance<T> preDestroy()
java.lang.IllegalStateException - if preDestroy() is called before produce() is calledjava.lang.IllegalStateException - if preDestroy() is called on an instance that has already been disposedpublic Unmanaged.UnmanagedInstance<T> dispose()
java.lang.IllegalStateException - if dispose() is called before produce() is calledjava.lang.IllegalStateException - if dispose() is called on an instance that has already been disposed