Examples of addScope()


Examples of org.jboss.metadata.spi.scope.ScopeKey.addScope()

   {
      if (name == null)
         throw new IllegalArgumentException("Null scope");

      ScopeKey scopeKey = ScopeKey.DEFAULT_SCOPE.clone();
      scopeKey.addScope(CommonLevels.INSTANCE, name.toString());
      if (className != null)
         scopeKey.addScope(CommonLevels.CLASS, className);
      // todo - some other level
      scopeKey.addScope(CommonLevels.WORK, String.valueOf(hashCode()));
      setScope(scopeKey);
View Full Code Here

Examples of org.jboss.metadata.spi.scope.ScopeKey.addScope()

         throw new IllegalArgumentException("Null scope");

      ScopeKey scopeKey = ScopeKey.DEFAULT_SCOPE.clone();
      scopeKey.addScope(CommonLevels.INSTANCE, name.toString());
      if (className != null)
         scopeKey.addScope(CommonLevels.CLASS, className);
      // todo - some other level
      scopeKey.addScope(CommonLevels.WORK, String.valueOf(hashCode()));
      setScope(scopeKey);
      setMutableScope(new ScopeKey(CommonLevels.INSTANCE, name.toString()));
   }
View Full Code Here

Examples of org.springframework.beans.factory.config.CustomScopeConfigurer.addScope()

  }

  @Bean
  public static CustomScopeConfigurer webSocketScopeConfigurer() {
    CustomScopeConfigurer configurer = new CustomScopeConfigurer();
    configurer.addScope("websocket", new SimpSessionScope());
    return configurer;
  }

  @Bean
  public WebSocketMessageBrokerStats webSocketMessageBrokerStats() {
View Full Code Here

Examples of org.tod.meta.sourcecode.SourceInfo.addScope()

                end = Integer.parseInt(value);
            }
        }
       
        SourceInfo sourceInfo = this.classInfo.getSourceInfo();
        sourceInfo.addScope(conditional, start, end);
    }

    private String fromStaticKey(String name) {
        String newName;
        if (name.startsWith(".")) {
View Full Code Here

Examples of org.wso2.carbon.discovery.config.Config.addScope()

    }

    private Config getDefaultConfig() {
        Config config = new Config();
        config.setMetadataVersion(DiscoveryConstants.DISCOVERY_DEFAULT_METADATA_VERSION);
        config.addScope(DiscoveryConstants.DISCOVERY_DEFAULT_SCOPE);
        return config;
    }

    private String getServiceID(Config config, AxisService service) throws Exception {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.