public class ServiceStrategies extends java.lang.Object implements ServiceStrategy
Service
.Modifier and Type | Class and Description |
---|---|
static class |
ServiceStrategies.HasServiceAnnotationsStrategy |
static class |
ServiceStrategies.HasServiceMethodsStrategy |
static class |
ServiceStrategies.IsServiceAlreadyStrategy
Provides a strategy that checks to see if the component is a
Service already. |
Constructor and Description |
---|
ServiceStrategies() |
Modifier and Type | Method and Description |
---|---|
ServiceAdaptor |
serviceFor(java.lang.Object component,
ArooaSession session)
Attempt to provide an adaptor.
|
public ServiceAdaptor serviceFor(java.lang.Object component, ArooaSession session)
ServiceStrategy
serviceFor
in interface ServiceStrategy
component
- The component.session
- A session that might be useful.