| org.apache.tapestry.ioc.ServiceBindingOptions
All known Subclasses: org.apache.tapestry.ioc.internal.ServiceBinderImpl,
ServiceBindingOptions | public interface ServiceBindingOptions (Code) | | Allows additional options for a service to be specified, overriding hard coded defaults or
defaults from annotations on the service.
See Also: ServiceDef |
eagerLoad | ServiceBindingOptions eagerLoad()(Code) | | Turns eager loading on for this service. This may also be accomplished using the
EagerLoad annotation on the service implementation class.
this binding options, for further configuration |
scope | ServiceBindingOptions scope(String scope)(Code) | | Sets the scope of the service, overriding the
Scope annotation on the service
implementation class.
Parameters: scope - this binding options, for further configuration |
withId | ServiceBindingOptions withId(String id)(Code) | | Allows a specific service id for the service to be provided, rather than the default (from
the service interface). This is useful when multiple services implement the same interface,
since service ids must be unique.
Parameters: id - this binding options, for further configuration |
|
|