Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Improved: Remove unnecessary declared exceptions for ‘ContainerExcept…
…ion’ (OFBIZ-10938) git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857913 13f79535-47bb-0310-9956-ffa450edef68
- Loading branch information
Showing
with
15 additions
and 15 deletions.
- +3 −4 framework/base/src/main/java/org/apache/ofbiz/base/container/ComponentContainer.java
- +1 −1 framework/catalina/src/main/java/org/apache/ofbiz/catalina/container/CatalinaContainer.java
- +2 −2 framework/entity/src/main/java/org/apache/ofbiz/entity/DelegatorContainer.java
- +2 −2 framework/entityext/src/main/java/org/apache/ofbiz/entityext/data/EntityDataLoadContainer.java
- +2 −2 framework/service/src/main/java/org/apache/ofbiz/service/ServiceContainer.java
- +2 −2 framework/service/src/main/java/org/apache/ofbiz/service/mail/JavaMailContainer.java
- +2 −1 framework/service/src/main/java/org/apache/ofbiz/service/rmi/RmiServiceContainer.java
- +1 −1 framework/testtools/src/main/java/org/apache/ofbiz/testtools/TestRunContainer.java
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -147,7 +147,7 @@ public boolean start() throws ContainerException { | ||
return true; | ||
} | ||
|
||
public void stop() { | ||
try { | ||
tomcat.stop(); | ||
} catch (LifecycleException e) { | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -118,12 +118,12 @@ public void init(List<StartupCommand> ofbizCommands, String name, String configF | ||
} | ||
|
||
@Override | ||
public boolean start() { | ||
return true; | ||
} | ||
|
||
@Override | ||
public void stop() { | ||
} | ||
|
||
@Override | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -174,7 +174,8 @@ public boolean start() throws ContainerException { | ||
return true; | ||
} | ||
|
||
@Override | ||
public void stop() { | ||
remote.deregister(); | ||
} | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -102,7 +102,7 @@ public boolean start() throws ContainerException { | ||
return true; | ||
} | ||
|
||
public void stop() { | ||
} | ||
|
||
public String getName() { | ||