warning removed
This commit is contained in:
parent
73cba3adc7
commit
7738b1ea1f
|
@ -1,11 +1,16 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<classpath>
|
<classpath>
|
||||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
|
||||||
<classpathentry kind="src" output="target/classes" path="src/main/java">
|
<classpathentry kind="src" output="target/classes" path="src/main/java">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="optional" value="true"/>
|
<attribute name="optional" value="true"/>
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
|
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
|
||||||
|
|
||||||
<wb-module deploy-name="common-smartgears-app">
|
<wb-module deploy-name="common-smartgears-app">
|
||||||
|
|
||||||
<wb-resource deploy-path="/" source-path="/src/main/resources"/>
|
<wb-resource deploy-path="/" source-path="/src/main/resources"/>
|
||||||
|
|
||||||
<wb-resource deploy-path="/" source-path="/src/main/java"/>
|
<wb-resource deploy-path="/" source-path="/src/main/java"/>
|
||||||
<wb-resource deploy-path="/" source-path="/src/test/java"/>
|
|
||||||
</wb-module>
|
</wb-module>
|
||||||
|
|
||||||
</project-modules>
|
</project-modules>
|
||||||
|
|
|
@ -79,7 +79,7 @@ public class OfflineObserver implements AppManagerObserver {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ApplicationManager call() throws Exception {
|
public ApplicationManager call() throws Exception {
|
||||||
ApplicationManager manager = managerClass.newInstance();
|
ApplicationManager manager = managerClass.getDeclaredConstructor().newInstance();
|
||||||
try {
|
try {
|
||||||
log.info("calling on onInit of {}",manager.getClass().getCanonicalName());
|
log.info("calling on onInit of {}",manager.getClass().getCanonicalName());
|
||||||
manager.onInit();
|
manager.onInit();
|
||||||
|
|
|
@ -130,7 +130,7 @@ public class OnlineObserver implements AppManagerObserver{
|
||||||
SecretManagerProvider.instance.set(secret);
|
SecretManagerProvider.instance.set(secret);
|
||||||
ApplicationManager manager = null;
|
ApplicationManager manager = null;
|
||||||
try {
|
try {
|
||||||
manager = managerClass.newInstance();
|
manager = managerClass.getDeclaredConstructor().newInstance();
|
||||||
log.info("calling on onInit on manager {} with secret {}",manager.getClass().getCanonicalName(),secret);
|
log.info("calling on onInit on manager {} with secret {}",manager.getClass().getCanonicalName(),secret);
|
||||||
manager.onInit();
|
manager.onInit();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
Loading…
Reference in New Issue