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) |
static <FacadeT> Collection<FacadeT> |
getFacades(Class<FacadeT> facadeClass) |
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 © 2017 SAP SE. All rights reserved.