{"action":"created","comment":{"url":"https://api.github.com/repos/peholmst/vaadin4spring/pulls/comments/32405963","id":32405963,"diff_hunk":"@@ -36,6 +36,10 @@ creating a singleton instance of ```ApplicationContextEventBroker```:\n  }\n ```    \n \n+# Event Bus Topics\n+Events can be published with a string based topic. This will distinguish which listener methods will be called.\n+Therefore a topic must be provided when publishing events and at the listener methods.","path":"addons/eventbus/README.md","position":6,"original_position":6,"commit_id":"50009d6863446fa6bbdce1a6185e7601a7121a72","original_commit_id":"50009d6863446fa6bbdce1a6185e7601a7121a72","user":{"login":"peholmst","id":193337,"avatar_url":"https://avatars.githubusercontent.com/u/193337?v=3","gravatar_id":"","url":"https://api.github.com/users/peholmst","html_url":"https://github.com/peholmst","followers_url":"https://api.github.com/users/peholmst/followers","following_url":"https://api.github.com/users/peholmst/following{/other_user}","gists_url":"https://api.github.com/users/peholmst/gists{/gist_id}","starred_url":"https://api.github.com/users/peholmst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peholmst/subscriptions","organizations_url":"https://api.github.com/users/peholmst/orgs","repos_url":"https://api.github.com/users/peholmst/repos","events_url":"https://api.github.com/users/peholmst/events{/privacy}","received_events_url":"https://api.github.com/users/peholmst/received_events","type":"User","site_admin":false},"body":"The topic can be left out as well, in which case it will default to an empty string, right?","created_at":"2015-06-15T10:00:31Z","updated_at":"2015-06-15T10:00:31Z","html_url":"https://github.com/peholmst/vaadin4spring/pull/226#discussion_r32405963","pull_request_url":"https://api.github.com/repos/peholmst/vaadin4spring/pulls/226","_links":{"self":{"href":"https://api.github.com/repos/peholmst/vaadin4spring/pulls/comments/32405963"},"html":{"href":"https://github.com/peholmst/vaadin4spring/pull/226#discussion_r32405963"},"pull_request":{"href":"https://api.github.com/repos/peholmst/vaadin4spring/pulls/226"}}},"pull_request":{"url":"https://api.github.com/repos/peholmst/vaadin4spring/pulls/226","id":37553940,"html_url":"https://github.com/peholmst/vaadin4spring/pull/226","diff_url":"https://github.com/peholmst/vaadin4spring/pull/226.diff","patch_url":"https://github.com/peholmst/vaadin4spring/pull/226.patch","issue_url":"https://api.github.com/repos/peholmst/vaadin4spring/issues/226","number":226,"state":"open","locked":false,"title":"Extends event bus to accept target strings (publish and method annoration)","user":{"login":"luthardt","id":5794927,"avatar_url":"https://avatars.githubusercontent.com/u/5794927?v=3","gravatar_id":"","url":"https://api.github.com/users/luthardt","html_url":"https://github.com/luthardt","followers_url":"https://api.github.com/users/luthardt/followers","following_url":"https://api.github.com/users/luthardt/following{/other_user}","gists_url":"https://api.github.com/users/luthardt/gists{/gist_id}","starred_url":"https://api.github.com/users/luthardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luthardt/subscriptions","organizations_url":"https://api.github.com/users/luthardt/orgs","repos_url":"https://api.github.com/users/luthardt/repos","events_url":"https://api.github.com/users/luthardt/events{/privacy}","received_events_url":"https://api.github.com/users/luthardt/received_events","type":"User","site_admin":false},"body":"We need a simple approach in order to distinguish between Payloads with same content, \r\n\r\nThis commit adds two new publich methods with a target paramter (String) to speciefy a target of the event. A method can be marked as target to a speciefic event by setting the target parameter of the EventBusListenerMethod.","created_at":"2015-06-12T11:30:11Z","updated_at":"2015-06-15T10:00:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8f15353b5e99ca1ad752ee5258e8585d2e9f1164","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/peholmst/vaadin4spring/pulls/226/commits","review_comments_url":"https://api.github.com/repos/peholmst/vaadin4spring/pulls/226/comments","review_comment_url":"https://api.github.com/repos/peholmst/vaadin4spring/pulls/comments{/number}","comments_url":"https://api.github.com/repos/peholmst/vaadin4spring/issues/226/comments","statuses_url":"https://api.github.com/repos/peholmst/vaadin4spring/statuses/50009d6863446fa6bbdce1a6185e7601a7121a72","head":{"label":"luthardt:master","ref":"master","sha":"50009d6863446fa6bbdce1a6185e7601a7121a72","user":{"login":"luthardt","id":5794927,"avatar_url":"https://avatars.githubusercontent.com/u/5794927?v=3","gravatar_id":"","url":"https://api.github.com/users/luthardt","html_url":"https://github.com/luthardt","followers_url":"https://api.github.com/users/luthardt/followers","following_url":"https://api.github.com/users/luthardt/following{/other_user}","gists_url":"https://api.github.com/users/luthardt/gists{/gist_id}","starred_url":"https://api.github.com/users/luthardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luthardt/subscriptions","organizations_url":"https://api.github.com/users/luthardt/orgs","repos_url":"https://api.github.com/users/luthardt/repos","events_url":"https://api.github.com/users/luthardt/events{/privacy}","received_events_url":"https://api.github.com/users/luthardt/received_events","type":"User","site_admin":false},"repo":{"id":37313470,"name":"vaadin4spring","full_name":"luthardt/vaadin4spring","owner":{"login":"luthardt","id":5794927,"avatar_url":"https://avatars.githubusercontent.com/u/5794927?v=3","gravatar_id":"","url":"https://api.github.com/users/luthardt","html_url":"https://github.com/luthardt","followers_url":"https://api.github.com/users/luthardt/followers","following_url":"https://api.github.com/users/luthardt/following{/other_user}","gists_url":"https://api.github.com/users/luthardt/gists{/gist_id}","starred_url":"https://api.github.com/users/luthardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luthardt/subscriptions","organizations_url":"https://api.github.com/users/luthardt/orgs","repos_url":"https://api.github.com/users/luthardt/repos","events_url":"https://api.github.com/users/luthardt/events{/privacy}","received_events_url":"https://api.github.com/users/luthardt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/luthardt/vaadin4spring","description":"Vaadin integration for Spring and Spring Boot","fork":true,"url":"https://api.github.com/repos/luthardt/vaadin4spring","forks_url":"https://api.github.com/repos/luthardt/vaadin4spring/forks","keys_url":"https://api.github.com/repos/luthardt/vaadin4spring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/luthardt/vaadin4spring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/luthardt/vaadin4spring/teams","hooks_url":"https://api.github.com/repos/luthardt/vaadin4spring/hooks","issue_events_url":"https://api.github.com/repos/luthardt/vaadin4spring/issues/events{/number}","events_url":"https://api.github.com/repos/luthardt/vaadin4spring/events","assignees_url":"https://api.github.com/repos/luthardt/vaadin4spring/assignees{/user}","branches_url":"https://api.github.com/repos/luthardt/vaadin4spring/branches{/branch}","tags_url":"https://api.github.com/repos/luthardt/vaadin4spring/tags","blobs_url":"https://api.github.com/repos/luthardt/vaadin4spring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/luthardt/vaadin4spring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/luthardt/vaadin4spring/git/refs{/sha}","trees_url":"https://api.github.com/repos/luthardt/vaadin4spring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/luthardt/vaadin4spring/statuses/{sha}","languages_url":"https://api.github.com/repos/luthardt/vaadin4spring/languages","stargazers_url":"https://api.github.com/repos/luthardt/vaadin4spring/stargazers","contributors_url":"https://api.github.com/repos/luthardt/vaadin4spring/contributors","subscribers_url":"https://api.github.com/repos/luthardt/vaadin4spring/subscribers","subscription_url":"https://api.github.com/repos/luthardt/vaadin4spring/subscription","commits_url":"https://api.github.com/repos/luthardt/vaadin4spring/commits{/sha}","git_commits_url":"https://api.github.com/repos/luthardt/vaadin4spring/git/commits{/sha}","comments_url":"https://api.github.com/repos/luthardt/vaadin4spring/comments{/number}","issue_comment_url":"https://api.github.com/repos/luthardt/vaadin4spring/issues/comments{/number}","contents_url":"https://api.github.com/repos/luthardt/vaadin4spring/contents/{+path}","compare_url":"https://api.github.com/repos/luthardt/vaadin4spring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/luthardt/vaadin4spring/merges","archive_url":"https://api.github.com/repos/luthardt/vaadin4spring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/luthardt/vaadin4spring/downloads","issues_url":"https://api.github.com/repos/luthardt/vaadin4spring/issues{/number}","pulls_url":"https://api.github.com/repos/luthardt/vaadin4spring/pulls{/number}","milestones_url":"https://api.github.com/repos/luthardt/vaadin4spring/milestones{/number}","notifications_url":"https://api.github.com/repos/luthardt/vaadin4spring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/luthardt/vaadin4spring/labels{/name}","releases_url":"https://api.github.com/repos/luthardt/vaadin4spring/releases{/id}","created_at":"2015-06-12T09:23:57Z","updated_at":"2015-06-12T09:23:58Z","pushed_at":"2015-06-15T07:37:05Z","git_url":"git://github.com/luthardt/vaadin4spring.git","ssh_url":"git@github.com:luthardt/vaadin4spring.git","clone_url":"https://github.com/luthardt/vaadin4spring.git","svn_url":"https://github.com/luthardt/vaadin4spring","homepage":null,"size":1620,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"peholmst:master","ref":"master","sha":"ea5605b690fb21648db69a323fff9ca5acc305bf","user":{"login":"peholmst","id":193337,"avatar_url":"https://avatars.githubusercontent.com/u/193337?v=3","gravatar_id":"","url":"https://api.github.com/users/peholmst","html_url":"https://github.com/peholmst","followers_url":"https://api.github.com/users/peholmst/followers","following_url":"https://api.github.com/users/peholmst/following{/other_user}","gists_url":"https://api.github.com/users/peholmst/gists{/gist_id}","starred_url":"https://api.github.com/users/peholmst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peholmst/subscriptions","organizations_url":"https://api.github.com/users/peholmst/orgs","repos_url":"https://api.github.com/users/peholmst/repos","events_url":"https://api.github.com/users/peholmst/events{/privacy}","received_events_url":"https://api.github.com/users/peholmst/received_events","type":"User","site_admin":false},"repo":{"id":16338894,"name":"vaadin4spring","full_name":"peholmst/vaadin4spring","owner":{"login":"peholmst","id":193337,"avatar_url":"https://avatars.githubusercontent.com/u/193337?v=3","gravatar_id":"","url":"https://api.github.com/users/peholmst","html_url":"https://github.com/peholmst","followers_url":"https://api.github.com/users/peholmst/followers","following_url":"https://api.github.com/users/peholmst/following{/other_user}","gists_url":"https://api.github.com/users/peholmst/gists{/gist_id}","starred_url":"https://api.github.com/users/peholmst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peholmst/subscriptions","organizations_url":"https://api.github.com/users/peholmst/orgs","repos_url":"https://api.github.com/users/peholmst/repos","events_url":"https://api.github.com/users/peholmst/events{/privacy}","received_events_url":"https://api.github.com/users/peholmst/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peholmst/vaadin4spring","description":"Vaadin integration for Spring and Spring Boot","fork":false,"url":"https://api.github.com/repos/peholmst/vaadin4spring","forks_url":"https://api.github.com/repos/peholmst/vaadin4spring/forks","keys_url":"https://api.github.com/repos/peholmst/vaadin4spring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peholmst/vaadin4spring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peholmst/vaadin4spring/teams","hooks_url":"https://api.github.com/repos/peholmst/vaadin4spring/hooks","issue_events_url":"https://api.github.com/repos/peholmst/vaadin4spring/issues/events{/number}","events_url":"https://api.github.com/repos/peholmst/vaadin4spring/events","assignees_url":"https://api.github.com/repos/peholmst/vaadin4spring/assignees{/user}","branches_url":"https://api.github.com/repos/peholmst/vaadin4spring/branches{/branch}","tags_url":"https://api.github.com/repos/peholmst/vaadin4spring/tags","blobs_url":"https://api.github.com/repos/peholmst/vaadin4spring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peholmst/vaadin4spring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peholmst/vaadin4spring/git/refs{/sha}","trees_url":"https://api.github.com/repos/peholmst/vaadin4spring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peholmst/vaadin4spring/statuses/{sha}","languages_url":"https://api.github.com/repos/peholmst/vaadin4spring/languages","stargazers_url":"https://api.github.com/repos/peholmst/vaadin4spring/stargazers","contributors_url":"https://api.github.com/repos/peholmst/vaadin4spring/contributors","subscribers_url":"https://api.github.com/repos/peholmst/vaadin4spring/subscribers","subscription_url":"https://api.github.com/repos/peholmst/vaadin4spring/subscription","commits_url":"https://api.github.com/repos/peholmst/vaadin4spring/commits{/sha}","git_commits_url":"https://api.github.com/repos/peholmst/vaadin4spring/git/commits{/sha}","comments_url":"https://api.github.com/repos/peholmst/vaadin4spring/comments{/number}","issue_comment_url":"https://api.github.com/repos/peholmst/vaadin4spring/issues/comments{/number}","contents_url":"https://api.github.com/repos/peholmst/vaadin4spring/contents/{+path}","compare_url":"https://api.github.com/repos/peholmst/vaadin4spring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peholmst/vaadin4spring/merges","archive_url":"https://api.github.com/repos/peholmst/vaadin4spring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peholmst/vaadin4spring/downloads","issues_url":"https://api.github.com/repos/peholmst/vaadin4spring/issues{/number}","pulls_url":"https://api.github.com/repos/peholmst/vaadin4spring/pulls{/number}","milestones_url":"https://api.github.com/repos/peholmst/vaadin4spring/milestones{/number}","notifications_url":"https://api.github.com/repos/peholmst/vaadin4spring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peholmst/vaadin4spring/labels{/name}","releases_url":"https://api.github.com/repos/peholmst/vaadin4spring/releases{/id}","created_at":"2014-01-29T08:11:11Z","updated_at":"2015-06-03T14:02:15Z","pushed_at":"2015-06-15T07:37:05Z","git_url":"git://github.com/peholmst/vaadin4spring.git","ssh_url":"git@github.com:peholmst/vaadin4spring.git","clone_url":"https://github.com/peholmst/vaadin4spring.git","svn_url":"https://github.com/peholmst/vaadin4spring","homepage":null,"size":3795,"stargazers_count":149,"watchers_count":149,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":70,"mirror_url":null,"open_issues_count":44,"forks":70,"open_issues":44,"watchers":149,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/peholmst/vaadin4spring/pulls/226"},"html":{"href":"https://github.com/peholmst/vaadin4spring/pull/226"},"issue":{"href":"https://api.github.com/repos/peholmst/vaadin4spring/issues/226"},"comments":{"href":"https://api.github.com/repos/peholmst/vaadin4spring/issues/226/comments"},"review_comments":{"href":"https://api.github.com/repos/peholmst/vaadin4spring/pulls/226/comments"},"review_comment":{"href":"https://api.github.com/repos/peholmst/vaadin4spring/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/peholmst/vaadin4spring/pulls/226/commits"},"statuses":{"href":"https://api.github.com/repos/peholmst/vaadin4spring/statuses/50009d6863446fa6bbdce1a6185e7601a7121a72"}}}}