Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(21)

Issue 2773041: Notify objects when container configurations change

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 5 months ago by jtarrio
Modified:
15 years, 5 months ago
Reviewers:
johnfargo, zhoresh, shindig.remailer
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk/
Visibility:
Public.

Description

Some objects are initialized at start-up time with the list of containers. These have to update their data when the container configuration is changed. This patch enables just that.

Patch Set 1 #

Total comments: 9

Patch Set 2 : After some changes #

Patch Set 3 : With change after svn update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+457 lines, -149 lines) Patch
java/common/src/main/java/org/apache/shindig/auth/BlobCrypterSecurityTokenCodec.java View 1 2 4 chunks +43 lines, -12 lines 0 comments Download
java/common/src/main/java/org/apache/shindig/config/BasicContainerConfig.java View 1 2 4 chunks +32 lines, -7 lines 0 comments Download
java/common/src/main/java/org/apache/shindig/config/ContainerConfig.java View 1 2 5 chunks +56 lines, -18 lines 0 comments Download
java/common/src/main/java/org/apache/shindig/config/ExpressionContainerConfig.java View 2 1 chunk +8 lines, -4 lines 0 comments Download
java/common/src/main/java/org/apache/shindig/config/JsonContainerConfig.java View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
java/common/src/test/java/org/apache/shindig/auth/BlobCrypterSecurityTokenCodecTest.java View 1 2 3 chunks +35 lines, -9 lines 0 comments Download
java/common/src/test/java/org/apache/shindig/config/BasicContainerConfigTest.java View 2 4 chunks +59 lines, -1 line 0 comments Download
java/common/src/test/java/org/apache/shindig/config/JsonContainerConfigTest.java View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
java/gadgets/src/main/java/org/apache/shindig/gadgets/HashLockedDomainService.java View 1 2 2 chunks +18 lines, -11 lines 0 comments Download
java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/DefaultAccelUriManager.java View 1 2 2 chunks +10 lines, -3 lines 0 comments Download
java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/DefaultIframeUriManager.java View 1 2 3 chunks +11 lines, -6 lines 0 comments Download
java/gadgets/src/test/java/org/apache/shindig/gadgets/HashLockedDomainServiceTest.java View 1 2 6 chunks +69 lines, -27 lines 0 comments Download
java/gadgets/src/test/java/org/apache/shindig/gadgets/uri/DefaultAccelUriManagerTest.java View 1 2 3 chunks +32 lines, -5 lines 0 comments Download
java/gadgets/src/test/java/org/apache/shindig/gadgets/uri/DefaultIframeUriManagerTest.java View 1 2 27 chunks +81 lines, -39 lines 0 comments Download

Messages

Total messages: 7
jtarrio
15 years, 5 months ago (2010-10-27 16:45:04 UTC) #1
zhoresh
lgtm http://codereview.appspot.com/2773041/diff/1/java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/DefaultIframeUriManager.java File java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/DefaultIframeUriManager.java (right): http://codereview.appspot.com/2773041/diff/1/java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/DefaultIframeUriManager.java#newcode75 java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/DefaultIframeUriManager.java:75: config.addConfigObserver(this); This can be gated by ldEnabled
15 years, 5 months ago (2010-10-28 01:06:26 UTC) #2
johnfargo
http://codereview.appspot.com/2773041/diff/1/java/common/src/main/java/org/apache/shindig/config/BasicContainerConfig.java File java/common/src/main/java/org/apache/shindig/config/BasicContainerConfig.java (right): http://codereview.appspot.com/2773041/diff/1/java/common/src/main/java/org/apache/shindig/config/BasicContainerConfig.java#newcode112 java/common/src/main/java/org/apache/shindig/config/BasicContainerConfig.java:112: observers.add(observer); upon adding a new config observer, we could ...
15 years, 5 months ago (2010-10-28 19:27:28 UTC) #3
jtarrio
http://codereview.appspot.com/2773041/diff/1/java/common/src/main/java/org/apache/shindig/config/BasicContainerConfig.java File java/common/src/main/java/org/apache/shindig/config/BasicContainerConfig.java (right): http://codereview.appspot.com/2773041/diff/1/java/common/src/main/java/org/apache/shindig/config/BasicContainerConfig.java#newcode112 java/common/src/main/java/org/apache/shindig/config/BasicContainerConfig.java:112: observers.add(observer); On 2010/10/28 19:27:28, johnfargo wrote: > upon adding ...
15 years, 5 months ago (2010-10-28 23:23:53 UTC) #4
jtarrio
After some changes
15 years, 5 months ago (2010-10-28 23:24:14 UTC) #5
jtarrio
With change after svn update
15 years, 5 months ago (2010-10-29 20:05:13 UTC) #6
johnfargo
15 years, 5 months ago (2010-10-29 20:14:06 UTC) #7
Thanks Jacobo, committed as r1028896.

On 2010/10/28 23:24:14, jtarrio wrote:
> After some changes
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b