public class OutboundStrategies extends java.lang.Object implements OutboundStrategy
OutboundStrategys that are applied to
a component to see if it can be adapted to an Outbound.| Constructor and Description |
|---|
OutboundStrategies() |
| Modifier and Type | Method and Description |
|---|---|
OutboundStrategy |
hasDestinationAnnotationStrategy()
Provides a strategy base on the
Destination annotation. |
OutboundStrategy |
isOutboundAlreadyStrategy()
Provides a strategy that checks to see if the component is a
Outbound already. |
static <T> java.util.Optional<Outbound<T>> |
maybeOutbound(java.lang.Object maybe,
ArooaSession session) |
<T> Outbound<T> |
outboundFor(java.lang.Object component,
ArooaSession session)
Attempt to provide an
Outbound. |
public <T> Outbound<T> outboundFor(java.lang.Object component, ArooaSession session)
OutboundStrategyOutbound.outboundFor in interface OutboundStrategycomponent - The component or its proxy.session - A session that might be useful.public static <T> java.util.Optional<Outbound<T>> maybeOutbound(java.lang.Object maybe, ArooaSession session)
public OutboundStrategy isOutboundAlreadyStrategy()
Outbound already.public OutboundStrategy hasDestinationAnnotationStrategy()
Destination annotation.