This commit is contained in:
Trustin Lee 2009-06-18 09:10:32 +00:00
parent fc294510c1
commit fe025091a7
6 changed files with 24 additions and 0 deletions

View File

@ -39,6 +39,10 @@ import com.google.inject.Provider;
public class NioClientSocketChannelFactoryProvider extends
AbstractChannelFactoryProvider<NioClientSocketChannelFactory> {
/**
* Creates a new provider with the {@code executor} injected via the
* {@link ChannelFactoryResource} annotation.
*/
@Inject
public NioClientSocketChannelFactoryProvider(
@ChannelFactoryResource Executor executor) {

View File

@ -39,6 +39,10 @@ import com.google.inject.Provider;
public class NioDatagramChannelFactoryProvider extends
AbstractChannelFactoryProvider<NioDatagramChannelFactory> {
/**
* Creates a new provider with the {@code executor} injected via the
* {@link ChannelFactoryResource} annotation.
*/
@Inject
public NioDatagramChannelFactoryProvider(
@ChannelFactoryResource Executor executor) {

View File

@ -39,6 +39,10 @@ import com.google.inject.Provider;
public class NioServerSocketChannelFactoryProvider extends
AbstractChannelFactoryProvider<NioServerSocketChannelFactory> {
/**
* Creates a new provider with the {@code executor} injected via the
* {@link ChannelFactoryResource} annotation.
*/
@Inject
public NioServerSocketChannelFactoryProvider(
@ChannelFactoryResource Executor executor) {

View File

@ -39,6 +39,10 @@ import com.google.inject.Provider;
public class OioClientSocketChannelFactoryProvider extends
AbstractChannelFactoryProvider<OioClientSocketChannelFactory> {
/**
* Creates a new provider with the {@code executor} injected via the
* {@link ChannelFactoryResource} annotation.
*/
@Inject
public OioClientSocketChannelFactoryProvider(
@ChannelFactoryResource Executor executor) {

View File

@ -39,6 +39,10 @@ import com.google.inject.Provider;
public class OioDatagramChannelFactoryProvider extends
AbstractChannelFactoryProvider<OioDatagramChannelFactory> {
/**
* Creates a new provider with the {@code executor} injected via the
* {@link ChannelFactoryResource} annotation.
*/
@Inject
public OioDatagramChannelFactoryProvider(
@ChannelFactoryResource Executor executor) {

View File

@ -39,6 +39,10 @@ import com.google.inject.Provider;
public class OioServerSocketChannelFactoryProvider extends
AbstractChannelFactoryProvider<OioServerSocketChannelFactory> {
/**
* Creates a new provider with the {@code executor} injected via the
* {@link ChannelFactoryResource} annotation.
*/
@Inject
public OioServerSocketChannelFactoryProvider(
@ChannelFactoryResource Executor executor) {