Skip to content

Commit

Permalink
Add Lombok support
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Jan 10, 2013
1 parent 959eef2 commit a890eb7
Show file tree
Hide file tree
Showing 26 changed files with 1,085 additions and 142 deletions.
6 changes: 4 additions & 2 deletions RmiGriffonAddon.groovy
@@ -1,5 +1,5 @@
/*
* Copyright 2009-2012 the original author or authors.
* Copyright 2009-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -16,6 +16,7 @@

import griffon.core.GriffonClass
import griffon.plugins.rmi.RmiEnhancer
import griffon.plugins.rmi.RmiContributionHandler

/**
* @author Andres Almiray
Expand All @@ -25,8 +26,9 @@ class RmiGriffonAddon {
def types = app.config.griffon?.rmi?.injectInto ?: ['controller']
for(String type : types) {
for(GriffonClass gc : app.artifactManager.getClassesOfType(type)) {
if (RmiContributionHandler.isAssignableFrom(gc.clazz)) continue
RmiEnhancer.enhance(gc.metaClass)
}
}
}
}
}

0 comments on commit a890eb7

Please sign in to comment.