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. |
create
T create()
throws IOException,
IllegalStateException
- Create the instance based on the configuration.
- Returns:
- the instance
- Throws:
IOException
- if an error occurs starting the instance
IllegalStateException
- if the instance was already created
Copyright © 2008 JBoss, a division of Red Hat, Inc.