/** * {@inheritDoc} */ @Override protected Configuration getConfiguration() { return this.container.getConfiguration(); }
/** * {@inheritDoc} */ @Override protected Configuration getConfiguration() { return this.container.getConfiguration(); }
/** * {@inheritDoc} */ @Override protected ConfigurationBuilder createConfigurationBuilder(LocalContainer container) { String serverName = container.getConfiguration().getPropertyValue(WebLogicPropertySet.SERVER); return new WebLogic8xConfigurationBuilder(serverName); }
/** * get the DOMAIN_HOME of the server. * * @return location to find files like config.xml */ protected String getDomainHome() { return ((WebLogicConfiguration) getContainer().getConfiguration()).getDomainHome(); }
/** * return the running server's name. * * @return the WebLogic server's name */ protected String getServerName() { return getContainer().getConfiguration().getPropertyValue(WebLogicPropertySet.SERVER); }
/** * {@inheritDoc}. For JOnAS 5.x this is the <code>deploy</code> directory. */ @Override public String getDeployableDir(Deployable deployable) { return getContainer().getConfiguration().getHome() + "/deploy"; }
/** * {@inheritDoc}. For JOnAS 5.x this is the <code>deploy</code> directory. */ @Override public String getDeployableDir(Deployable deployable) { return getContainer().getConfiguration().getHome() + "/deploy"; }
/** * return the running server's name. * * @return the WebLogic server's name */ protected String getServerName() { return getContainer().getConfiguration().getPropertyValue(WebLogicPropertySet.SERVER); }
/** * get the DOMAIN_HOME of the server. * * @return location to find files like config.xml */ protected String getDomainHome() { return ((WebLogicConfiguration) getContainer().getConfiguration()).getDomainHome(); }
/** * {@inheritDoc} */ @Override protected ConfigurationBuilder createConfigurationBuilder(LocalContainer container) { String serverName = container.getConfiguration().getPropertyValue(WebLogicPropertySet.SERVER); return new WebLogic9x10x103x12xConfigurationBuilder(serverName); }
/** * return the running server's name. * * @return the WebLogic server's name */ protected String getServerName() { return getContainer().getConfiguration().getPropertyValue(WebLogicPropertySet.SERVER); }
/** * get the DOMAIN_HOME of the server. * * @return location to find files like config.xml */ protected String getDomainHome() { return ((WebLogicConfiguration) getContainer().getConfiguration()).getDomainHome(); }
/** * {@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)); }
/** * 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(); }
@Override public String getContextsDir() { return getFileHandler().append(getContainer().getConfiguration().getHome(), "webapps"); }
/** * {@inheritDoc}. For Jetty this is the <code>webapps</code> directory. */ @Override public String getDeployableDir(Deployable deployable) { return getFileHandler().append(getContainer().getConfiguration().getHome(), "webapps"); }
/** * 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"); }
/** * {@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"); }
/** * {@inheritDoc}. For Resin this is the <code>webapps</code> directory. */ @Override public String getDeployableDir(Deployable deployable) { return getFileHandler().append(getContainer().getConfiguration().getHome(), "webapps"); } }
/** * Add resource to configuration using properties. * @param fixture Container. */ protected void addResourceToConfigurationViaProperty(ResourceFixture fixture) { Configuration config = getLocalContainer().getConfiguration(); config.setProperty(ResourcePropertySet.RESOURCE, fixture.buildResourcePropertyString()); } }