geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r693719 - /geronimo/gshell/trunk/gshell-wisdom/src/main/java/org/apache/geronimo/gshell/wisdom/ShellBuilder.java
Date Wed, 10 Sep 2008 07:46:14 GMT
Author: jdillon
Date: Wed Sep 10 00:46:14 2008
New Revision: 693719

URL: http://svn.apache.org/viewvc?rev=693719&view=rev
Log:
No need to expose BeansException

Modified:
    geronimo/gshell/trunk/gshell-wisdom/src/main/java/org/apache/geronimo/gshell/wisdom/ShellBuilder.java

Modified: geronimo/gshell/trunk/gshell-wisdom/src/main/java/org/apache/geronimo/gshell/wisdom/ShellBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-wisdom/src/main/java/org/apache/geronimo/gshell/wisdom/ShellBuilder.java?rev=693719&r1=693718&r2=693719&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-wisdom/src/main/java/org/apache/geronimo/gshell/wisdom/ShellBuilder.java
(original)
+++ geronimo/gshell/trunk/gshell-wisdom/src/main/java/org/apache/geronimo/gshell/wisdom/ShellBuilder.java
Wed Sep 10 00:46:14 2008
@@ -36,7 +36,6 @@
 import org.apache.geronimo.gshell.spring.BeanContainerImpl;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
-import org.springframework.beans.BeansException;
 
 /**
  * Builds {@link org.apache.geronimo.gshell.shell.Shell} instances.
@@ -110,11 +109,11 @@
         settingsConfig.setSettings(settings);
     }
 
-    private SettingsManager createSettingsManager() throws BeansException {
+    private SettingsManager createSettingsManager() {
         return getContainer().getBean(SettingsManager.class);
     }
 
-    public SettingsManager getSettingsManager() throws BeansException {
+    public SettingsManager getSettingsManager() {
         if (settingsManager == null) {
             settingsManager = createSettingsManager();
         }
@@ -133,11 +132,11 @@
         applicationConfig.setApplication(application);
     }
 
-    private ApplicationManager createApplicationManager() throws BeansException {
+    private ApplicationManager createApplicationManager() {
         return getContainer().getBean(ApplicationManager.class);
     }
 
-    public ApplicationManager getApplicationManager() throws BeansException {
+    public ApplicationManager getApplicationManager() {
         if (applicationManager == null) {
             applicationManager = createApplicationManager();
         }
@@ -148,11 +147,11 @@
         this.applicationManager = applicationManager;
     }
 
-    private ArtifactManager createArtifactManager() throws BeansException {
+    private ArtifactManager createArtifactManager() {
         return getContainer().getBean(ArtifactManager.class);
     }
 
-    public ArtifactManager getArtifactManager() throws BeansException {
+    public ArtifactManager getArtifactManager() {
         if (artifactManager == null) {
             artifactManager = createArtifactManager();
         }



Mime
View raw message