|
XNIO API 2.1.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XnioProvider

A descriptor for automatically-discovered XNIO provider type. Since instances of this interface are constructed automatically, implementing classes should have a no-arg constructor.
To add an automatically-discovered XNIO provider type, create a file called "META-INF/services/org.jboss.xnio.XnioProvider"
and populate it with the names of classes that implement this interface.
ServiceLoader| Method Summary | |
|---|---|
String |
getName()
Get the name of this provider's type. |
Xnio |
getNewInstance(XnioConfiguration configuration)
Get a new provider instance. |
| Method Detail |
|---|
String getName()
Xnio getNewInstance(XnioConfiguration configuration)
throws IOException
configuration - the configuration to use
IOException - if the new provider instance could not be created
|
XNIO API 2.1.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||