Module org.refcodes.servicebus
Package org.refcodes.servicebus
Interface ServiceAccessor.ServiceProperty<S extends Service<?>>
- Type Parameters:
S
- TheService
type property.
- All Superinterfaces:
ServiceAccessor<S>
,ServiceAccessor.ServiceMutator<S>
- Enclosing interface:
- ServiceAccessor<S extends Service<?>>
public static interface ServiceAccessor.ServiceProperty<S extends Service<?>>
extends ServiceAccessor<S>, ServiceAccessor.ServiceMutator<S>
Provides a
Service
property.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.servicebus.ServiceAccessor
ServiceAccessor.ServiceMutator<S extends Service<?>>, ServiceAccessor.ServiceProperty<S extends Service<?>>
-
Method Summary
Modifier and TypeMethodDescriptiondefault S
letService
(S aService) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofServiceAccessor.ServiceMutator.setService(Service)
and returns the very same value (getter).Methods inherited from interface org.refcodes.servicebus.ServiceAccessor
getService
Methods inherited from interface org.refcodes.servicebus.ServiceAccessor.ServiceMutator
setService
-
Method Details
-
letService
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofServiceAccessor.ServiceMutator.setService(Service)
and returns the very same value (getter).- Parameters:
aService
- The value to set (viaServiceAccessor.ServiceMutator.setService(Service)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-