XNIO version 1.0.0.GA

org.jboss.xnio
Interface ConfigurableFactory<T>

Type Parameters:
T - the subject type
All Superinterfaces:
Configurable

public interface ConfigurableFactory<T>
extends Configurable

A factory which produces an instance based on a configuration. Once the create method is called, the instance may no longer be reconfigured.


Method Summary
 T create()
          Create the instance based on the configuration.
 
Methods inherited from interface org.jboss.xnio.channels.Configurable
getOption, getOptions, setOption
 

Method Detail

create

T create()
         throws IOException
Create the instance based on the configuration.

Returns:
the instance
Throws:
IOException - if an error occurs starting the instance

XNIO version 1.0.0.GA

Copyright © 2008 JBoss, a division of Red Hat, Inc.