Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<HTML><HEAD><TITLE>Resource reinit</TITLE></TITLE><LINK REL='stylesheet' TYPE='text/css' HREF='../../../doclet.css' TITLE='Style'/><META http-equiv="Content-Type" content="text/html; charset=UTF-8">
</HEAD><BODY><!--###BEGIN_CONTENT###--><div class="javadoc"><table class='menu'><colgroup><col/><col/></colgroup><tbody><tr><td class='NavBarCell1' colspan='2'><table><tbody><tr><th><a href='../../../overview-summary.html'>Overview</a></th><th><a href='../../../overview-index.html'>Index</a></th><th><a href='../../../index.html'>Root resource</a></th></tr></tbody></table></td></tr><tr><td class='NavBarCell3'>summary: resource | <a href='#methods-summary'>method</a></td><td class='NavBarCell3'>detail: <a href='#methods-details'>method</a></td></tr></table><h2>Path: / <a href='../../../index.html'>{BASE}</a> / <a href='../../index.html'>system</a> / <a href='../index.html'>database</a> / reinit</h2>Reinitialise the database configuration. Will close the database connection and
 reopen it, possibly with new settings.
<P>
<hr/><table class='info' id='methods-summary'><caption class='TableCaption'>Method Summary</caption><tbody><tr><th class='TableHeader'>Resource</th><th class='TableHeader'>Description</th></tr><tr><td><tt><a href='#POST'>POST /{BASE}/system/database/reinit</a></tt></td><td>Reinitialise the database configuration.</td></tr></tbody></table><hr/><table class='info' id='methods-details'><caption class='TableCaption'>Method Detail</caption><tbody></tr><tr><td><a name='POST'></a><table class='examples'><tr><td><b>HTTP Example:</b><pre>POST /{BASE}/system/database/reinit

</pre></td><td><b>API Example:</b><p><tt>SystemWebService.reinitDatabase({});</tt></p></td></tr></table><p>Reinitialise the database configuration. Will close the database connection and
 reopen it, possibly with new settings.</p><dl><dt><b>Output:</b></dt><dd><tt>javax.ws.rs.core.Response</tt> - ok if successful, 500 if not</dd>
<DT><B>HTTP return codes:</B></DT><DD><B>200</B> - if database was reinitialised successfully</DD>
<DD><B>500</B> - if there was an error while reinitialising database (see log)</DD>

</dl></td></tr></tbody></table><hr/><table class='menu'><colgroup><col/><col/></colgroup><tbody><tr><td class='NavBarCell1' colspan='2'><table><tbody><tr><th><a href='../../../overview-summary.html'>Overview</a></th><th><a href='../../../overview-index.html'>Index</a></th><th><a href='../../../index.html'>Root resource</a></th></tr></tbody></table></td></tr><tr><td class='NavBarCell3'>summary: resource | <a href='#methods-summary'>method</a></td><td class='NavBarCell3'>detail: <a href='#methods-details'>method</a></td></tr></table></div><!--###END_CONTENT###--><hr/><div class='footer'>Generated by <a href='http://www.lunatech-labs.com/open-source/jax-doclets'>Lunatech Labs jax-doclets</a> v0.10.0</div></BODY></HTML>
New to GrepCode? Check out our FAQ X