public interface ServiceBindingOptions
ServiceDef2| Modifier and Type | Method and Description | 
|---|---|
| ServiceBindingOptions | eagerLoad()Turns eager loading on for this service. | 
| ServiceBindingOptions | preventDecoration()Disallows service decoration for this service. | 
| ServiceBindingOptions | preventReloading()Identifies a service for which live class reloading is not desired. | 
| ServiceBindingOptions | scope(String scope)Sets the scope of the service, overriding the  Scopeannotation on the service implementation class. | 
| ServiceBindingOptions | withId(String id)Allows a specific service id for the service to be provided, rather than the default (from the service
 interface). | 
| ServiceBindingOptions | withMarker(Class<? extends Annotation>... marker)Defines the marker interface(s) for the service, used to connect injections by type at the point of injection
 with a particular service implementation, based on the intersection of type and marker interface. | 
| ServiceBindingOptions | withSimpleId()Uses the the simple (unqualified) class name of the implementation class as the id of the service. | 
ServiceBindingOptions withId(String id)
id - ServiceBindingOptions withSimpleId()
IllegalStateException - if the class name was not defined (via ServiceBinder.bind(Class, Class) or
                               ServiceBinder.bind(Class)).ServiceBindingOptions scope(String scope)
Scope annotation on the service implementation class.scope - ScopeConstantsServiceBindingOptions eagerLoad()
EagerLoad annotation on
 the service implementation class.ServiceBindingOptions preventDecoration()
ServiceBindingOptions preventReloading()
ServiceBindingOptions withMarker(Class<? extends Annotation>... marker)
marker - one or more markers to add${project.version} - Copyright © 2003-2015 The Apache Software Foundation.