T
- the decorated definition typepublic abstract class DefinitionProviderWrapperWithProxyFallback<T> extends DefinitionProviderWrapper<T>
get()
method implementation in such a way that it's result uses a 'decorated super-result' as a
safety net for unsuccessful method calls.Constructor and Description |
---|
DefinitionProviderWrapperWithProxyFallback(DefinitionProvider<T> delegate) |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
doGet() |
T |
get()
Returns the underlying bean if and only if it is successfully resolved, is valid, and is enabled.
|
getDecorators, getDelegate, getErrorMessages, getMetadata, getRaw, isValid
public DefinitionProviderWrapperWithProxyFallback(DefinitionProvider<T> delegate)
public final T get()
DefinitionProvider
get
in interface DefinitionProvider<T>
get
in class DefinitionProviderWrapper<T>
protected abstract T doGet()
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.