ALR,
i checked out the code last night and saw it. Also saw the jira issue and its dependency.
If i undestand correctly, the sub-projects arde divided this way: bootstrap-api,
bootstrap-spi and bootstrap-impl, and the depend from one another in this way: impl
depends on spi, spi depends on api. Also, each one of them is spplitted in base, as and mc
(as depends on mc, mc on base).
Now, the bug. checking the class BasicJBossASServerConfig, i see no reference to any
server object. I also see BasicJBossASServerConfig has this annotation
@ManagementObject(name = "jboss.system:type=ServerConfig"...). The closest
"server" class i found is AbstractJBossASServerBase, which has this annotation
@ManagementObject(name = AbstractJBossASServerBase.NAME_MANAGEMENT_OBJECT...). Now, i
should use some lookup mechanism to get the server object in the config (1), or simply put
a reference to the "server" object? (2) (i don't want to break any
architectural or design decision here). If (1) is the answer, what would be the correct
mechanism?. (or a third one, (1) + (2) using annotations?).
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262929#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...