com.sun.hk2.jsr330
Interface BindingFactory


public interface BindingFactory

Factory for building Jsr-330 bindings.

Since:
3.1
Author:
Jeff Trent

Method Summary
 BasicBinding newBinding(Class<?> serviceClass)
          Create a new binding (can be used as a builder).
 BasicBinding newBinding(String serviceName)
          Create a new binding (can be used as a builder).
 

Method Detail

newBinding

BasicBinding newBinding(String serviceName)
Create a new binding (can be used as a builder).

Parameters:
serviceName - the service name
Returns:
a BasicBinding

newBinding

BasicBinding newBinding(Class<?> serviceClass)
Create a new binding (can be used as a builder).

Parameters:
serviceClass - the service class
Returns:
a BasicBinding


Copyright © 2012 Oracle Corporation. All Rights Reserved.