polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@hedhman.org>
Subject Classes as Transients
Date Wed, 16 Dec 2015 05:38:47 GMT
Gang,

back in 2011, Rickard started a discussion and some coding on using any
class as a TransientComposite. I.e.

@Concerns( SomeConcern.class )
public class MyTransient
{
}

module.transients( MyTransient.class );

See original mail at
https://www.mail-archive.com/qi4j-dev@lists.ops4j.org/msg05945.html

There is a disabled testcase for this, and I took a quick look, and a
simple fix in the TransientClassLoader made this very simple test pass.


I will add my change (and the enable the testcase) in the ZEST-132 branch,
and CALLING for VOLUNTEERS to add more testcases around this feature, so we
can make it a formally supported way of doing stuff.


Cheers
-- 
Niclas Hedhman, Software Developer
http://zest.apache.org - New Energy for Java

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message