Tabnine Logo
ProfileContext.system
Code IndexAdd Tabnine to your IDE (free)

How to use
system
method
in
com.asakusafw.yaess.core.ProfileContext

Best Java code snippets using com.asakusafw.yaess.core.ProfileContext.system (Showing top 2 results out of 315)

origin: asakusafw/asakusafw

/**
 * Loads a YAESS profile from the specified properties.
 * @param properties source properties
 * @param classLoader the class loader to load the service class
 * @return the loaded profile
 * @throws IllegalArgumentException if the target profile is invalid, or parameters contain {@code null}
 * @deprecated use {@link #load(Properties, ProfileContext)} instead
 */
@Deprecated
public static YaessProfile load(Properties properties, ClassLoader classLoader) {
  if (properties == null) {
    throw new IllegalArgumentException("properties must not be null"); //$NON-NLS-1$
  }
  if (classLoader == null) {
    throw new IllegalArgumentException("classLoader must not be null"); //$NON-NLS-1$
  }
  return load(properties, ProfileContext.system(classLoader));
}
origin: asakusafw/asakusafw

  throw new IllegalArgumentException("classLoader must not be null"); //$NON-NLS-1$
return load(properties, prefix, serviceBaseClass, ProfileContext.system(classLoader));
com.asakusafw.yaess.coreProfileContextsystem

Javadoc

Creates a new context with system variables as context parameters.

Popular methods of ProfileContext

  • getContextParameters
    Returns context parameters (may be environment variables).
  • <init>
    Creates a new instance.
  • getClassLoader
    Returns a class loader to load services.

Popular in Java

  • Updating database using SQL prepared statement
  • notifyDataSetChanged (ArrayAdapter)
  • runOnUiThread (Activity)
  • setRequestProperty (URLConnection)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • JPanel (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Github Copilot alternatives
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