org.apache.geronimo.derby
Class DerbyNetworkGBean
java.lang.Object
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
DerbyNetworkGBean
public DerbyNetworkGBean(DerbySystem system)
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.