From version 55.6
edited by Clemens Robbenhaar
on 2019/09/28 21:51
To version 56.1
edited by Paul Libbrecht
on 2019/12/10 17:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.ClemensRobbenhaar
1 +xwiki:XWiki.polx
ExtensionCode.ExtensionClass[0]
Description
... ... @@ -143,7 +143,7 @@
143 143  
144 144  ==== Registering a Component with several Roles ====
145 145  
146 -You can make a component providing several roles by implementing the corresponding interfaces. However note that each role will produce a different instance.
146 +You can make a component providing several roles by implementing the corresponding interfaces. However note that each role will produce a different instance. This is even true if the class implements the ##Singleton## annotation; one understands that singletons are "by roles".
147 147  
148 148  {{code language="java"}}
149 149  @Component
XWiki.XWikiComments[7]
Comment

Get Connected