Codota Logo
ServiceProfile.load
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
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

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onCreateOptionsMenu (Activity)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • InputStreamReader (java.io)
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • JTable (javax.swing)
  • Join (org.hibernate.mapping)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now