org.apache.geronimo.derby
Class DerbySystemGBean

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

public class DerbySystemGBean
extends Object
implements DerbySystem, org.apache.geronimo.gbean.GBeanLifecycle

A GBean that represents an instance of an Apache Derby system (a system being a collection of different databases).


Field Summary
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
 
Constructor Summary
DerbySystemGBean(org.apache.geronimo.system.serverinfo.ServerInfo serverInfo, String derbySystemHome)
           
 
Method Summary
 void doFail()
           
 void doStart()
           
 void doStop()
           
 String getDerbyHome()
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 
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

DerbySystemGBean

public DerbySystemGBean(org.apache.geronimo.system.serverinfo.ServerInfo serverInfo,
                        String derbySystemHome)
Method Detail

getDerbyHome

public String getDerbyHome()
Specified by:
getDerbyHome in interface DerbySystem

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.