Tabnine Logo
ScopeType.valueOf
Code IndexAdd Tabnine to your IDE (free)

How to use
valueOf
method
in
org.jboss.seam.ScopeType

Best Java code snippets using org.jboss.seam.ScopeType.valueOf (Showing top 6 results out of 315)

origin: org.jboss.seam/jboss-seam

private void installFactoryFromXmlElement(Element factory)
{
 String scopeName = factory.attributeValue("scope");
 String name = factory.attributeValue("name");
 if (name == null)
 {
   throw new IllegalArgumentException("must specify name in <factory/> declaration");
 }
 String method = factory.attributeValue("method");
 String value = factory.attributeValue("value");
 if (method == null && value == null)
 {
   throw new IllegalArgumentException(
       "must specify either method or value in <factory/> declaration for variable: "
            + name);
 }
 ScopeType scope = scopeName == null ? ScopeType.UNSPECIFIED : ScopeType.valueOf(scopeName
      .toUpperCase());
 boolean autoCreate = Boolean.parseBoolean(factory.attributeValue("auto-create"));
 factoryDescriptors.add(new FactoryDescriptor(name, scope, method, value, autoCreate));
}
origin: org.jboss.seam/jboss-seam-ioc

ScopeType scope = ScopeType.valueOf(node.getAttributes().getNamedItem("scope")
    .getNodeValue());
if (scope != ScopeType.STATELESS
origin: org.jboss.seam/jboss-seam

output.setScope( ScopeType.valueOf( scopeName.toUpperCase() ) );
origin: org.jboss.seam/jboss-seam

String precedenceString = component.attributeValue("precedence");
int precedence = precedenceString==null ? Install.APPLICATION : Integer.valueOf(precedenceString);
ScopeType scope = scopeName == null ? null : ScopeType.valueOf(scopeName.toUpperCase());
String autocreateAttribute = component.attributeValue("auto-create");
Boolean autoCreate = autocreateAttribute==null ? null : Boolean.parseBoolean(autocreateAttribute);
origin: org.jboss.seam/jboss-seam

if (scopeName!=null)
 input.setScope( ScopeType.valueOf( scopeName.toUpperCase() ) );
origin: org.jboss.seam/jboss-seam-ioc

scope = ScopeType.valueOf(definition.getScope().replaceFirst(prefix, "").toUpperCase());
org.jboss.seamScopeTypevalueOf

Popular methods of ScopeType

  • equals
  • getContext
  • getPrefix
  • isContextActive
  • name
  • toString
  • values

Popular in Java

  • Finding current android device location
  • addToBackStack (FragmentTransaction)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • putExtra (Intent)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • JCheckBox (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now