Update chronos codes to reflect the new Application/Layer/Module

Description

  • Need to divide the application to application/layer/modules

  • The [org.qi4j.chronos.service.Services] interface must go.
    There is a better way to handle this now.
    Either via @PropertyParameter or via @Services

For example,
<code>
public ChronosSession(
@PropertyParameter( PROPERTY_NAME_WEB_APP )AuthenticatedWebApplication authenticatedWebApplication,
@PropertyParameter( PROPERTY_NAME_REQUEST )Request request,
@Service UserService aUserService,
@Service AccountService anAccountService )
</code>
We can delegate the instantiation of [ChronosSession] to [ObjectBuilderFactory], and by using @Service, The [ObjectBuilderFactory] will initialize the required services.

Environment

None

Assignee

Edward Yakop

Reporter

Edward Yakop

Labels

None

Components

Priority

Major
Configure