| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> |
| <title>ServiceDeployer (Apache Axis2)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="ServiceDeployer (Apache Axis2)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ServiceDeployer.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/axis2/deployment/ServiceBuilderExtension.html" title="interface in org.apache.axis2.deployment"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/axis2/deployment/ServiceGroupBuilder.html" title="class in org.apache.axis2.deployment"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/axis2/deployment/ServiceDeployer.html" target="_top">Frames</a></li> |
| <li><a href="ServiceDeployer.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#fields_inherited_from_class_org.apache.axis2.deployment.AbstractDeployer">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.axis2.deployment</div> |
| <h2 title="Class ServiceDeployer" class="title">Class ServiceDeployer</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../org/apache/axis2/deployment/AbstractDeployer.html" title="class in org.apache.axis2.deployment">org.apache.axis2.deployment.AbstractDeployer</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.axis2.deployment.ServiceDeployer</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../org/apache/axis2/deployment/Deployer.html" title="interface in org.apache.axis2.deployment">Deployer</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="strong">ServiceDeployer</span> |
| extends <a href="../../../../org/apache/axis2/deployment/AbstractDeployer.html" title="class in org.apache.axis2.deployment">AbstractDeployer</a></pre> |
| <div class="block"><p> |
| Standard Axis2 service Deployer which use services.xml file to build |
| services. ServiceDeployer can be used with Axis2 archive (.aar) or exploded |
| directory structure. Some of the example formats given below. |
| </p> |
| <p>Examples : <p> |
| <ul> |
| <li>repository/services/SimpleService.aar/meta-inf/services.xml</li> |
| <li>repository/services/SimpleService/meta-inf/services.xml</li> |
| <li>WEB-INF/services/SimpleService.aar/meta-inf/services.xml</li> |
| <li>WEB-INF/services/SimpleService/meta-inf/services.xml</li> |
| </ul> |
| |
| <p>Further ServiceDeployer can be used to deploy services from a remote |
| repository or load a repository from a JAR file. In this case service files access through URLs. |
| To deploy services from a remote repository or JAR file it is expected to |
| present service/services.list file which contains names of services.</p> |
| |
| <p>Example :</p> <p>jar:file:/home/resources/repo.jar!/repo/services/services.list may contains following |
| list of service.</p> |
| <ul> |
| <li>StudentService.aar</li> |
| <li>SimpleService.aar</li> |
| </ul> |
| <p>There are several approaches available to set repository URL to Axis2 run |
| time. As an example one can provide repository URL as a init-param of |
| AxisServlet. Some of the examples given below.</p> |
| <ul> |
| <li> |
| <p>Example -1 : </p> |
| <pre> |
| <code><init-param> |
| <param-name>axis2.repository.url</param-name> |
| <param-value>http://localhost/repo/</param-value> |
| </init-param> </code> |
| </pre> |
| </li> |
| <li> |
| <p>Example -2 : </p> |
| <pre> |
| <code><init-param> |
| <param-name>axis2.repository.url</param-name> |
| <param-value>jar:file:/home/resources/repo.jar!/repo/</param-value> |
| </init-param> </code> |
| </pre> |
| </li> |
| </ul> |
| |
| <p><b>NOTE</b> - It is discouraged to use above services.list based deployment approach |
| because it does not support hot-deployment, hot-update and some of other |
| important deployment features as well. </p></div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields_inherited_from_class_org.apache.axis2.deployment.AbstractDeployer"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.apache.axis2.deployment.<a href="../../../../org/apache/axis2/deployment/AbstractDeployer.html" title="class in org.apache.axis2.deployment">AbstractDeployer</a></h3> |
| <code><a href="../../../../org/apache/axis2/deployment/AbstractDeployer.html#deploymentFileDataMap">deploymentFileDataMap</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../org/apache/axis2/deployment/ServiceDeployer.html#ServiceDeployer()">ServiceDeployer</a></strong>()</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/deployment/ServiceDeployer.html#deploy(org.apache.axis2.deployment.repository.util.DeploymentFileData)">deploy</a></strong>(<a href="../../../../org/apache/axis2/deployment/repository/util/DeploymentFileData.html" title="class in org.apache.axis2.deployment.repository.util">DeploymentFileData</a> deploymentFileData)</code> |
| <div class="block">Process a file and add it to the configuration</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/deployment/ServiceDeployer.html#deployFromUrl(org.apache.axis2.deployment.Deployer, java.net.URL)">deployFromUrl</a></strong>(<a href="../../../../org/apache/axis2/deployment/Deployer.html" title="interface in org.apache.axis2.deployment">Deployer</a> deployer, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a> servicesURL)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/deployment/ServiceDeployer.html#deployFromUrl(org.apache.axis2.deployment.repository.util.DeploymentFileData)">deployFromUrl</a></strong>(<a href="../../../../org/apache/axis2/deployment/repository/util/DeploymentFileData.html" title="class in org.apache.axis2.deployment.repository.util">DeploymentFileData</a> deploymentFileData)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/deployment/ServiceDeployer.html#init(org.apache.axis2.context.ConfigurationContext)">init</a></strong>(<a href="../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a> configCtx)</code> |
| <div class="block">Initialize the Deployer</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/7/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/deployment/ServiceDeployer.html#populateService(org.apache.axis2.description.AxisServiceGroup, java.net.URL, java.lang.String)">populateService</a></strong>(<a href="../../../../org/apache/axis2/description/AxisServiceGroup.html" title="class in org.apache.axis2.description">AxisServiceGroup</a> serviceGroup, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a> servicesURL, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> serviceName)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/deployment/ServiceDeployer.html#setDirectory(java.lang.String)">setDirectory</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> directory)</code> |
| <div class="block">Set the directory</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/deployment/ServiceDeployer.html#setExtension(java.lang.String)">setExtension</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> extension)</code> |
| <div class="block">Set the extension to look for |
| TODO: Support multiple extensions?</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/deployment/ServiceDeployer.html#undeploy(java.lang.String)">undeploy</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fileName)</code> |
| <div class="block">Remove a given file from the configuration</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.apache.axis2.deployment.AbstractDeployer"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.axis2.deployment.<a href="../../../../org/apache/axis2/deployment/AbstractDeployer.html" title="class in org.apache.axis2.deployment">AbstractDeployer</a></h3> |
| <code><a href="../../../../org/apache/axis2/deployment/AbstractDeployer.html#addServiceBuilderExtensions(org.apache.axis2.deployment.ServiceBuilderExtension)">addServiceBuilderExtensions</a>, <a href="../../../../org/apache/axis2/deployment/AbstractDeployer.html#cleanup()">cleanup</a>, <a href="../../../../org/apache/axis2/deployment/AbstractDeployer.html#executeServiceBuilderExtensions(org.apache.axis2.deployment.repository.util.DeploymentFileData, org.apache.axis2.context.ConfigurationContext)">executeServiceBuilderExtensions</a>, <a href="../../../../org/apache/axis2/deployment/AbstractDeployer.html#getServiceBuilderExtensions()">getServiceBuilderExtensions</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="ServiceDeployer()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>ServiceDeployer</h4> |
| <pre>public ServiceDeployer()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="init(org.apache.axis2.context.ConfigurationContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>init</h4> |
| <pre>public void init(<a href="../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a> configCtx)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/axis2/deployment/Deployer.html#init(org.apache.axis2.context.ConfigurationContext)">Deployer</a></code></strong></div> |
| <div class="block">Initialize the Deployer</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>configCtx</code> - our ConfigurationContext</dd></dl> |
| </li> |
| </ul> |
| <a name="deploy(org.apache.axis2.deployment.repository.util.DeploymentFileData)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deploy</h4> |
| <pre>public void deploy(<a href="../../../../org/apache/axis2/deployment/repository/util/DeploymentFileData.html" title="class in org.apache.axis2.deployment.repository.util">DeploymentFileData</a> deploymentFileData) |
| throws <a href="../../../../org/apache/axis2/deployment/DeploymentException.html" title="class in org.apache.axis2.deployment">DeploymentException</a></pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/axis2/deployment/Deployer.html#deploy(org.apache.axis2.deployment.repository.util.DeploymentFileData)">Deployer</a></code></strong></div> |
| <div class="block">Process a file and add it to the configuration</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis2/deployment/Deployer.html#deploy(org.apache.axis2.deployment.repository.util.DeploymentFileData)">deploy</a></code> in interface <code><a href="../../../../org/apache/axis2/deployment/Deployer.html" title="interface in org.apache.axis2.deployment">Deployer</a></code></dd> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis2/deployment/AbstractDeployer.html#deploy(org.apache.axis2.deployment.repository.util.DeploymentFileData)">deploy</a></code> in class <code><a href="../../../../org/apache/axis2/deployment/AbstractDeployer.html" title="class in org.apache.axis2.deployment">AbstractDeployer</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>deploymentFileData</code> - the DeploymentFileData object to deploy</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/deployment/DeploymentException.html" title="class in org.apache.axis2.deployment">DeploymentException</a></code> - if there is a problem</dd></dl> |
| </li> |
| </ul> |
| <a name="deployFromUrl(org.apache.axis2.deployment.repository.util.DeploymentFileData)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deployFromUrl</h4> |
| <pre>public void deployFromUrl(<a href="../../../../org/apache/axis2/deployment/repository/util/DeploymentFileData.html" title="class in org.apache.axis2.deployment.repository.util">DeploymentFileData</a> deploymentFileData) |
| throws <a href="../../../../org/apache/axis2/deployment/DeploymentException.html" title="class in org.apache.axis2.deployment">DeploymentException</a></pre> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/deployment/DeploymentException.html" title="class in org.apache.axis2.deployment">DeploymentException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="deployFromUrl(org.apache.axis2.deployment.Deployer, java.net.URL)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deployFromUrl</h4> |
| <pre>public void deployFromUrl(<a href="../../../../org/apache/axis2/deployment/Deployer.html" title="interface in org.apache.axis2.deployment">Deployer</a> deployer, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a> servicesURL) |
| throws <a href="../../../../org/apache/axis2/deployment/DeploymentException.html" title="class in org.apache.axis2.deployment">DeploymentException</a></pre> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/deployment/DeploymentException.html" title="class in org.apache.axis2.deployment">DeploymentException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="populateService(org.apache.axis2.description.AxisServiceGroup, java.net.URL, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>populateService</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/7/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>> populateService(<a href="../../../../org/apache/axis2/description/AxisServiceGroup.html" title="class in org.apache.axis2.description">AxisServiceGroup</a> serviceGroup, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a> servicesURL, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> serviceName) |
| throws <a href="../../../../org/apache/axis2/deployment/DeploymentException.html" title="class in org.apache.axis2.deployment">DeploymentException</a></pre> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/deployment/DeploymentException.html" title="class in org.apache.axis2.deployment">DeploymentException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="setDirectory(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDirectory</h4> |
| <pre>public void setDirectory(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> directory)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/axis2/deployment/Deployer.html#setDirectory(java.lang.String)">Deployer</a></code></strong></div> |
| <div class="block">Set the directory</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>directory</code> - directory name</dd></dl> |
| </li> |
| </ul> |
| <a name="setExtension(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setExtension</h4> |
| <pre>public void setExtension(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> extension)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/axis2/deployment/Deployer.html#setExtension(java.lang.String)">Deployer</a></code></strong></div> |
| <div class="block">Set the extension to look for |
| TODO: Support multiple extensions?</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>extension</code> - the file extension associated with this Deployer</dd></dl> |
| </li> |
| </ul> |
| <a name="undeploy(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>undeploy</h4> |
| <pre>public void undeploy(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fileName) |
| throws <a href="../../../../org/apache/axis2/deployment/DeploymentException.html" title="class in org.apache.axis2.deployment">DeploymentException</a></pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/axis2/deployment/Deployer.html#undeploy(java.lang.String)">Deployer</a></code></strong></div> |
| <div class="block">Remove a given file from the configuration</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis2/deployment/Deployer.html#undeploy(java.lang.String)">undeploy</a></code> in interface <code><a href="../../../../org/apache/axis2/deployment/Deployer.html" title="interface in org.apache.axis2.deployment">Deployer</a></code></dd> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis2/deployment/AbstractDeployer.html#undeploy(java.lang.String)">undeploy</a></code> in class <code><a href="../../../../org/apache/axis2/deployment/AbstractDeployer.html" title="class in org.apache.axis2.deployment">AbstractDeployer</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>fileName</code> - name of item to remove</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/deployment/DeploymentException.html" title="class in org.apache.axis2.deployment">DeploymentException</a></code> - if there is a problem</dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ServiceDeployer.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/axis2/deployment/ServiceBuilderExtension.html" title="interface in org.apache.axis2.deployment"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/axis2/deployment/ServiceGroupBuilder.html" title="class in org.apache.axis2.deployment"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/axis2/deployment/ServiceDeployer.html" target="_top">Frames</a></li> |
| <li><a href="ServiceDeployer.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#fields_inherited_from_class_org.apache.axis2.deployment.AbstractDeployer">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> |
| </body> |
| </html> |