[weld-dev] manifest frinder
Pete Muir
pmuir at redhat.com
Mon Dec 7 06:11:40 EST 2009
On 5 Dec 2009, at 07:40, Nicklas Karlsson wrote:
> BTW, would
>
> <T> Manifest findManifest(Class<T> clazz) throws Exception;
>
> be a better signature if it's to be used with
> ProcessAnnotatedType.getAnnotatedType().getJavaClass() ?
Personally, I would use this, and record manifests already read.
>
> Perhaps we even could we raise a ProcessBeanDeplomentArchive event so
> we wouldn't get hit for every bean in an archive? We could then call
> the manifestfinder once (for any file in the archive?) or find another
> place to check it from. Of course the extension would not be portable
> (unless the event goes into a rev of the spec).
>
> On Tue, Dec 1, 2009 at 6:25 PM, Gavin King <gavin.king at gmail.com> wrote:
>> ok
>>
>> On Tue, Dec 1, 2009 at 11:23 AM, Pete Muir <pmuir at redhat.com> wrote:
>>> FTR, what Nik wants is the ability to do:
>>>
>>> if (portableExtension) {
>>> log.info("Loading " + portableExtensionName + " " + portableExtensionVersion);
>>> }
>>>
>>> I'm not quite sure if this is something that should go in beans.xml (which, IMO is about a application configuration).
>>>
>>> TBH, I think the Manifest is the right place for this.
>>>
>>> On 1 Dec 2009, at 16:13, Gavin King wrote:
>>>
>>>> Pete, if you would like us to add a <description/> tag to beans.xml in
>>>> the maintenance release, let me know.
>>>
>>>
>>
>>
>>
>> --
>> Gavin King
>> gavin.king at gmail.com
>> http://in.relation.to/Bloggers/Gavin
>> http://hibernate.org
>> http://seamframework.org
>>
>> _______________________________________________
>> weld-dev mailing list
>> weld-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/weld-dev
>>
>
>
>
> --
> ---
> Nik
>
> _______________________________________________
> weld-dev mailing list
> weld-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/weld-dev
More information about the weld-dev
mailing list