Skip to content

Commit

Permalink
add a new constructor to ServerSymmetricEngine
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Feb 23, 2019
1 parent c71f7c9 commit fcacb8e
Showing 1 changed file with 9 additions and 0 deletions.
Expand Up @@ -26,6 +26,9 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;

import javax.sql.DataSource;

import org.apache.commons.lang.ClassUtils;
import org.apache.commons.lang.StringUtils;
Expand Down Expand Up @@ -57,6 +60,12 @@ public ServerSymmetricEngine(File propertiesFile, ApplicationContext springConte
this.engineHolder = engineHolder;
}

public ServerSymmetricEngine(DataSource dataSource, ApplicationContext springContext,
Properties properties, boolean registerEngine, SymmetricEngineHolder engineHolder) {
super(dataSource, springContext, properties, registerEngine);
this.engineHolder = engineHolder;
}

public SymmetricEngineHolder getEngineHolder() {
return engineHolder;
}
Expand Down

0 comments on commit fcacb8e

Please sign in to comment.