title: Restlet server resource with constructor parameters needed
body: <p>Getting this error in restlet:</p>
  
  <pre><code>ForwardUIApplication ; Exception while instantiating the target server resource.
  java.lang.InstantiationException: me.unroll.forwardui.server.ForwardUIServer$UnsubscribeForwardUIResource
  </code></pre>
  
  <p>And I know exactly why.  It's because my constructor looks like this:</p>
  
  <pre><code>public UnsubscribeForwardUIResource(MySQLConnectionPool connectionPool) {
  </code></pre>
  
  <p>And Restlet accesses the resource like so:</p>
  
  <pre><code>router.attach(Config.unsubscribeUriPattern(), UnsubscribeForwardUIResource.class);
  </code></pre>
  
  <p>Problem is I actually need that ctor argument.  How can I make it accessible?  (Note I'm not using any IOC framework, just lots of ctor arguments but this is in fact an IOC pattern).</p>