com.sun.hk2.jsr330
Interface Jsr330Binding

All Known Subinterfaces:
Jsr330BindingExt
All Known Implementing Classes:
BasicBinding

@Contract
public interface Jsr330Binding

A programmatic means to establish a Jsr-330 Injector configuration.

Since:
3.1
Author:
Jeff Trent

Method Summary
 Collection<String> getContractClassNames()
          The optional collection of contract names (interface or class) to advertise the service under.
 String getServiceClassName()
          The FQCN of the implementation class.
 Collection<Named> getServiceNames()
          the optional collection of names to assign the service implementation.
 Collection<Class<? extends Annotation>> getServiceQualifiers()
          The optional collection of qualifiers for this service implementation.
 Scope getServiceScope()
          The optional Scope.
 

Method Detail

getServiceClassName

String getServiceClassName()
The FQCN of the implementation class. Must be non-null.


getContractClassNames

Collection<String> getContractClassNames()
The optional collection of contract names (interface or class) to advertise the service under.


getServiceQualifiers

Collection<Class<? extends Annotation>> getServiceQualifiers()
The optional collection of qualifiers for this service implementation.


getServiceNames

Collection<Named> getServiceNames()
the optional collection of names to assign the service implementation.


getServiceScope

Scope getServiceScope()
The optional Scope. The default in null == PerLookup.



Copyright © 2012 Oracle Corporation. All Rights Reserved.