Codota Logo
StandaloneExecutionContext
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
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

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • onCreateOptionsMenu (Activity)
  • findViewById (Activity)
  • IOException (java.io)
    Signals that an I/O exception of some sort has occurred. This class is the general class of exceptio
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
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