aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/plugin/zeroconfaccregwizz/ZeroconfAccRegWizzActivator.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/sip/communicator/plugin/zeroconfaccregwizz/ZeroconfAccRegWizzActivator.java')
-rw-r--r--src/net/java/sip/communicator/plugin/zeroconfaccregwizz/ZeroconfAccRegWizzActivator.java15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/net/java/sip/communicator/plugin/zeroconfaccregwizz/ZeroconfAccRegWizzActivator.java b/src/net/java/sip/communicator/plugin/zeroconfaccregwizz/ZeroconfAccRegWizzActivator.java
index 5740f3e..700f829 100644
--- a/src/net/java/sip/communicator/plugin/zeroconfaccregwizz/ZeroconfAccRegWizzActivator.java
+++ b/src/net/java/sip/communicator/plugin/zeroconfaccregwizz/ZeroconfAccRegWizzActivator.java
@@ -34,6 +34,8 @@ public class ZeroconfAccRegWizzActivator
*/
private static ConfigurationService configService;
+ private static UIService uiService;
+
/**
* Starts this bundle.
* @param bc the currently valid <tt>BundleContext</tt>.
@@ -47,8 +49,7 @@ public class ZeroconfAccRegWizzActivator
ServiceReference uiServiceRef = bundleContext
.getServiceReference(UIService.class.getName());
- UIService uiService
- = (UIService) bundleContext.getService(uiServiceRef);
+ uiService = (UIService) bundleContext.getService(uiServiceRef);
AccountRegistrationWizardContainer wizardContainer
= uiService.getAccountRegWizardContainer();
@@ -108,4 +109,14 @@ public class ZeroconfAccRegWizzActivator
{
return bundleContext;
}
+
+ /**
+ * Returns the <tt>UIService</tt>.
+ *
+ * @return the <tt>UIService</tt>
+ */
+ public static UIService getUIService()
+ {
+ return uiService;
+ }
}