|
XNIO API 2.1.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.xnio.XnioConfiguration
public final class XnioConfiguration

A configuration for an XNIO provider.
| Constructor Summary | |
|---|---|
XnioConfiguration()
Construct an uninitialized instance. |
|
| Method Summary | |
|---|---|
Executor |
getExecutor()
Get the default listener executor for the XNIO provider instance. |
List<MBeanServer> |
getMBeanServers()
Get the MBeanServers that the provider should register with. |
String |
getName()
Get the common name of the XNIO provider instance. |
OptionMap |
getOptionMap()
Get the option map associated with this configuration. |
ThreadFactory |
getThreadFactory()
Get the thread factory to use for any created threads. |
void |
setExecutor(Executor executor)
Set the default listener executor for the XNIO provider instance. |
void |
setMBeanServers(List<MBeanServer> mBeanServers)
Set the MBeanServers that the provider should register with. |
void |
setName(String name)
Set the common name of the XNIO provider instance. |
void |
setOptionMap(OptionMap optionMap)
Set the option map associated with this configuration. |
void |
setThreadFactory(ThreadFactory threadFactory)
Set the thread factory to use for any created threads. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XnioConfiguration()
| Method Detail |
|---|
public List<MBeanServer> getMBeanServers()
MBeanServers that the provider should register with. A null value indicates that
the provider should attempt autodetection, based on the value of the xnio.agentid system property.
null to indicate autodetectionpublic void setMBeanServers(List<MBeanServer> mBeanServers)
MBeanServers that the provider should register with. A null value indicates that
the provider should attempt autodetection, based on the value of the xnio.agentid system property.
mBeanServers - the list of MBean servers, or null to indicate autodetectionpublic ThreadFactory getThreadFactory()
public void setThreadFactory(ThreadFactory threadFactory)
threadFactory - the thread factorypublic Executor getExecutor()
public void setExecutor(Executor executor)
executor - the default listener executorpublic String getName()
public void setName(String name)
name - the namepublic OptionMap getOptionMap()
public void setOptionMap(OptionMap optionMap)
optionMap - the option map
|
XNIO API 2.1.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||