Tabnine Logo
LocalContainer.getConfiguration
Code IndexAdd Tabnine to your IDE (free)

How to use
getConfiguration
method
in
org.codehaus.cargo.container.LocalContainer

Best Java code snippets using org.codehaus.cargo.container.LocalContainer.getConfiguration (Showing top 20 results out of 315)

origin: codehaus-cargo/cargo

/**
 * {@inheritDoc}
 */
@Override
protected Configuration getConfiguration()
{
  return this.container.getConfiguration();
}
origin: org.codehaus.cargo/cargo-core-container-tomcat

/**
 * {@inheritDoc}
 */
@Override
protected Configuration getConfiguration()
{
  return this.container.getConfiguration();
}
origin: org.codehaus.cargo/cargo-core-container-weblogic

/**
 * {@inheritDoc}
 */
@Override
protected ConfigurationBuilder createConfigurationBuilder(LocalContainer container)
{
  String serverName =
    container.getConfiguration().getPropertyValue(WebLogicPropertySet.SERVER);
  return new WebLogic8xConfigurationBuilder(serverName);
}
origin: org.codehaus.cargo/cargo-core-container-weblogic

/**
 * get the DOMAIN_HOME of the server.
 * 
 * @return location to find files like config.xml
 */
protected String getDomainHome()
{
  return ((WebLogicConfiguration) getContainer().getConfiguration()).getDomainHome();
}
origin: codehaus-cargo/cargo

/**
 * return the running server's name.
 * 
 * @return the WebLogic server's name
 */
protected String getServerName()
{
  return getContainer().getConfiguration().getPropertyValue(WebLogicPropertySet.SERVER);
}
origin: codehaus-cargo/cargo

/**
 * {@inheritDoc}. For JOnAS 5.x this is the <code>deploy</code> directory.
 */
@Override
public String getDeployableDir(Deployable deployable)
{
  return getContainer().getConfiguration().getHome() + "/deploy";
}
origin: org.codehaus.cargo/cargo-core-container-jonas

/**
 * {@inheritDoc}. For JOnAS 5.x this is the <code>deploy</code> directory.
 */
@Override
public String getDeployableDir(Deployable deployable)
{
  return getContainer().getConfiguration().getHome() + "/deploy";
}
origin: org.codehaus.cargo/cargo-core-container-weblogic

/**
 * return the running server's name.
 * 
 * @return the WebLogic server's name
 */
protected String getServerName()
{
  return getContainer().getConfiguration().getPropertyValue(WebLogicPropertySet.SERVER);
}
origin: org.codehaus.cargo/cargo-core-container-weblogic

/**
 * get the DOMAIN_HOME of the server.
 * 
 * @return location to find files like config.xml
 */
protected String getDomainHome()
{
  return ((WebLogicConfiguration) getContainer().getConfiguration()).getDomainHome();
}
origin: org.codehaus.cargo/cargo-core-container-weblogic

/**
 * {@inheritDoc}
 */
@Override
protected ConfigurationBuilder createConfigurationBuilder(LocalContainer container)
{
  String serverName =
    container.getConfiguration().getPropertyValue(WebLogicPropertySet.SERVER);
  return new WebLogic9x10x103x12xConfigurationBuilder(serverName);
}
origin: org.codehaus.cargo/cargo-core-container-weblogic

/**
 * return the running server's name.
 * 
 * @return the WebLogic server's name
 */
protected String getServerName()
{
  return getContainer().getConfiguration().getPropertyValue(WebLogicPropertySet.SERVER);
}
origin: codehaus-cargo/cargo

/**
 * get the DOMAIN_HOME of the server.
 * 
 * @return location to find files like config.xml
 */
protected String getDomainHome()
{
  return ((WebLogicConfiguration) getContainer().getConfiguration()).getDomainHome();
}
origin: org.codehaus.cargo/cargo-core-container-tomcat

/**
 * {@inheritDoc}. For Tomcat this is the <code>webapps</code> directory.
 */
@Override
public String getDeployableDir(Deployable deployable)
{
  return getFileHandler().append(getContainer().getConfiguration().getHome(),
    getContainer().getConfiguration().getPropertyValue(
      TomcatPropertySet.WEBAPPS_DIRECTORY));
}
origin: org.codehaus.cargo/cargo-core-container-jrun

/**
 * Sole constructor.
 * @param jrunContainer {@link LocalContainer}
 */
public JRun4xFilterChain(LocalContainer jrunContainer)
{
  this.jrunContainer = (InstalledLocalContainer) jrunContainer;
  this.configuration = jrunContainer.getConfiguration();
  this.xmlUtil = new XmlUtils(jrunContainer.getFileHandler());
  this.init();
}
origin: org.codehaus.cargo/cargo-core-container-jetty

@Override
public String getContextsDir()
{
  return getFileHandler().append(getContainer().getConfiguration().getHome(), "webapps");
}
origin: org.codehaus.cargo/cargo-core-container-jetty

/**
 * {@inheritDoc}. For Jetty this is the <code>webapps</code> directory.
 */
@Override
public String getDeployableDir(Deployable deployable)
{
  return getFileHandler().append(getContainer().getConfiguration().getHome(), "webapps");
}
origin: org.codehaus.cargo/cargo-core-container-jetty

/**
 * Specifies the directory for which the <code>context.xml</code> for the
 * {@link org.codehaus.cargo.container.deployable.Deployable}s should be copied to. For Jetty
 * this is the <code>webapps</code> directory.
 * 
 * @return Deployable the directory to deploy the <code>context.xml</code> file to
 */
public String getContextsDir()
{
  return getFileHandler().append(getContainer().getConfiguration().getHome(), "contexts");
}
origin: org.codehaus.cargo/cargo-core-container-jo

/**
 * {@inheritDoc}. For jo! this is the <code>webapp/host</code> directory.
 */
@Override
public String getDeployableDir(Deployable deployable)
{
  return getFileHandler().append(getContainer().getConfiguration().getHome(), "webapp/host");
}
origin: org.codehaus.cargo/cargo-core-container-resin

  /**
   * {@inheritDoc}. For Resin this is the <code>webapps</code> directory.
   */
  @Override
  public String getDeployableDir(Deployable deployable)
  {
    return getFileHandler().append(getContainer().getConfiguration().getHome(), "webapps");
  }
}
origin: codehaus-cargo/cargo

  /**
   * Add resource to configuration using properties.
   * @param fixture Container.
   */
  protected void addResourceToConfigurationViaProperty(ResourceFixture fixture)
  {
    Configuration config = getLocalContainer().getConfiguration();
    config.setProperty(ResourcePropertySet.RESOURCE, fixture.buildResourcePropertyString());
  }
}
org.codehaus.cargo.containerLocalContainergetConfiguration

Popular methods of LocalContainer

  • getId
  • getState
  • getName
  • stop
  • restart
  • setTimeout
  • start
  • getCapability
  • getFileHandler
  • isAppend
  • setOutput
  • getLogger
  • setOutput,
  • getLogger,
  • getOutput,
  • getTimeout,
  • getType,
  • setAppend,
  • setConfiguration

Popular in Java

  • Reading from database using SQL prepared statement
  • getApplicationContext (Context)
  • getResourceAsStream (ClassLoader)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top Vim plugins
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