// Path: activeio-core/src/main/java/org/apache/activeio/xnet/hba/IPAddressPermission.java
// public interface IPAddressPermission extends Serializable {
//     public boolean implies(InetAddress address);
// }


import javax.management.ObjectName;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.UnknownHostException;
import java.net.SocketException;
import java.io.IOException;
import edu.emory.mathcs.backport.java.util.concurrent.Executor;
import org.apache.activeio.xnet.hba.IPAddressPermission;
import org.apache.geronimo.gbean.GBeanData;
import org.apache.geronimo.gbean.GBeanInfo;
import org.apache.geronimo.gbean.GBeanInfoBuilder;
import org.apache.geronimo.gbean.GBeanLifecycle;
import org.apache.geronimo.j2ee.j2eeobjectnames.NameFactory;
import org.apache.geronimo.kernel.GBeanAlreadyExistsException;
import org.apache.geronimo.kernel.GBeanNotFoundException;
import org.apache.geronimo.kernel.Kernel;
import org.apache.geronimo.kernel.jmx.JMXUtil;
    public IPAddressPermission[] getAllowHosts() {
        return standardServiceStack.getAllowHosts();
    }

    public void setAllowHosts(IPAddressPermission[] allowHosts) {
        standardServiceStack.setAllowHosts(allowHosts);
    }

    public void doStart() throws Exception {
        standardServiceStack.doStart();
    }

    public void doStop() throws Exception {
        standardServiceStack.doStop();
    }

    public void doFail() {
        standardServiceStack.doFail();
    }

    public static final GBeanInfo GBEAN_INFO;

    static {
        GBeanInfoBuilder infoFactory = new GBeanInfoBuilder("ActiveIO Connector", StandardServiceStackGBean.class);

        infoFactory.addAttribute("name", String.class, true);
        infoFactory.addAttribute("port", int.class, true, true);
        infoFactory.addAttribute("soTimeout", int.class, true);
        infoFactory.addAttribute("host", String.class, true, true);
        infoFactory.addAttribute("fullAddress", InetSocketAddress.class, false);
// Path: activeio-core/src/main/java/org/apache/activeio/xnet/hba/IPAddressPermission.java
// public interface IPAddressPermission extends Serializable {
//     public boolean implies(InetAddress address);
// }


// Path: activeio-core/src/main/java/org/apache/activeio/xnet/StandardServiceStackGBean.java
import javax.management.ObjectName;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.UnknownHostException;
import java.net.SocketException;
import java.io.IOException;
import edu.emory.mathcs.backport.java.util.concurrent.Executor;
import org.apache.activeio.xnet.hba.IPAddressPermission;
import org.apache.geronimo.gbean.GBeanData;
import org.apache.geronimo.gbean.GBeanInfo;
import org.apache.geronimo.gbean.GBeanInfoBuilder;
import org.apache.geronimo.gbean.GBeanLifecycle;
import org.apache.geronimo.j2ee.j2eeobjectnames.NameFactory;
import org.apache.geronimo.kernel.GBeanAlreadyExistsException;
import org.apache.geronimo.kernel.GBeanNotFoundException;
import org.apache.geronimo.kernel.Kernel;
import org.apache.geronimo.kernel.jmx.JMXUtil;

    public IPAddressPermission[] getAllowHosts() {
        return standardServiceStack.getAllowHosts();
    }

    public void setAllowHosts(IPAddressPermission[] allowHosts) {
        standardServiceStack.setAllowHosts(allowHosts);
    }

    public void doStart() throws Exception {
        standardServiceStack.doStart();
    }

    public void doStop() throws Exception {
        standardServiceStack.doStop();
    }

    public void doFail() {
        standardServiceStack.doFail();
    }

    public static final GBeanInfo GBEAN_INFO;

    static {
        GBeanInfoBuilder infoFactory = new GBeanInfoBuilder("ActiveIO Connector", StandardServiceStackGBean.class);

        infoFactory.addAttribute("name", String.class, true);
        infoFactory.addAttribute("port", int.class, true, true);
        infoFactory.addAttribute("soTimeout", int.class, true);
        infoFactory.addAttribute("host", String.class, true, true);
        infoFactory.addAttribute("fullAddress", InetSocketAddress.class, false);
        infoFactory.addAttribute("allowHosts", IPAddressPermission[].class, true);