Chronos

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

Details

  • Type: Task Task
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: Core, Reporting, UI
  • Labels:
    None

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.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: