XNIO version 1.2.0.GA

org.jboss.xnio
Class XnioConfiguration

java.lang.Object
  extended by org.jboss.xnio.XnioConfiguration
Direct Known Subclasses:
NioXnioConfiguration

public abstract class XnioConfiguration
extends Object

An abstract configuration for an XNIO provider. This class provides configuration items that are always common to all providers.

Since:
1.2

Constructor Summary
protected XnioConfiguration()
          Construct an uninitialized instance.
 
Method Summary
 List<MBeanServer> getMBeanServers()
          Get the MBeanServers that the provider should register with.
 String getName()
          Get the common name of 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XnioConfiguration

protected XnioConfiguration()
Construct an uninitialized instance.

Method Detail

getMBeanServers

public List<MBeanServer> getMBeanServers()
Get the 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.

Returns:
the list of MBean servers, or null to indicate autodetection

setMBeanServers

public void setMBeanServers(List<MBeanServer> mBeanServers)
Set the 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.

Parameters:
mBeanServers - the list of MBean servers, or null to indicate autodetection

getName

public String getName()
Get the common name of the XNIO provider instance.

Returns:
the name

setName

public void setName(String name)
Set the common name of the XNIO provider instance.

Parameters:
name - the name

XNIO version 1.2.0.GA

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