JBoss.org Community Documentation
When introducing an interface you can also define a mixin class which will provide the implementation of that interface.
<introduction class="org.acme.MyClass"> <mixin> <interfaces> java.io.Externalizable </interfaces> <class>org.acme.ExternalizableMixin</class> <construction>new org.acme.ExternalizableMixin(this)</construction> </mixin> </introduction>
defines the list of interfaces you are introducing
The type of the mixin class.
The construction statement allows you to specify any Java code to create the mixin class.
This code will be embedded directly in the class you are introducing to so
this
works in the construction statement.