<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi seb, <br>
Sorry for the so late reply. We've moved the mailing list to jboss
mailing list: <a class="moz-txt-link-freetext" href="http://resteasy.jboss.org/mailinglists">http://resteasy.jboss.org/mailinglists</a> from May
2016.<br>
If you have further question , please post there.<br>
To answer your question, can you please provide more information ?
for example the steps , code and environment <br>
which can help us understand this injection problem or quickly
reproduce this error.<br>
Cheers,<br>
Jim<br>
On 09/08/2016 05:50 PM, Alessio Soldano wrote:<br>
</div>
<blockquote
cite="mid:94e592a4-a7df-a6e1-c969-4d840e7f5d1f@redhat.com"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<p><br>
</p>
<div class="moz-forward-container"><br>
<br>
-------- Messaggio Inoltrato --------
<table class="moz-email-headers-table" cellpadding="0"
cellspacing="0" border="0">
<tbody>
<tr>
<th align="RIGHT" valign="BASELINE" nowrap="nowrap">Oggetto:
</th>
<td>[resteasy] Cannot use @Inject from Application class
any suggest ?</td>
</tr>
<tr>
<th align="RIGHT" valign="BASELINE" nowrap="nowrap">Data:
</th>
<td>Mon, 23 May 2016 10:19:21 +0200</td>
</tr>
<tr>
<th align="RIGHT" valign="BASELINE" nowrap="nowrap">Mittente:
</th>
<td>sbeex <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sbeex1@gmail.com"><sbeex1@gmail.com></a></td>
</tr>
<tr>
<th align="RIGHT" valign="BASELINE" nowrap="nowrap">A: </th>
<td><a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:resteasy@lists.jboss.org">resteasy@lists.jboss.org</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<div dir="ltr">Hello devs,
<div>I would like to instanciate a class in my main
RestEasyApplication (Application class).</div>
<div><br>
</div>
<div>But this TestDataLoader require some @Inject and they are
all null at this point. How could I solve that "injection
problem" ?</div>
<div><br>
</div>
<div>When I use : @Startup annotation the script loads fine.</div>
<div><br>
</div>
<div>Thx in advance for your attention<br>
seb</div>
</div>
</div>
</blockquote>
<p><br>
</p>
</body>
</html>