Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

change visibility of ListenerHandler

change version to snapshot
  • Loading branch information...
commit d8e5bdf3ccb894e26d6755ba23e971e881da6dcd 1 parent 6ec88f3
@smaldini smaldini authored
View
4 PlatformCoreGrailsPlugin.groovy
@@ -24,7 +24,7 @@ import org.grails.plugin.platform.events.registry.DefaultEventsRegistry
class PlatformCoreGrailsPlugin {
// the plugin version
- def version = "1.0.RC3"
+ def version = "1.0.RC3-SNAPSHOT"
// the version or versions of Grails the plugin is designed for
def grailsVersion = "1.3 > *"
@@ -156,7 +156,7 @@ Grails Plugin Platform Core APIs
grailsEventsRegistry(DefaultEventsRegistry)
grailsEventsPublisher(DefaultEventsPublisher) {
grailsEventsRegistry = ref('grailsEventsRegistry')
-// persistenceInterceptor = ref("persistenceInterceptor")
+ persistenceInterceptor = ref("persistenceInterceptor")
catchFlushExceptions = config.events.catchFlushExceptions
}
View
4 application.properties
@@ -1,5 +1,5 @@
#Grails Metadata file
-#Sat Oct 13 13:42:01 BST 2012
-app.grails.version=2.1.1
+#Thu Dec 13 12:36:10 GMT 2012
+app.grails.version=2.2.0.RC2
app.name=PlatformCore
plugins.rest-client-builder=1.0.2
View
2  grails-app/conf/BuildConfig.groovy
@@ -35,7 +35,7 @@ grails.project.dependency.resolution = {
plugins {
build(":tomcat:$grailsVersion",
- ":release:2.1.0") {
+ ":release:2.2.0", ":rest-client-builder:1.0.3") {
export = false
}
View
2  src/groovy/org/grails/plugin/platform/events/EventsImpl.groovy
@@ -265,7 +265,7 @@ class EventsImpl implements Events {
dslInstance.binding.setVariable("ctx", grailsApplication.mainContext)
dslInstance.binding.setVariable("config", grailsApplication.config)
dslInstance.run()
- def dsl = dslInstance.binding.getVariable('events') as Closure
+ def dsl = dslInstance.binding.hasProperty('events') ? dslInstance.binding.getVariable('events') as Closure : null
if (dsl) {
registerEvents(dsl)
} else {
View
6 src/java/org/grails/plugin/platform/events/EventMessage.java
@@ -36,7 +36,7 @@
final private String event;
final private D data;
final private Boolean gormSession;
- final private Map<String, Serializable> headers;
+ final private Map<String, String> headers;
public EventMessage(String event, D data) {
this(event, data, null);
@@ -50,7 +50,7 @@ public EventMessage(String event, D data, String namespace, boolean gormSession)
this(event, data, namespace, gormSession, null);
}
- public EventMessage(String event, D data, String namespace, boolean gormSession, Map<String,Serializable> headers) {
+ public EventMessage(String event, D data, String namespace, boolean gormSession, Map<String,String> headers) {
this.event = event;
this.data = data;
this.namespace = namespace;
@@ -77,7 +77,7 @@ public boolean isGormSession() {
return gormSession;
}
- public Map<String, Serializable> getHeaders() {
+ public Map<String, String> getHeaders() {
return headers;
}
}

0 comments on commit d8e5bdf

Please sign in to comment.
Something went wrong with that request. Please try again.