Tabnine Logo
ServiceProfile.load
Code IndexAdd Tabnine to your IDE (free)

How to use
load
method
in
com.asakusafw.yaess.core.ServiceProfile

Best Java code snippets using com.asakusafw.yaess.core.ServiceProfile.load (Showing top 3 results out of 315)

origin: asakusafw/asakusafw

  ServiceProfile.load(properties, PREFIX_CORE, CoreProfile.class, context);
ServiceProfile<ExecutionMonitorProvider> monitors =
  ServiceProfile.load(properties, PREFIX_MONITOR, ExecutionMonitorProvider.class, context);
ServiceProfile<ExecutionLockProvider> locks =
  ServiceProfile.load(properties, PREFIX_LOCK, ExecutionLockProvider.class, context);
ServiceProfile<JobScheduler> scheduler =
  ServiceProfile.load(properties, PREFIX_SCHEDULER, JobScheduler.class, context);
ServiceProfile<HadoopScriptHandler> hadoopHandler =
  ServiceProfile.load(properties, PREFIX_HADOOP, HadoopScriptHandler.class, context);
List<ServiceProfile<CommandScriptHandler>> commandHandlers = new ArrayList<>();
for (String commandHandlerPrefix : PropertiesUtil.getChildKeys(properties, GROUP_PREFIX_COMMAND, ".")) {
  ServiceProfile<CommandScriptHandler> profile =
    ServiceProfile.load(properties, commandHandlerPrefix, CommandScriptHandler.class, context);
  commandHandlers.add(profile);
origin: asakusafw/asakusafw

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

ServiceProfile<? extends ExecutionScriptHandler<T>> subProfile;
try {
  subProfile = ServiceProfile.load(
      properties,
      subPrefix,
com.asakusafw.yaess.coreServiceProfileload

Javadoc

Loads a service profile with the specified key prefix.

Popular methods of ServiceProfile

  • getConfiguration
    Returns the target configuration.
  • getContext
    Returns the current profile context.
  • getPrefix
    Returns the key prefix of this profile.
  • getServiceClass
    Returns the service class.
  • newInstance
    Creates a new instance. The created service will automatically Service#configure(ServiceProfile)by u
  • normalize
    Normalizes the configuration value.
  • <init>
    Creates a new instance.

Popular in Java

  • Creating JSON documents from java classes using gson
  • setScale (BigDecimal)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • runOnUiThread (Activity)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Join (org.hibernate.mapping)
  • Best plugins for Eclipse
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