Permalink
Browse files

fixed compilation issue

  • Loading branch information...
1 parent 4bb904a commit 3c5efad25d9ff6959d99c1abf7aeff4c28a3d3c3 Mircea Markus committed Sep 19, 2012
@@ -49,7 +49,7 @@ public void cacheManagerStarted(GlobalComponentRegistry gcr) {
gcr.registerComponent(interpreter, Interpreter.class);
// Pick up metadata from the component metadata repository
- ManageableComponentMetadata meta = ComponentMetadataRepo.findComponentMetadata(Interpreter.class)
+ ManageableComponentMetadata meta = gcr.getComponentMetadataRepo().findComponentMetadata(Interpreter.class)
.toManageableComponentMetadata();
// And use this metadata when registering the transport as a dynamic MBean
try {

0 comments on commit 3c5efad

Please sign in to comment.