org.apache.geronimo.derby
Class DerbyNetworkGBean

java.lang.Object
  extended by org.apache.geronimo.derby.DerbyNetworkGBean
All Implemented Interfaces:
org.apache.geronimo.gbean.GBeanLifecycle

public class DerbyNetworkGBean
extends Object
implements org.apache.geronimo.gbean.GBeanLifecycle

A GBean that manages remote network access to the embedded Derby server. todo need to figure out how to configure this without using system properties


Field Summary
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
 
Constructor Summary
DerbyNetworkGBean(DerbySystem system)
           
 
Method Summary
 void doFail()
           
 void doStart()
           
 void doStop()
           
 InetSocketAddress getAddress()
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 String getHost()
           
 int getPort()
           
 void setHost(String host)
           
 void setPort(int port)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

DerbyNetworkGBean

public DerbyNetworkGBean(DerbySystem system)
Method Detail

getHost

public String getHost()

setHost

public void setHost(String host)

getPort

public int getPort()

setPort

public void setPort(int port)

getAddress

public InetSocketAddress getAddress()

doStart

public void doStart()
             throws Exception
Specified by:
doStart in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
Exception

doStop

public void doStop()
            throws Exception
Specified by:
doStop in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
Exception

doFail

public void doFail()
Specified by:
doFail in interface org.apache.geronimo.gbean.GBeanLifecycle

getGBeanInfo

public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()


Copyright © 2006 Apache Software Foundation. All Rights Reserved.