[ 
https://issues.apache.org/jira/browse/ISIS-549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13781398#comment-13781398
 ] 

ASF subversion and git services commented on ISIS-549:
------------------------------------------------------

Commit 4993d53e67e6a506089b85f9d625bcdbd0b264bb in branch refs/heads/master 
from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=4993d53 ]

ISIS-549: RegisterEntities @PostConstruct ...

- now only a single method
- refactored ObjectReflectorDefault to use a ServiceInitializer subcomponent to 
enforce rule that only single @PostConstruct method can exist, ditto @PreDestroy


> RegisterEntities has two @PostConstruct methods...
> --------------------------------------------------
>
>                 Key: ISIS-549
>                 URL: https://issues.apache.org/jira/browse/ISIS-549
>             Project: Isis
>          Issue Type: Bug
>          Components: Objectstore: JDO
>    Affects Versions: objectstore-jdo-1.1.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>             Fix For: objectstore-jdo-1.2.0
>
>
> ... which we discovered are called out-of-sync when run on Ubuntu/CentOS, as 
> a war file.  This results in the RegisterEntities service doing nothing, 
> hence the DN metamodel is not built eagerly, hence strange exceptions later 
> on.
> Fix is:
> a) ensure that all services have only a single @PostConstruct method (fail 
> fast otherwise)
> b) refactor RegisterEntities



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to