polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject [1/2] polygene-java git commit: Fix in generated JMX assembly.
Date Thu, 13 Apr 2017 10:59:40 GMT
Repository: polygene-java
Updated Branches:
  refs/heads/develop 97b5cf3f2 -> a2da00d1a


Fix in generated JMX assembly.


Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/c64a9d88
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/c64a9d88
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/c64a9d88

Branch: refs/heads/develop
Commit: c64a9d88884cd7657b40770a880f83e08a7ae292
Parents: 97b5cf3
Author: niclas <niclas@spicter.com>
Authored: Thu Apr 13 18:31:34 2017 +0800
Committer: niclas <niclas@spicter.com>
Committed: Thu Apr 13 18:31:34 2017 +0800

----------------------------------------------------------------------
 .../app/templates/DomainLayer/JmxModule/bootstrap.tmpl           | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/c64a9d88/tools/generator-polygene/app/templates/DomainLayer/JmxModule/bootstrap.tmpl
----------------------------------------------------------------------
diff --git a/tools/generator-polygene/app/templates/DomainLayer/JmxModule/bootstrap.tmpl b/tools/generator-polygene/app/templates/DomainLayer/JmxModule/bootstrap.tmpl
index 6a3a4a4..e0f3ade 100644
--- a/tools/generator-polygene/app/templates/DomainLayer/JmxModule/bootstrap.tmpl
+++ b/tools/generator-polygene/app/templates/DomainLayer/JmxModule/bootstrap.tmpl
@@ -25,6 +25,9 @@ import org.apache.polygene.bootstrap.LayerAssembly;
 import org.apache.polygene.bootstrap.ModuleAssembly;
 import org.apache.polygene.bootstrap.layered.ModuleAssembler;
 import org.apache.polygene.entitystore.memory.MemoryEntityStoreService;
+import org.apache.polygene.library.jmx.JMXAssembler;
+import org.apache.polygene.library.jmx.JMXConnectorService;
+import org.apache.polygene.library.jmx.JMXConnectorConfiguration;
 
 public class JmxModule
     implements ModuleAssembler
@@ -33,6 +36,7 @@ public class JmxModule
     public ModuleAssembly assemble( LayerAssembly layer, ModuleAssembly module )
         throws AssemblyException
     {
+        new JMXAssembler().assemble( module );
         module.services( JMXConnectorService.class ).instantiateOnStartup();
         module.entities( JMXConnectorConfiguration.class );
         module.forMixin( JMXConnectorConfiguration.class ).declareDefaults().port().set(
1099 );


Mime
View raw message