{"action":"created","issue":{"url":"https://api.github.com/repos/wildfly-security/elytron-subsystem/issues/63","labels_url":"https://api.github.com/repos/wildfly-security/elytron-subsystem/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/wildfly-security/elytron-subsystem/issues/63/comments","events_url":"https://api.github.com/repos/wildfly-security/elytron-subsystem/issues/63/events","html_url":"https://github.com/wildfly-security/elytron-subsystem/issues/63","id":91779482,"number":63,"title":"Move service classes into the resource definition classes.","user":{"login":"darranl","id":481922,"avatar_url":"https://avatars.githubusercontent.com/u/481922?v=3","gravatar_id":"","url":"https://api.github.com/users/darranl","html_url":"https://github.com/darranl","followers_url":"https://api.github.com/users/darranl/followers","following_url":"https://api.github.com/users/darranl/following{/other_user}","gists_url":"https://api.github.com/users/darranl/gists{/gist_id}","starred_url":"https://api.github.com/users/darranl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darranl/subscriptions","organizations_url":"https://api.github.com/users/darranl/orgs","repos_url":"https://api.github.com/users/darranl/repos","events_url":"https://api.github.com/users/darranl/events{/privacy}","received_events_url":"https://api.github.com/users/darranl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wildfly-security/elytron-subsystem/labels/Build","name":"Build","color":"fbca04"},{"url":"https://api.github.com/repos/wildfly-security/elytron-subsystem/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/wildfly-security/elytron-subsystem/milestones/1","html_url":"https://github.com/wildfly-security/elytron-subsystem/milestones/1.0.0.Alpha1","labels_url":"https://api.github.com/repos/wildfly-security/elytron-subsystem/milestones/1/labels","id":830067,"number":1,"title":"1.0.0.Alpha1","description":"First Alpha release","creator":{"login":"darranl","id":481922,"avatar_url":"https://avatars.githubusercontent.com/u/481922?v=3","gravatar_id":"","url":"https://api.github.com/users/darranl","html_url":"https://github.com/darranl","followers_url":"https://api.github.com/users/darranl/followers","following_url":"https://api.github.com/users/darranl/following{/other_user}","gists_url":"https://api.github.com/users/darranl/gists{/gist_id}","starred_url":"https://api.github.com/users/darranl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darranl/subscriptions","organizations_url":"https://api.github.com/users/darranl/orgs","repos_url":"https://api.github.com/users/darranl/repos","events_url":"https://api.github.com/users/darranl/events{/privacy}","received_events_url":"https://api.github.com/users/darranl/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":34,"state":"open","created_at":"2014-10-17T09:51:24Z","updated_at":"2015-06-29T18:43:42Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-06-29T11:34:46Z","updated_at":"2015-06-30T10:28:19Z","closed_at":null,"body":"The services are generally very small, often they just provide a little bit of wiring for injections and being injections ensure lifecycle is at the correct point - where this a 1:1 relationship between a service and the resource definition move these into the same file to keep the package cleaner.\r\n\r\nGenerally trying to keep to one package for the subsystem if possible so that visibility can be minimised using normal Java modifiers and not relying on jboss-modules to hide packages."},"comment":{"url":"https://api.github.com/repos/wildfly-security/elytron-subsystem/issues/comments/117117134","html_url":"https://github.com/wildfly-security/elytron-subsystem/issues/63#issuecomment-117117134","issue_url":"https://api.github.com/repos/wildfly-security/elytron-subsystem/issues/63","id":117117134,"user":{"login":"darranl","id":481922,"avatar_url":"https://avatars.githubusercontent.com/u/481922?v=3","gravatar_id":"","url":"https://api.github.com/users/darranl","html_url":"https://github.com/darranl","followers_url":"https://api.github.com/users/darranl/followers","following_url":"https://api.github.com/users/darranl/following{/other_user}","gists_url":"https://api.github.com/users/darranl/gists{/gist_id}","starred_url":"https://api.github.com/users/darranl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darranl/subscriptions","organizations_url":"https://api.github.com/users/darranl/orgs","repos_url":"https://api.github.com/users/darranl/repos","events_url":"https://api.github.com/users/darranl/events{/privacy}","received_events_url":"https://api.github.com/users/darranl/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T10:28:19Z","updated_at":"2015-06-30T10:28:19Z","body":"At the same time any Service implementations that only make use of the model and don't require on any injection can switch to using TrivialService which makes use of a Supplier to initialise the value."}}