congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
StandaloneExecutionContext
Code IndexAdd Tabnine to your IDE (free)

How to use
StandaloneExecutionContext
in
org.milyn.container.standalone

Best Java code snippets using org.milyn.container.standalone.StandaloneExecutionContext (Showing top 12 results out of 315)

origin: smooks/smooks

public String getConfigParameter(String name) {
  return getConfigParameter(name, null);
}
origin: org.milyn/milyn-smooks-all

/**
 * Public Constructor.
 * <p/>
 * The execution context is constructed within the context of a target profile and
 * application context.
 * @param targetProfile The target profile (base profile) for this context.
 * These parameters are not appended to the supplied requestURI.  This arg must be supplied, even if it's empty.
 * @param context The application context.
 * @param contentEncoding Character encoding to be used when parsing content.  Null
 * defaults to "UTF-8".
 * @param extendedVisitorConfigMap Preconfigured/extended Visitor Configuration Map.
 * @throws UnknownProfileMemberException Unknown target profile.
 */
public StandaloneExecutionContext(String targetProfile, ApplicationContext context, String contentEncoding, VisitorConfigMap extendedVisitorConfigMap) throws UnknownProfileMemberException {
  if(targetProfile == null) {
    throw new IllegalArgumentException("null 'targetProfile' arg in constructor call.");
  }
  if(context == null) {
    throw new IllegalArgumentException("null 'context' arg in constructor call.");
  }
  this.context = context;
  setContentEncoding(contentEncoding);
  targetProfileSet = context.getProfileStore().getProfileSet(targetProfile);
  deliveryConfig = ContentDeliveryConfigBuilder.getConfig(targetProfileSet, context, extendedVisitorConfigMap);
  isDefaultSerializationOn = ParameterAccessor.getBoolParameter(Filter.DEFAULT_SERIALIZATION_ON, true, deliveryConfig);
}
origin: org.milyn/milyn-smooks-core

    initializeResourceConfigurations();
  return new StandaloneExecutionContext(targetProfile, context, visitorConfigMap);
} finally {
  Thread.currentThread().setContextClassLoader(originalTCCL);
  initializeResourceConfigurations();
return new StandaloneExecutionContext(targetProfile, context, visitorConfigMap);
origin: smooks/smooks

/**
 * Public Constructor.
 * <p/>
 * The execution context is constructed within the context of a target profile and
 * application context.
 * @param targetProfile The target profile (base profile) for this context.
 * These parameters are not appended to the supplied requestURI.  This arg must be supplied, even if it's empty.
 * @param context The application context.
 * @param contentEncoding Character encoding to be used when parsing content.  Null
 * defaults to "UTF-8".
 * @param extendedVisitorConfigMap Preconfigured/extended Visitor Configuration Map.
 * @throws UnknownProfileMemberException Unknown target profile.
 */
public StandaloneExecutionContext(String targetProfile, ApplicationContext context, String contentEncoding, VisitorConfigMap extendedVisitorConfigMap) throws UnknownProfileMemberException {
  if(targetProfile == null) {
    throw new IllegalArgumentException("null 'targetProfile' arg in constructor call.");
  }
  if(context == null) {
    throw new IllegalArgumentException("null 'context' arg in constructor call.");
  }
  this.context = context;
  setContentEncoding(contentEncoding);
  targetProfileSet = context.getProfileStore().getProfileSet(targetProfile);
  deliveryConfig = ContentDeliveryConfigBuilder.getConfig(targetProfileSet, context, extendedVisitorConfigMap);
  isDefaultSerializationOn = ParameterAccessor.getBoolParameter(Filter.DEFAULT_SERIALIZATION_ON, true, deliveryConfig);
}
origin: smooks/smooks

    initializeResourceConfigurations();
  return new StandaloneExecutionContext(targetProfile, context, visitorConfigMap);
} finally {
  Thread.currentThread().setContextClassLoader(originalTCCL);
  initializeResourceConfigurations();
return new StandaloneExecutionContext(targetProfile, context, visitorConfigMap);
origin: org.milyn/milyn-smooks-all

public String getConfigParameter(String name) {
  return getConfigParameter(name, null);
}
origin: org.milyn/milyn-smooks-core

/**
 * Public Constructor.
 * <p/>
 * The execution context is constructed within the context of a target profile and
 * application context.
 * @param targetProfile The target profile (base profile) for this context.
 * These parameters are not appended to the supplied requestURI.  This arg must be supplied, even if it's empty.
 * @param context The application context.
 * @param contentEncoding Character encoding to be used when parsing content.  Null
 * defaults to "UTF-8".
 * @param extendedVisitorConfigMap Preconfigured/extended Visitor Configuration Map.
 * @throws UnknownProfileMemberException Unknown target profile.
 */
public StandaloneExecutionContext(String targetProfile, ApplicationContext context, String contentEncoding, VisitorConfigMap extendedVisitorConfigMap) throws UnknownProfileMemberException {
  if(targetProfile == null) {
    throw new IllegalArgumentException("null 'targetProfile' arg in constructor call.");
  }
  if(context == null) {
    throw new IllegalArgumentException("null 'context' arg in constructor call.");
  }
  this.context = context;
  setContentEncoding(contentEncoding);
  targetProfileSet = context.getProfileStore().getProfileSet(targetProfile);
  deliveryConfig = ContentDeliveryConfigBuilder.getConfig(targetProfileSet, context, extendedVisitorConfigMap);
  isDefaultSerializationOn = ParameterAccessor.getBoolParameter(Filter.DEFAULT_SERIALIZATION_ON, true, deliveryConfig);
}
origin: org.milyn/milyn-smooks-all

    initializeResourceConfigurations();
  return new StandaloneExecutionContext(targetProfile, context, visitorConfigMap);
} finally {
  Thread.currentThread().setContextClassLoader(originalTCCL);
  initializeResourceConfigurations();
return new StandaloneExecutionContext(targetProfile, context, visitorConfigMap);
origin: org.milyn/milyn-smooks-core

public String getConfigParameter(String name) {
  return getConfigParameter(name, null);
}
origin: org.virtuslab/milyn-smooks-core

/**
 * Public Constructor.
 *
 * The execution context is constructed within the context of a target profile and
 * application context.
 * @param targetProfile The target profile (base profile) for this context.
 * These parameters are not appended to the supplied requestURI.  This arg must be supplied, even if it's empty.
 * @param context The application context.
 * @param contentEncoding Character encoding to be used when parsing content.  Null
 * defaults to "UTF-8".
 * @param extendedVisitorConfigMap Preconfigured/extended Visitor Configuration Map.
 * @throws UnknownProfileMemberException Unknown target profile.
 */
public StandaloneExecutionContext(String targetProfile, ApplicationContext context, String contentEncoding, VisitorConfigMap extendedVisitorConfigMap) throws UnknownProfileMemberException {
  if(targetProfile == null) {
    throw new IllegalArgumentException("null 'targetProfile' arg in constructor call.");
  }
  if(context == null) {
    throw new IllegalArgumentException("null 'context' arg in constructor call.");
  }
  this.context = context;
  setContentEncoding(contentEncoding);
  targetProfileSet = context.getProfileStore().getProfileSet(targetProfile);
  deliveryConfig = ContentDeliveryConfigBuilder.getConfig(targetProfileSet, context, extendedVisitorConfigMap);
  isDefaultSerializationOn = ParameterAccessor.getBoolParameter(Filter.DEFAULT_SERIALIZATION_ON, true, deliveryConfig);
}
origin: org.virtuslab/milyn-smooks-core

    initializeResourceConfigurations();
  return new StandaloneExecutionContext(targetProfile, context, visitorConfigMap);
} finally {
  Thread.currentThread().setContextClassLoader(originalTCCL);
  initializeResourceConfigurations();
return new StandaloneExecutionContext(targetProfile, context, visitorConfigMap);
origin: org.virtuslab/milyn-smooks-core

public String getConfigParameter(String name) {
  return getConfigParameter(name, null);
}
org.milyn.container.standaloneStandaloneExecutionContext

Javadoc

Standalone Container Request implementation.

Most used methods

  • <init>
    Public Constructor. The execution context is constructed within the context of a target profile and
  • getConfigParameter
  • setContentEncoding
    Set the content encoding to be used when parsing content on this standalone request instance.

Popular in Java

  • Creating JSON documents from java classes using gson
  • setRequestProperty (URLConnection)
  • onRequestPermissionsResult (Fragment)
  • notifyDataSetChanged (ArrayAdapter)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • BoxLayout (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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