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

  • Start an intent from android
  • onCreateOptionsMenu (Activity)
  • getSystemService (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • Menu (java.awt)
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • PhpStorm for WordPress
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