コード例 #1
0
  protected void setConfigurationContextService(ConfigurationContextService ccService) {
    ConfigurationContext serverCtx = ccService.getServerConfigContext();
    AxisConfiguration serverConfig = serverCtx.getAxisConfiguration();
    LocalTransportReceiver.CONFIG_CONTEXT = new ConfigurationContext(serverConfig);
    LocalTransportReceiver.CONFIG_CONTEXT.setServicePath("services");
    LocalTransportReceiver.CONFIG_CONTEXT.setContextRoot("local:/");

    Util.setConfigurationContextService(ccService);
  }
コード例 #2
0
 protected void activate(ComponentContext context) {
   try {
     Util.registerRetrieverServices(context.getBundleContext());
     if (log.isDebugEnabled()) {
       log.debug("******* Tenant Activity bundle is activated ******* ");
     }
   } catch (Throwable e) {
     log.error("******* Error in activating Tenant Activity bundle ******* ", e);
   }
 }
コード例 #3
0
 protected void unsetConfigurationContextService(ConfigurationContextService ccService) {
   Util.setConfigurationContextService(null);
 }
コード例 #4
0
 protected void unsetRealmService(RealmService realmService) {
   Util.setRealmService(null);
 }
コード例 #5
0
 protected void setRealmService(RealmService realmService) {
   Util.setRealmService(realmService);
 }
コード例 #6
0
 protected void unsetRegistryService(RegistryService registryService) {
   Util.setRegistryService(null);
 }
コード例 #7
0
 protected void setRegistryService(RegistryService registryService) {
   Util.setRegistryService(registryService);
 }