diff options
Diffstat (limited to 'org.eclipse.help.appserver/src/org/eclipse/help/internal/appserver/AppserverPlugin.java')
-rw-r--r-- | org.eclipse.help.appserver/src/org/eclipse/help/internal/appserver/AppserverPlugin.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/org.eclipse.help.appserver/src/org/eclipse/help/internal/appserver/AppserverPlugin.java b/org.eclipse.help.appserver/src/org/eclipse/help/internal/appserver/AppserverPlugin.java index e38e207f0..dc7e22149 100644 --- a/org.eclipse.help.appserver/src/org/eclipse/help/internal/appserver/AppserverPlugin.java +++ b/org.eclipse.help.appserver/src/org/eclipse/help/internal/appserver/AppserverPlugin.java @@ -22,10 +22,9 @@ public class AppserverPlugin extends Plugin { private static final String APP_SERVER_DEFAULT_ATTRIBUTE = "default"; //$NON-NLS-1$ // singleton object private static AppserverPlugin plugin; - private static BundleContext bundleContext; +// private static BundleContext bundleContext; private IWebappServer appServer; private String contributingServerPlugin; - private boolean initialized = false; private String hostAddress; private int port; /** @@ -53,7 +52,7 @@ public class AppserverPlugin extends Plugin { appServer.stop(); } plugin = null; - bundleContext = null; +// bundleContext = null; super.stop(context); } /* @@ -64,7 +63,7 @@ public class AppserverPlugin extends Plugin { public void start(BundleContext context) throws Exception { super.start(context); plugin = this; - bundleContext = context; +// bundleContext = context; } /** * Returns the plugin ID that contributes the server implementation @@ -75,7 +74,6 @@ public class AppserverPlugin extends Plugin { return contributingServerPlugin; } private void createWebappServer() throws CoreException { - initialized = true; // Initializes the app server by getting an instance via // app-server the extension point // get the app server extension from the system plugin registry |