[JBoss JIRA] Updated: (SOLDER-12) Add isMetadataChanged() accessor to AnnotatedTypeBuilder
by Shane Bryzak (JIRA)
[ https://issues.jboss.org/browse/SOLDER-12?page=com.atlassian.jira.plugin.... ]
Shane Bryzak updated SOLDER-12:
-------------------------------
Fix Version/s: (was: 3.0.0.Beta1)
> Add isMetadataChanged() accessor to AnnotatedTypeBuilder
> --------------------------------------------------------
>
> Key: SOLDER-12
> URL: https://issues.jboss.org/browse/SOLDER-12
> Project: Seam Solder
> Issue Type: Feature Request
> Reporter: Dan Allen
> Priority: Minor
>
> As an optimization, it makes sense to only create the AnnotatedType and assign it to ProcessAnnotatedType if the metadata has changed in anyway. Otherwise, you are wrapping the type just for the sake of wrapping it.
> Therefore, I propose that any change to the state of the annotated type be tracked by a changed flag that is accessible by calling the AnnotatedTypeBuilder#isMetadataChanged() (or similarly named) method. It would be used as follows:
> AnnotatedTypeBuilder b = AnnotatedTypeBuilder.readFromType(event.getAnnotatedType(), true);
> // do extension logic
> if (b.isMetadataChanged())
> {
> event.setAnnotatedType(b.create());
> }
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Closed: (SOLDER-11) Performance on startup of weldx is extremely slow
by Stuart Douglas (JIRA)
[ https://issues.jboss.org/browse/SOLDER-11?page=com.atlassian.jira.plugin.... ]
Stuart Douglas closed SOLDER-11.
--------------------------------
Resolution: Done
This is actually a weld issue with portable extensions, which will be resolved in the next release.
> Performance on startup of weldx is extremely slow
> -------------------------------------------------
>
> Key: SOLDER-11
> URL: https://issues.jboss.org/browse/SOLDER-11
> Project: Seam Solder
> Issue Type: Quality Risk
> Reporter: Lincoln Baxter III
> Assignee: Stuart Douglas
> Fix For: 1.0.0.Beta2
>
>
> 17:54:29,059 WARNING [ServiceLoader] Could not load service class org.jboss.weld.extensions.interceptor.InterceptorExtension
> 17:54:41,769 INFO [org.jboss.weld.extensions.core.CoreExtension] Preventing class com.ocpsoft.socialpm.domain.user.User from being installed as bean due to @Veto annotation
> A full 12, almost 13 seconds required during part of weldx bootup. Seems like something we could improve.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 4 months