mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-9258: Added isEngineEnabled check to the Activiti engine initialisation so the JobExecuterThread is not started when it doesn't need to be.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29897 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1697,14 +1697,15 @@ public class SchemaBootstrap extends AbstractLifecycleBean
|
||||
*
|
||||
* @author Frederik Heremans
|
||||
*/
|
||||
public class UnclosableConnection implements Connection {
|
||||
|
||||
public class UnclosableConnection implements Connection
|
||||
{
|
||||
private Connection wrapped;
|
||||
|
||||
public UnclosableConnection(Connection wrappedConnection)
|
||||
{
|
||||
this.wrapped = wrappedConnection;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isWrapperFor(Class<?> iface) throws SQLException
|
||||
{
|
||||
@@ -2007,6 +2008,5 @@ public class SchemaBootstrap extends AbstractLifecycleBean
|
||||
{
|
||||
wrapped.setTypeMap(map);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user