Examples of ScopeType


Examples of org.jboss.seam.ScopeType

            // if the class is a seam component
            if (d.isAnnotationPresent(Name.class)) {
                String name = d.getAnnotation(Name.class).value();
                Component component = Component.forName(name);
                if (component != null) {
                    ScopeType scope = component.getScope();
                    if (scope != ScopeType.STATELESS && scope.isContextActive()) {
                        scope.getContext().remove(name);
                    }
                    Init.instance().removeObserverMethods(component);
                }
                Contexts.getApplicationContext().remove(name + Initialization.COMPONENT_SUFFIX);
            }
View Full Code Here

Examples of org.jboss.shrinkwrap.resolver.api.maven.ScopeType

    static MavenResolvedArtifact fromArtifactResult(final ArtifactResult artifactResult) {
        final Artifact artifact = artifactResult.getArtifact();
        final DependencyNode root = artifactResult.getRequest().getDependencyNode();

        // SHRINKRES-143 lets ignore invalid scope
        ScopeType scopeType = ScopeType.RUNTIME;
        try {
            scopeType = ScopeType.fromScopeType(root.getDependency().getScope());
        } catch (IllegalArgumentException e) {
            // let scope be RUNTIME
            log.log(Level.WARNING, "Invalid scope {0} of retrieved dependency {1} will be replaced by <scope>runtime</scope>",
View Full Code Here

Examples of org.mitre.medfacts.i2b2.annotation.ScopeType

    String beginLine = matcher.group(2);
    String beginCharacter = matcher.group(3);
    String endLine = matcher.group(4);
    String endCharacter = matcher.group(5);
    String scopeTypeText = matcher.group(6);
    ScopeType scopeType = ScopeType.valueOf(scopeTypeText.toUpperCase());

    ScopeOrCueAnnotation annotation = null;

    switch (scopeType)
    {
View Full Code Here

Examples of org.red5.server.api.scope.ScopeType

   * @param cd composite data
   * @return Scope class instance
   */
  public static Scope from(CompositeData cd) {
    IScope parent = null;
    ScopeType type = ScopeType.UNDEFINED;
    String name = null;
    boolean persistent = false;
    if (cd.containsKey("parent")) {
      parent = (IScope) cd.get("parent");
    }
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.