public class FacadeLocator extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FacadeLocator.MockableInstance
Allows to mock the behavior of the
FacadeLocator . |
Modifier and Type | Field and Description |
---|---|
static String |
UNKNOWN_CLOUD_PLATFORM_MESSAGE |
Constructor and Description |
---|
FacadeLocator() |
Modifier and Type | Method and Description |
---|---|
static <FacadeT> FacadeT |
getFacade(Class<FacadeT> facadeClass)
For internal use only.
|
static <FacadeT> Collection<FacadeT> |
getFacades(Class<FacadeT> facadeClass)
For internal use only.
|
static FacadeLocator.MockableInstance |
getMockableInstance() |
static void |
setMockableInstance(FacadeLocator.MockableInstance mockableInstance)
Replaces the default
FacadeLocator.MockableInstance instance. |
public static final String UNKNOWN_CLOUD_PLATFORM_MESSAGE
public static FacadeLocator.MockableInstance getMockableInstance()
FacadeLocator.MockableInstance
instance. This method is for internal use only.public static void setMockableInstance(FacadeLocator.MockableInstance mockableInstance)
FacadeLocator.MockableInstance
instance. This method is for internal use only.public static <FacadeT> Collection<FacadeT> getFacades(Class<FacadeT> facadeClass)
@Nullable public static <FacadeT> FacadeT getFacade(Class<FacadeT> facadeClass) throws ObjectLookupFailedException
ObjectLookupFailedException
Copyright © 2018 SAP SE. All rights reserved.