Tests for issues
by Pete Muir
All,
If you pick up an issue, please don't forget to write a quick test for the issue! This makes sure you
a) actually fix the issue
b) we don't end up with regressions down the line
Pete
14 years, 9 months
Do interceptor methods need to declare an Exception to be thrown?
by Mark Struberg
Hi!
Somewhere in the back of my brain, I remember that
@AroundInvoke
public void dingsBums(InvocationContext ivc) throws Exception;
MUST declare the 'throws Exception', otherwise it's illegal.
Am I right, or is my brain tricking me?
If the Exception is mandatory, the TCK needs to be changed:
org.jboss.jsr299.tck.tests.context.passivating.KokkolaInterceptor
(and maybe others)
txs and LieGrue,
strub
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
14 years, 9 months
maybe add an ExtensionLoaderService to weld-core?
by Matt Drees
I've been playing with weld-test, and it'd be neat if a test could specify
which Extensions it'd like to use (in an annotation or via dsl-ish config).
But it seems WeldBootstrap is directly using a DefaultServiceLoader to find
them.
So, could this be abstracted into an ExtensionLoaderService interface /
DefaultServiceExtensionLoaderService impl? Then tests could set up their
own ExtensionLoaderService.
-Matt
14 years, 9 months
TCK Interceptors Classes
by Gurkan Erdogdu
Hi;
Some interceptors classes in the TCK test suites implement @PreDestroy methods. AFAIK, interceptors specification says that methods with @PreDestroy in interceptor class must take InvocationContext parameter. But in TCK, those methods do not take InvocationContext parameter
For example:
org.jboss.jsr299.tck.tests.context.dependent.TransactionalInterceptor
@PreDestroy public void destroy()
{
destroyed = true;
}
Is it correct?
--Gurkan
14 years, 9 months
Java SE extension
by Gavin King
Great work on this, Peter, it's really nice.
I think we should let you specify an event type to raise:
java -Devent=my.Event
or, perhaps, an event qualifier to be applied to the ContainerInitialized event:
java -Dqualifier=my.Qualifier
that way, you have a mechanism for choosing between "main methods".
Alternatively, we could use something EL-ish to specify a method to call:
java -Daction=mybean.method
Hrm, perhaps that's the best option. Maybe my idea of using an event
wasn't so great after all.
WDYT?
--
Gavin King
gavin.king(a)gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org
14 years, 9 months
Weld module info
by Nicklas Karlsson
A minor detail but do you think it would be handy if Weld would
support some kind of module info metadata that could be displayed on
bootstrap? It could be handy to see which modules
are present and have been picked up correctly... Something in the line
of a <module-info>Weld-Excel 3.0.1</module> in beans.xml so that a
list of enabled modules and extensions could be listed
when the container boots. It could even be extended to cover possible
dependencies.
--
---
Nik
14 years, 9 months
EmbeddedAS 1.0.0-alpha-1 Nearing Release
by Andrew Lee Rubinger
Just a quick note for anyone looking to use the upcoming JBossAS
6.0.0.M1 in Embeddable fashion, we're nearing the first release of
EmbeddedAS 1.0.0-alpha-1. If you'd like to kick the tires a bit before
lockdown, it's last call. :)
I'll continue to provide EmbeddedAS releases against the most recent AS
release as needed.
Documentation lives here[1], with links to use cases at the bottom
(configuring Maven, doing proper ClassLoading, and starting the server)
S,
ALR
[1] http://www.jboss.org/community/docs/DOC-13843
--
Andrew Lee Rubinger
Sr. Software Engineer
JBoss by Red Hat
http://exitcondition.alrubinger.com
14 years, 9 months