You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/09/29 17:00:25 UTC
[jira] [Commented] (ISIS-549) RegisterEntities has two
@PostConstruct methods...
[ 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)