| Commit in servicemix/base/src/main/java on MAIN | |||
| javax/jbi/messaging/ExchangeStatus.java | +1 | -15 | 1.3 -> 1.4 |
| javax/jbi/management/LifeCycleMBean.java | +4 | -4 | 1.5 -> 1.6 |
| org/servicemix/jbi/framework/InstallationService.java | +1 | -6 | 1.17 -> 1.18 |
| +6 | -25 | ||
compliance update
servicemix/base/src/main/java/javax/jbi/messaging
diff -u -r1.3 -r1.4 --- ExchangeStatus.java 2 Aug 2005 22:43:22 -0000 1.3 +++ ExchangeStatus.java 4 Aug 2005 17:59:27 -0000 1.4 @@ -21,21 +21,7 @@
return mStatus;
}
- /** Equality test.
-
- public boolean equals(Object obj)
- {
- boolean isEqual = false;
-
- if (obj instanceof ExchangeStatus &&
- mStatus.equals(((ExchangeStatus)obj).mStatus))
- {
- isEqual = true;
- }
-
- return isEqual;
- }
- */
+
public static ExchangeStatus valueOf(String status)
{
servicemix/base/src/main/java/javax/jbi/management
diff -u -r1.5 -r1.6 --- LifeCycleMBean.java 2 Aug 2005 22:43:22 -0000 1.5 +++ LifeCycleMBean.java 4 Aug 2005 17:59:27 -0000 1.6 @@ -5,13 +5,13 @@
public interface LifeCycleMBean
{
- void start() throws JBIException , IOException;
+ void start() throws JBIException;
- void stop() throws JBIException, IOException;
+ void stop() throws JBIException;
- void shutDown() throws JBIException, IOException;
+ void shutDown() throws JBIException;
- String getCurrentState() throws IOException;
+ String getCurrentState();
final static String SHUTDOWN = "Shutdown";
servicemix/base/src/main/java/org/servicemix/jbi/framework
diff -u -r1.17 -r1.18 --- InstallationService.java 2 Aug 2005 15:37:23 -0000 1.17 +++ InstallationService.java 4 Aug 2005 17:59:27 -0000 1.18 @@ -60,7 +60,7 @@
/** * Installation Service - installs/uninstalls archives *
- * @version $Revision: 1.17 $
+ * @version $Revision: 1.18 $
*/
public class InstallationService extends BaseLifeCycle implements FrameworkInstallationService {
private static final Log log = LogFactory.getLog(InstallationService.class);
@@ -334,11 +334,6 @@
mbean.start();
}
catch (JBIException e) {
- String errStr = "Failed to start Component: " + componentName;
- log.error(errStr, e);
- throw new DeploymentException(e);
- }
- catch (IOException e) {
String errStr = "Failed to start Component: " + componentName;
log.error(errStr, e);
throw new DeploymentException(e);
