public class ScpNeoDestinationFacade extends AbstractDestinationFacade
Constructor and Description |
---|
ScpNeoDestinationFacade() |
Modifier and Type | Method and Description |
---|---|
void |
declareDestinations(Collection<String> destinationNames)
Declares the given destination names.
|
GenericDestination |
getGenericDestination(String destinationName)
Returns the
GenericDeclaration for the given name. |
Map<String,? extends GenericDestination> |
getGenericDestinationsByName()
Returns all destinations by their names.
|
getDestination, getDestinationsByName, getDestinationType, getRfcDestination, getRfcDestinationsByName
public void declareDestinations(Collection<String> destinationNames)
DestinationFacade.getDestination(String)
and DestinationFacade.getDestinationsByName()
, for example, during application
startup within a ServletContextListener.
Notes:
declareDestinations
in interface DestinationFacade
declareDestinations
in class AbstractDestinationFacade
DestinationDeclarator
,
RequestContext
,
DestinationsRequestContextListener
public GenericDestination getGenericDestination(String destinationName) throws DestinationNotFoundException, DestinationAccessException
GenericDeclaration
for the given name.DestinationNotFoundException
- If the GenericDeclaration
cannot be found.DestinationAccessException
- If there is an issue while accessing destination information.public Map<String,? extends GenericDestination> getGenericDestinationsByName() throws DestinationAccessException
DestinationAccessException
- If there is an issue while accessing destination information.Copyright © 2017 SAP SE. All rights reserved.