T
- the decorated definition typepublic 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.DefinitionProvider.Problem
Constructor and Description |
---|
DefinitionProviderWrapperWithProxyFallback(DefinitionProvider<T> delegate)
Deprecated.
since 5.5 - use
DefinitionProviderWrapperWithProxyFallback(DefinitionProvider, Object) instead. |
DefinitionProviderWrapperWithProxyFallback(DefinitionProvider<T> delegate,
T fallbackDefinition) |
Modifier and Type | Method and Description |
---|---|
protected T |
doGet() |
T |
get()
Returns the underlying bean if and only if it is successfully resolved, is valid, and is enabled.
|
getDelegate
getDecorators, getErrorMessages, getLastModified, getMetadata, getProblems, getRaw, isValid
public DefinitionProviderWrapperWithProxyFallback(DefinitionProvider<T> delegate, T fallbackDefinition)
@Deprecated public DefinitionProviderWrapperWithProxyFallback(DefinitionProvider<T> delegate)
DefinitionProviderWrapperWithProxyFallback(DefinitionProvider, Object)
instead.public final T get()
DefinitionProvider
get
in interface DefinitionProvider<T>
get
in class AbstractDefinitionProviderWrapper<T>
protected T doGet()
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.