Package com.atlassian.bamboo.upgrade
Class BootstrapTaskConnectionProvider
- java.lang.Object
-
- com.atlassian.bamboo.upgrade.BootstrapTaskConnectionProvider
-
public class BootstrapTaskConnectionProvider extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConnectiongetConnection(com.atlassian.config.db.HibernateConfig hibernateConfig)static voidstop()static voidwithNoConnectionAllowed(Callable<Object> runnable)
-
-
-
Method Detail
-
withNoConnectionAllowed
public static void withNoConnectionAllowed(Callable<Object> runnable) throws Exception
- Throws:
Exception
-
stop
public static void stop()
-
getConnection
public static Connection getConnection(com.atlassian.config.db.HibernateConfig hibernateConfig) throws SQLException
- Throws:
SQLException
-
-