Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

(fn box) -> Immutant.

  • Loading branch information...
commit 445d3eea913c42446948ed172e133364db6409b5 1 parent 5b8432c
Toby Crawley tobias authored

Showing 93 changed files with 324 additions and 324 deletions. Show diff stats Hide diff stats

  1. +1 1  README.md
  2. +7 7 build/assembly/pom.xml
  3. +6 6 build/pom.xml
  4. +1 1  integration-tests/apps/ring/basic-ring/README.md
  5. +1 1  integration-tests/apps/ring/basic-ring/basic-ring.clj
  6. BIN  integration-tests/apps/ring/basic-ring/public/biscuit.jpg
  7. +8 8 integration-tests/pom.xml
  8. +2 2 integration-tests/src/test/clojure/{fnbox → immutant}/integs.clj
  9. +1 1  integration-tests/src/test/clojure/{fnbox → immutant}/integs/basic.clj
  10. +2 2 integration-tests/src/test/clojure/{fnbox → immutant}/integs/messaging.clj
  11. +4 4 modules/core/pom.xml
  12. +1 1  modules/core/src/main/clojure/{fnbox → immutant}/utilities.clj
  13. +1 1  modules/core/src/main/java/org/{fnbox → immutant}/core/ClojureMetaData.java
  14. +1 1  modules/core/src/main/java/org/{fnbox → immutant}/core/ClojureRuntime.java
  15. +3 3 modules/core/src/main/java/org/{fnbox → immutant}/core/as/CoreDependenciesProcessor.java
  16. +4 4 modules/core/src/main/java/org/{fnbox → immutant}/core/as/CoreExtension.java
  17. +2 2 modules/core/src/main/java/org/{fnbox → immutant}/core/as/CoreServices.java
  18. +6 6 modules/core/src/main/java/org/{fnbox → immutant}/core/as/CoreSubsystemAdd.java
  19. +2 2 modules/core/src/main/java/org/{fnbox → immutant}/core/as/CoreSubsystemParser.java
  20. +3 3 modules/core/src/main/java/org/{fnbox → immutant}/core/as/CoreSubsystemProviders.java
  21. +2 2 modules/core/src/main/java/org/{fnbox → immutant}/core/as/Namespace.java
  22. +3 3 modules/core/src/main/java/org/{fnbox → immutant}/core/processors/AppCljParsingProcessor.java
  23. +3 3 modules/core/src/main/java/org/{fnbox → immutant}/core/processors/AppJarScanningProcessor.java
  24. +1 1  modules/core/src/main/java/org/{fnbox → immutant}/core/processors/CljRootMountProcessor.java
  25. +4 4 modules/core/src/main/java/org/{fnbox → immutant}/core/processors/ClojureRuntimeInstaller.java
  26. +1 1  modules/core/src/main/resources/META-INF/services/org.jboss.as.controller.Extension
  27. +1 1  modules/core/src/module/resources/module.xml
  28. +5 5 modules/core/src/test/clojure/{fnbox → immutant}/test/utilities.clj
  29. +5 5 modules/core/src/test/clojure/org/{fnbox → immutant}/core/processors/test/AppCljParsingProcessor.clj
  30. +4 4 modules/core/src/test/clojure/org/{fnbox → immutant}/core/processors/test/ClojureRuntimeInstaller.clj
  31. +2 2 modules/core/src/test/clojure/org/{fnbox → immutant}/core/test/ClojureMetaData.clj
  32. +8 8 modules/daemons/pom.xml
  33. +6 6 modules/daemons/src/main/java/org/{fnbox → immutant}/daemons/Daemon.java
  34. +1 1  modules/daemons/src/main/java/org/{fnbox → immutant}/daemons/DaemonMBean.java
  35. +1 1  modules/daemons/src/main/java/org/{fnbox → immutant}/daemons/DaemonMetaData.java
  36. +1 1  modules/daemons/src/main/java/org/{fnbox → immutant}/daemons/DaemonStart.java
  37. +2 2 modules/daemons/src/main/java/org/{fnbox → immutant}/daemons/as/DaemonServices.java
  38. +4 4 modules/daemons/src/main/java/org/{fnbox → immutant}/daemons/as/DaemonsExtension.java
  39. +4 4 modules/daemons/src/main/java/org/{fnbox → immutant}/daemons/as/DaemonsSubsystemAdd.java
  40. +3 3 modules/daemons/src/main/java/org/{fnbox → immutant}/daemons/as/DaemonsSubsystemParser.java
  41. +3 3 modules/daemons/src/main/java/org/{fnbox → immutant}/daemons/as/DaemonsSubsystemProviders.java
  42. +2 2 modules/daemons/src/main/java/org/{fnbox → immutant}/daemons/as/Namespace.java
  43. +1 1  modules/daemons/src/main/java/org/{fnbox → immutant}/daemons/as/package.html
  44. +1 1  modules/daemons/src/main/java/org/{fnbox → immutant}/daemons/package.html
  45. +4 4 modules/daemons/src/main/java/org/{fnbox → immutant}/daemons/processors/DaemonConfigurationProcessor.java
  46. +9 9 modules/daemons/src/main/java/org/{fnbox → immutant}/daemons/processors/DaemonInstaller.java
  47. +1 1  modules/daemons/src/main/resources/META-INF/services/org.jboss.as.controller.Extension
  48. +2 2 modules/daemons/src/module/resources/module.xml
  49. +7 7 ...emons/src/test/clojure/org/{fnbox → immutant}/daemons/processors/test/DaemonConfigurationProcessor.clj
  50. +6 6 modules/daemons/src/test/clojure/org/{fnbox → immutant}/daemons/test/Daemon.clj
  51. +6 6 modules/messaging/pom.xml
  52. +1 1  modules/messaging/src/main/clojure/{fnbox → immutant}/messaging.clj
  53. +3 3 modules/messaging/src/main/java/org/{fnbox → immutant}/messaging/as/MessagingDependenciesProcessor.java
  54. +4 4 modules/messaging/src/main/java/org/{fnbox → immutant}/messaging/as/MessagingExtension.java
  55. +2 2 modules/messaging/src/main/java/org/{fnbox → immutant}/messaging/as/MessagingServices.java
  56. +3 3 modules/messaging/src/main/java/org/{fnbox → immutant}/messaging/as/MessagingSubsystemAdd.java
  57. +2 2 modules/messaging/src/main/java/org/{fnbox → immutant}/messaging/as/MessagingSubsystemParser.java
  58. +3 3 modules/messaging/src/main/java/org/{fnbox → immutant}/messaging/as/MessagingSubsystemProviders.java
  59. +2 2 modules/messaging/src/main/java/org/{fnbox → immutant}/messaging/as/Namespace.java
  60. +3 3 ...s/messaging/src/main/java/org/{fnbox → immutant}/messaging/processors/QueueConfigurationProcessor.java
  61. +3 3 ...s/messaging/src/main/java/org/{fnbox → immutant}/messaging/processors/TopicConfigurationProcessor.java
  62. +1 1  modules/messaging/src/main/resources/META-INF/services/org.jboss.as.controller.Extension
  63. +2 2 modules/messaging/src/module/resources/module.xml
  64. +6 6 ...ging/src/test/clojure/org/{fnbox → immutant}/messaging/processors/test/QueueConfigurationProcessor.clj
  65. +6 6 ...ging/src/test/clojure/org/{fnbox → immutant}/messaging/processors/test/TopicConfigurationProcessor.clj
  66. +12 12 modules/pom.xml
  67. +6 6 modules/web/pom.xml
  68. +2 2 modules/web/src/main/clojure/{fnbox → immutant}/web.clj
  69. +2 2 modules/web/src/main/java/org/{fnbox → immutant}/web/as/Namespace.java
  70. +3 3 modules/web/src/main/java/org/{fnbox → immutant}/web/as/WebDependenciesProcessor.java
  71. +4 4 modules/web/src/main/java/org/{fnbox → immutant}/web/as/WebExtension.java
  72. +5 5 modules/web/src/main/java/org/{fnbox → immutant}/web/as/WebSubsystemAdd.java
  73. +2 2 modules/web/src/main/java/org/{fnbox → immutant}/web/as/WebSubsystemParser.java
  74. +3 3 modules/web/src/main/java/org/{fnbox → immutant}/web/as/WebSubsystemProviders.java
  75. +2 2 modules/web/src/main/java/org/{fnbox → immutant}/web/ring/RingMetaData.java
  76. +4 4 modules/web/src/main/java/org/{fnbox → immutant}/web/ring/processors/RingApplicationRecognizer.java
  77. +4 4 ...es/web/src/main/java/org/{fnbox → immutant}/web/ring/processors/RingFilterClojureRuntimeInstaller.java
  78. +8 8 modules/web/src/main/java/org/{fnbox → immutant}/web/ring/processors/RingWebApplicationInstaller.java
  79. +5 5 modules/web/src/main/java/org/{fnbox → immutant}/web/servlet/RingFilter.java
  80. +1 1  modules/web/src/main/resources/META-INF/services/org.jboss.as.controller.Extension
  81. +2 2 modules/web/src/module/resources/module.xml
  82. +11 11 pom.xml
  83. +4 4 support/as-test-support/pom.xml
  84. +2 2 support/as-test-support/src/main/clojure/{fnbox → immutant}/test/as/helpers.clj
  85. +1 1  support/as-test-support/src/main/java/org/{fnbox → immutant}/test/as/DeployerTestHarness.java
  86. +4 4 support/build-support/pom.xml
  87. +10 10 support/build-support/src/main/clojure/{fnbox → immutant}/build/assembler.clj
  88. +2 2 support/build-support/src/main/clojure/{fnbox → immutant}/build/install_module.clj
  89. +13 13 support/build-support/src/main/clojure/{fnbox → immutant}/build/tools.clj
  90. +4 4 support/clojure-test-support/pom.xml
  91. +1 1  support/clojure-test-support/src/main/clojure/{fnbox → immutant}/test/helpers.clj
  92. +3 3 support/fntest/pom.xml
  93. +4 4 support/pom.xml
2  README.md
Source Rendered
@@ -7,7 +7,7 @@ Requirements
7 7 Dependencies
8 8 ------------
9 9
10   -(fn box) depends on polyglot: https://github.com/projectodd/jboss-polyglot
  10 +Immutant depends on polyglot: https://github.com/projectodd/jboss-polyglot
11 11
12 12 Polyglot is published as a snapshot, so you may need to run mvn with the
13 13 -U option to check for updates if you run into build issues.
14 build/assembly/pom.xml
... ... @@ -1,17 +1,17 @@
1 1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2 2
3 3 <parent>
4   - <groupId>org.fnbox</groupId>
5   - <artifactId>fnbox-build</artifactId>
  4 + <groupId>org.immutant</groupId>
  5 + <artifactId>immutant-build</artifactId>
6 6 <version>1.0.0-SNAPSHOT</version>
7 7 <relativePath>../pom.xml</relativePath>
8 8 </parent>
9 9
10 10 <modelVersion>4.0.0</modelVersion>
11 11
12   - <artifactId>fnbox-build-assembly</artifactId>
  12 + <artifactId>immutant-build-assembly</artifactId>
13 13 <packaging>pom</packaging>
14   - <name>(fn box) Build Assembly</name>
  14 + <name>Immutant Build Assembly</name>
15 15
16 16 <dependencies>
17 17 <dependency>
@@ -23,8 +23,8 @@
23 23 </dependency>
24 24
25 25 <dependency>
26   - <groupId>org.fnbox</groupId>
27   - <artifactId>fnbox-build-support</artifactId>
  26 + <groupId>org.immutant</groupId>
  27 + <artifactId>immutant-build-support</artifactId>
28 28 <version>${project.version}</version>
29 29 <scope>provided</scope>
30 30 </dependency>
@@ -44,7 +44,7 @@
44 44 <goal>run</goal>
45 45 </goals>
46 46 <configuration>
47   - <mainClass>fnbox.build.assembler</mainClass>
  47 + <mainClass>immutant.build.assembler</mainClass>
48 48 <args>.</args>
49 49 </configuration>
50 50 </execution>
12 build/pom.xml
... ... @@ -1,22 +1,22 @@
1 1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2 2
3 3 <parent>
4   - <groupId>org.fnbox</groupId>
5   - <artifactId>fnbox-parent</artifactId>
  4 + <groupId>org.immutant</groupId>
  5 + <artifactId>immutant-parent</artifactId>
6 6 <version>1.0.0-SNAPSHOT</version>
7 7 <relativePath>../pom.xml</relativePath>
8 8 </parent>
9 9
10 10 <modelVersion>4.0.0</modelVersion>
11 11
12   - <artifactId>fnbox-build</artifactId>
  12 + <artifactId>immutant-build</artifactId>
13 13 <packaging>pom</packaging>
14   - <name>(fn box) Build Aggregator</name>
  14 + <name>Immutant Build Aggregator</name>
15 15
16 16 <dependencies>
17 17 <dependency>
18   - <groupId>org.fnbox</groupId>
19   - <artifactId>fnbox-modules-parent</artifactId>
  18 + <groupId>org.immutant</groupId>
  19 + <artifactId>immutant-modules-parent</artifactId>
20 20 <version>${project.version}</version>
21 21 <type>pom</type>
22 22 </dependency>
2  integration-tests/apps/ring/basic-ring/README.md
Source Rendered
... ... @@ -1,6 +1,6 @@
1 1 # basic-ring
2 2
3   -A throwaway app that can be deployed to (fn box) in its current state.
  3 +A throwaway app that can be deployed to Immutant in its current state.
4 4
5 5 ## Usage
6 6
2  integration-tests/apps/ring/basic-ring/basic-ring.clj
... ... @@ -1,5 +1,5 @@
1 1 {
2   - :root "/Users/tobias/w/fnbox/fnbox/integration-tests/apps/ring/basic-ring/"
  2 + :root "/Users/tobias/w/immutant/immutant/integration-tests/apps/ring/basic-ring/"
3 3 :app-function "basic-ring.core/handler"
4 4 :context-path "/basic-ring"
5 5 :queues { "/queue/ham" {}}
BIN  integration-tests/apps/ring/basic-ring/public/biscuit.jpg
16 integration-tests/pom.xml
... ... @@ -1,21 +1,21 @@
1 1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2 2
3 3 <parent>
4   - <groupId>org.fnbox</groupId>
5   - <artifactId>fnbox-parent</artifactId>
  4 + <groupId>org.immutant</groupId>
  5 + <artifactId>immutant-parent</artifactId>
6 6 <version>1.0.0-SNAPSHOT</version>
7 7 <relativePath>../pom.xml</relativePath>
8 8 </parent>
9 9
10 10 <modelVersion>4.0.0</modelVersion>
11   - <artifactId>fnbox-integration-tests</artifactId>
  11 + <artifactId>immutant-integration-tests</artifactId>
12 12 <packaging>jar</packaging>
13   - <name>(fn box) Integration Tests</name>
  13 + <name>Immutant Integration Tests</name>
14 14 <description />
15 15
16 16 <dependencies>
17 17 <dependency>
18   - <groupId>org.fnbox</groupId>
  18 + <groupId>org.immutant</groupId>
19 19 <artifactId>fntest</artifactId>
20 20 <version>${project.version}</version>
21 21 </dependency>
@@ -32,8 +32,8 @@
32 32 </dependency>
33 33
34 34 <dependency>
35   - <groupId>org.fnbox</groupId>
36   - <artifactId>fnbox-messaging</artifactId>
  35 + <groupId>org.immutant</groupId>
  36 + <artifactId>immutant-messaging</artifactId>
37 37 <version>${project.version}</version>
38 38 <scope>test</scope>
39 39 </dependency>
@@ -64,7 +64,7 @@
64 64 <groupId>com.theoryinpractise</groupId>
65 65 <artifactId>clojure-maven-plugin</artifactId>
66 66 <configuration>
67   - <testScript>src/test/clojure/fnbox/integs.clj</testScript>
  67 + <testScript>src/test/clojure/immutant/integs.clj</testScript>
68 68 </configuration>
69 69 </plugin>
70 70 </plugins>
4 integration-tests/src/test/clojure/fnbox/integs.clj → ...ration-tests/src/test/clojure/immutant/integs.clj
@@ -15,7 +15,7 @@
15 15 ;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
16 16 ;; 02110-1301 USA, or see the FSF site: http://www.fsf.org.
17 17
18   -(ns fnbox.integs
  18 +(ns immutant.integs
19 19 (:use [clojure.test])
20 20 (:use [fntest.core])
21 21 (:use [clojure.tools.namespace :only (find-namespaces-in-dir)])
@@ -27,7 +27,7 @@
27 27 (when-not *compile-files*
28 28 (let [results (atom [])]
29 29 (let [report-orig report]
30   - (binding [fntest.jboss/home "../build/assembly/target/stage/fnbox/jboss"
  30 + (binding [fntest.jboss/home "../build/assembly/target/stage/immutant/jboss"
31 31 fntest.jboss/descriptor-root "target/.descriptors"
32 32 report (fn [x] (report-orig x)
33 33 (swap! results conj (:type x)))]
2  ...ion-tests/src/test/clojure/fnbox/integs/basic.clj → ...-tests/src/test/clojure/immutant/integs/basic.clj
@@ -15,7 +15,7 @@
15 15 ;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
16 16 ;; 02110-1301 USA, or see the FSF site: http://www.fsf.org.
17 17
18   -(ns fnbox.integs.basic
  18 +(ns immutant.integs.basic
19 19 (:use [fntest.core])
20 20 (:use clojure.test)
21 21 (:require [clj-http.client :as client]))
4 ...tests/src/test/clojure/fnbox/integs/messaging.clj → ...ts/src/test/clojure/immutant/integs/messaging.clj
@@ -15,10 +15,10 @@
15 15 ;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
16 16 ;; 02110-1301 USA, or see the FSF site: http://www.fsf.org.
17 17
18   -(ns fnbox.integs.messaging
  18 +(ns immutant.integs.messaging
19 19 (:use fntest.core)
20 20 (:use clojure.test)
21   - (:use fnbox.messaging)
  21 + (:use immutant.messaging)
22 22 (:require [clj-http.client :as client]))
23 23
24 24 (def ham-queue "/queue/ham")
8 modules/core/pom.xml
... ... @@ -1,16 +1,16 @@
1 1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2 2
3 3 <parent>
4   - <groupId>org.fnbox</groupId>
5   - <artifactId>fnbox-modules-parent</artifactId>
  4 + <groupId>org.immutant</groupId>
  5 + <artifactId>immutant-modules-parent</artifactId>
6 6 <version>1.0.0-SNAPSHOT</version>
7 7 <relativePath>../pom.xml</relativePath>
8 8 </parent>
9 9
10 10 <modelVersion>4.0.0</modelVersion>
11   - <artifactId>fnbox-core</artifactId>
  11 + <artifactId>immutant-core</artifactId>
12 12 <packaging>jar</packaging>
13   - <name>(fn box) Core Module</name>
  13 + <name>Immutant Core Module</name>
14 14 <description />
15 15
16 16 <dependencies>
2  modules/core/src/main/clojure/fnbox/utilities.clj → modules/core/src/main/clojure/immutant/utilities.clj
@@ -15,7 +15,7 @@
15 15 ;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
16 16 ;; 02110-1301 USA, or see the FSF site: http://www.fsf.org.
17 17
18   -(ns fnbox.utilities
  18 +(ns immutant.utilities
19 19 (:require [clojure.string :as str]))
20 20
21 21 (defn load-and-intern [namespaced-fn]
2  ...src/main/java/org/fnbox/core/ClojureMetaData.java → .../main/java/org/immutant/core/ClojureMetaData.java
@@ -17,7 +17,7 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.core;
  20 +package org.immutant.core;
21 21
22 22 import java.io.File;
23 23 import java.util.HashMap;
2  .../src/main/java/org/fnbox/core/ClojureRuntime.java → ...c/main/java/org/immutant/core/ClojureRuntime.java
@@ -17,7 +17,7 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.core;
  20 +package org.immutant.core;
21 21
22 22 import java.lang.reflect.Method;
23 23 import java.util.ArrayList;
6 .../org/fnbox/core/as/CoreDependenciesProcessor.java → ...g/immutant/core/as/CoreDependenciesProcessor.java
@@ -17,9 +17,9 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.core.as;
  20 +package org.immutant.core.as;
21 21
22   -import org.fnbox.core.ClojureMetaData;
  22 +import org.immutant.core.ClojureMetaData;
23 23 import org.jboss.as.server.deployment.Attachments;
24 24 import org.jboss.as.server.deployment.DeploymentPhaseContext;
25 25 import org.jboss.as.server.deployment.DeploymentUnit;
@@ -33,7 +33,7 @@
33 33
34 34 public class CoreDependenciesProcessor implements DeploymentUnitProcessor {
35 35
36   - private static ModuleIdentifier FNBOX_CORE_ID = ModuleIdentifier.create("org.fnbox.core");
  36 + private static ModuleIdentifier FNBOX_CORE_ID = ModuleIdentifier.create("org.immutant.core");
37 37
38 38 @Override
39 39 public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException {
8 ...rc/main/java/org/fnbox/core/as/CoreExtension.java → ...main/java/org/immutant/core/as/CoreExtension.java
@@ -17,7 +17,7 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.core.as;
  20 +package org.immutant.core.as;
21 21
22 22 import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADD;
23 23
@@ -34,7 +34,7 @@
34 34 @Override
35 35 public void initialize(ExtensionContext context) {
36 36 bootstrap();
37   - log.info( "Initializing (fn box) Core Subsystem" );
  37 + log.info( "Initializing Immutant Core Subsystem" );
38 38 final SubsystemRegistration registration = context.registerSubsystem( SUBSYSTEM_NAME );
39 39 final ManagementResourceRegistration subsystem = registration.registerSubsystemModel( CoreSubsystemProviders.SUBSYSTEM );
40 40
@@ -51,8 +51,8 @@ public void initializeParsers(ExtensionParsingContext context) {
51 51 }
52 52
53 53
54   - public static final String SUBSYSTEM_NAME = "fnbox-core";
55   - static final Logger log = Logger.getLogger( "org.fnbox.core.as" );
  54 + public static final String SUBSYSTEM_NAME = "immutant-core";
  55 + static final Logger log = Logger.getLogger( "org.immutant.core.as" );
56 56
57 57
58 58 }
4 ...src/main/java/org/fnbox/core/as/CoreServices.java → .../main/java/org/immutant/core/as/CoreServices.java
@@ -17,7 +17,7 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.core.as;
  20 +package org.immutant.core.as;
21 21
22 22 import org.jboss.as.server.deployment.DeploymentUnit;
23 23 import org.jboss.msc.service.ServiceName;
@@ -27,7 +27,7 @@
27 27 private CoreServices() {
28 28 }
29 29
30   - public static final ServiceName FNBOX = ServiceName.of( "fnbox" );
  30 + public static final ServiceName FNBOX = ServiceName.of( "immutant" );
31 31 public static final ServiceName CORE = FNBOX.append( "core" );
32 32 public static final ServiceName INJECTION = CORE.append( "injection" );
33 33
12 ...main/java/org/fnbox/core/as/CoreSubsystemAdd.java → ...n/java/org/immutant/core/as/CoreSubsystemAdd.java
@@ -17,7 +17,7 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.core.as;
  20 +package org.immutant.core.as;
21 21
22 22 import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADD;
23 23 import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.OP;
@@ -25,10 +25,10 @@
25 25
26 26 import java.util.List;
27 27
28   -import org.fnbox.core.processors.AppCljParsingProcessor;
29   -import org.fnbox.core.processors.AppJarScanningProcessor;
30   -import org.fnbox.core.processors.CljRootMountProcessor;
31   -import org.fnbox.core.processors.ClojureRuntimeInstaller;
  28 +import org.immutant.core.processors.AppCljParsingProcessor;
  29 +import org.immutant.core.processors.AppJarScanningProcessor;
  30 +import org.immutant.core.processors.CljRootMountProcessor;
  31 +import org.immutant.core.processors.ClojureRuntimeInstaller;
32 32 import org.jboss.as.controller.AbstractBoottimeAddStepHandler;
33 33 import org.jboss.as.controller.OperationContext;
34 34 import org.jboss.as.controller.OperationFailedException;
@@ -94,6 +94,6 @@ static ModelNode createOperation(ModelNode address) {
94 94 }
95 95
96 96 static final CoreSubsystemAdd ADD_INSTANCE = new CoreSubsystemAdd();
97   - static final Logger log = Logger.getLogger( "org.fnbox.core.as" );
  97 + static final Logger log = Logger.getLogger( "org.immutant.core.as" );
98 98
99 99 }
4 ...n/java/org/fnbox/core/as/CoreSubsystemParser.java → ...ava/org/immutant/core/as/CoreSubsystemParser.java
@@ -17,7 +17,7 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.core.as;
  20 +package org.immutant.core.as;
21 21
22 22 import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.SUBSYSTEM;
23 23 import static org.jboss.as.controller.parsing.ParseUtils.requireNoAttributes;
@@ -67,6 +67,6 @@ public void writeContent(final XMLExtendedStreamWriter writer, final SubsystemMa
67 67
68 68
69 69 @SuppressWarnings("unused")
70   - private static final Logger log = Logger.getLogger( "org.fnbox.core.as" );
  70 + private static final Logger log = Logger.getLogger( "org.immutant.core.as" );
71 71
72 72 }
6 ...ava/org/fnbox/core/as/CoreSubsystemProviders.java → .../org/immutant/core/as/CoreSubsystemProviders.java
@@ -17,7 +17,7 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.core.as;
  20 +package org.immutant.core.as;
21 21
22 22 import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADD;
23 23 import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.DESCRIPTION;
@@ -44,7 +44,7 @@ public ModelNode getModelDescription(Locale locale) {
44 44 final ResourceBundle bundle = getResourceBundle(locale);
45 45
46 46 final ModelNode subsystem = new ModelNode();
47   - subsystem.get(DESCRIPTION).set(bundle.getString("fnbox-core"));
  47 + subsystem.get(DESCRIPTION).set(bundle.getString("immutant-core"));
48 48 subsystem.get(HEAD_COMMENT_ALLOWED).set(true);
49 49 subsystem.get(TAIL_COMMENT_ALLOWED).set(true);
50 50 subsystem.get(NAMESPACE).set(Namespace.CURRENT.getUriString());
@@ -60,7 +60,7 @@ public ModelNode getModelDescription(Locale locale) {
60 60 final ModelNode operation = new ModelNode();
61 61
62 62 operation.get(OPERATION_NAME).set(ADD);
63   - operation.get(DESCRIPTION).set(bundle.getString("fnbox-core.add"));
  63 + operation.get(DESCRIPTION).set(bundle.getString("immutant-core.add"));
64 64 operation.get(REQUEST_PROPERTIES).setEmptyObject();
65 65 operation.get(REPLY_PROPERTIES).setEmptyObject();
66 66
4 ...re/src/main/java/org/fnbox/core/as/Namespace.java → ...src/main/java/org/immutant/core/as/Namespace.java
@@ -17,7 +17,7 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.core.as;
  20 +package org.immutant.core.as;
21 21
22 22 import java.util.HashMap;
23 23 import java.util.Map;
@@ -29,7 +29,7 @@
29 29 // must be first
30 30 UNKNOWN(null),
31 31
32   - FNBOX_CORE_1_0("urn:jboss:domain:fnbox-core:1.0");
  32 + FNBOX_CORE_1_0("urn:jboss:domain:immutant-core:1.0");
33 33
34 34 /**
35 35 * The current namespace version.
6 ...fnbox/core/processors/AppCljParsingProcessor.java → ...utant/core/processors/AppCljParsingProcessor.java
@@ -17,14 +17,14 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.core.processors;
  20 +package org.immutant.core.processors;
21 21
22 22 import java.io.Closeable;
23 23 import java.io.IOException;
24 24 import java.util.ArrayList;
25 25 import java.util.List;
26 26
27   -import org.fnbox.core.ClojureMetaData;
  27 +import org.immutant.core.ClojureMetaData;
28 28 import org.jboss.as.server.deployment.Attachments;
29 29 import org.jboss.as.server.deployment.DeploymentPhaseContext;
30 30 import org.jboss.as.server.deployment.DeploymentUnit;
@@ -136,5 +136,5 @@ public boolean accepts(VirtualFile file) {
136 136 });
137 137
138 138
139   - static final Logger log = Logger.getLogger( "org.fnbox.core" );
  139 + static final Logger log = Logger.getLogger( "org.immutant.core" );
140 140 }
6 ...nbox/core/processors/AppJarScanningProcessor.java → ...tant/core/processors/AppJarScanningProcessor.java
@@ -17,14 +17,14 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.core.processors;
  20 +package org.immutant.core.processors;
21 21
22 22 import java.io.Closeable;
23 23 import java.io.IOException;
24 24 import java.util.ArrayList;
25 25 import java.util.List;
26 26
27   -import org.fnbox.core.ClojureMetaData;
  27 +import org.immutant.core.ClojureMetaData;
28 28 import org.jboss.as.server.deployment.Attachments;
29 29 import org.jboss.as.server.deployment.DeploymentPhaseContext;
30 30 import org.jboss.as.server.deployment.DeploymentUnit;
@@ -114,6 +114,6 @@ public void undeploy(DeploymentUnit context) {
114 114
115 115 public static final VirtualFileFilter JAR_FILTER = new SuffixMatchFilter( ".jar", VisitorAttributes.DEFAULT );
116 116
117   - private static final Logger log = Logger.getLogger( "org.fnbox.core" );
  117 + private static final Logger log = Logger.getLogger( "org.immutant.core" );
118 118
119 119 }
2  .../fnbox/core/processors/CljRootMountProcessor.java → ...mutant/core/processors/CljRootMountProcessor.java
@@ -17,7 +17,7 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.core.processors;
  20 +package org.immutant.core.processors;
21 21
22 22 import java.io.Closeable;
23 23 import java.io.IOException;
8 ...nbox/core/processors/ClojureRuntimeInstaller.java → ...tant/core/processors/ClojureRuntimeInstaller.java
@@ -17,10 +17,10 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.core.processors;
  20 +package org.immutant.core.processors;
21 21
22   -import org.fnbox.core.ClojureMetaData;
23   -import org.fnbox.core.ClojureRuntime;
  22 +import org.immutant.core.ClojureMetaData;
  23 +import org.immutant.core.ClojureRuntime;
24 24 import org.jboss.as.server.deployment.Attachments;
25 25 import org.jboss.as.server.deployment.DeploymentPhaseContext;
26 26 import org.jboss.as.server.deployment.DeploymentUnit;
@@ -56,5 +56,5 @@ public void undeploy(DeploymentUnit context) {
56 56
57 57 }
58 58
59   - static final Logger log = Logger.getLogger( "org.fnbox.core" );
  59 + static final Logger log = Logger.getLogger( "org.immutant.core" );
60 60 }
2  modules/core/src/main/resources/META-INF/services/org.jboss.as.controller.Extension
... ... @@ -1 +1 @@
1   -org.fnbox.core.as.CoreExtension
  1 +org.immutant.core.as.CoreExtension
2  modules/core/src/module/resources/module.xml
@@ -22,7 +22,7 @@
22 22 ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
23 23 -->
24 24
25   -<module xmlns="urn:jboss:module:1.0" name="org.fnbox.core">
  25 +<module xmlns="urn:jboss:module:1.0" name="org.immutant.core">
26 26
27 27 <resources>
28 28 <resource-root path="${project.artifactId}.jar"/>
10 ...es/core/src/test/clojure/fnbox/test/utilities.clj → ...core/src/test/clojure/immutant/test/utilities.clj
@@ -15,10 +15,10 @@
15 15 ;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
16 16 ;; 02110-1301 USA, or see the FSF site: http://www.fsf.org.
17 17
18   -(ns fnbox.test.utilities
19   - (:use fnbox.utilities)
  18 +(ns immutant.test.utilities
  19 + (:use immutant.utilities)
20 20 (:use clojure.test)
21   - (:use fnbox.test.helpers))
  21 + (:use immutant.test.helpers))
22 22
23 23 (def a-value (ref "ham"))
24 24
@@ -29,9 +29,9 @@
29 29 (dosync (ref-set a-value arg)))
30 30
31 31 (deftest load-and-invoke-should-call-the-given-function
32   - (load-and-invoke "fnbox.test.utilities/update-a-value")
  32 + (load-and-invoke "immutant.test.utilities/update-a-value")
33 33 (is (= "biscuit" @a-value)))
34 34
35 35 (deftest load-and-invoke-should-call-the-given-function-with-args
36   - (load-and-invoke "fnbox.test.utilities/update-a-value-with-arg" "gravy")
  36 + (load-and-invoke "immutant.test.utilities/update-a-value-with-arg" "gravy")
37 37 (is (= "gravy" @a-value)))
10 ...x/core/processors/test/AppCljParsingProcessor.clj → ...t/core/processors/test/AppCljParsingProcessor.clj
@@ -15,12 +15,12 @@
15 15 ;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
16 16 ;; 02110-1301 USA, or see the FSF site: http://www.fsf.org.
17 17
18   -(ns org.fnbox.core.processors.test.AppCljParsingProcessor
  18 +(ns org.immutant.core.processors.test.AppCljParsingProcessor
19 19 (:use clojure.test)
20   - (:use fnbox.test.helpers)
21   - (:use fnbox.test.as.helpers)
22   - (:import [org.fnbox.core.processors AppCljParsingProcessor])
23   - (:import [org.fnbox.core ClojureMetaData])
  20 + (:use immutant.test.helpers)
  21 + (:use immutant.test.as.helpers)
  22 + (:import [org.immutant.core.processors AppCljParsingProcessor])
  23 + (:import [org.immutant.core ClojureMetaData])
24 24 (:require [clojure.java.io :as io]))
25 25
26 26 (use-fixtures :each
8 .../core/processors/test/ClojureRuntimeInstaller.clj → .../core/processors/test/ClojureRuntimeInstaller.clj
@@ -15,13 +15,13 @@
15 15 ;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
16 16 ;; 02110-1301 USA, or see the FSF site: http://www.fsf.org.
17 17
18   -(ns org.fnbox.core.processors.test.ClojureRuntimeInstaller
  18 +(ns org.immutant.core.processors.test.ClojureRuntimeInstaller
19 19 (:use clojure.test)
20   - (:use fnbox.test.as.helpers)
  20 + (:use immutant.test.as.helpers)
21 21 (:import [org.jboss.as.server.deployment Attachments])
22 22 (:import [org.jboss.modules Module])
23   - (:import [org.fnbox.core.processors ClojureRuntimeInstaller])
24   - (:import [org.fnbox.core ClojureMetaData ClojureRuntime])
  23 + (:import [org.immutant.core.processors ClojureRuntimeInstaller])
  24 + (:import [org.immutant.core ClojureMetaData ClojureRuntime])
25 25 (:require [clojure.java.io :as io]))
26 26
27 27 (use-fixtures :each
4 ...t/clojure/org/fnbox/core/test/ClojureMetaData.clj → ...lojure/org/immutant/core/test/ClojureMetaData.clj
@@ -15,9 +15,9 @@
15 15 ;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
16 16 ;; 02110-1301 USA, or see the FSF site: http://www.fsf.org.
17 17
18   -(ns org.fnbox.core.test.ClojureMetaData
  18 +(ns org.immutant.core.test.ClojureMetaData
19 19 (:use clojure.test)
20   - (:import [org.fnbox.core ClojureMetaData])
  20 + (:import [org.immutant.core ClojureMetaData])
21 21 (:require [clojure.java.io :as io]))
22 22
23 23 (def simple-descriptor (io/file (io/resource "simple-descriptor.clj")))
16 modules/daemons/pom.xml
... ... @@ -1,16 +1,16 @@
1 1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2 2
3 3 <parent>
4   - <groupId>org.fnbox</groupId>
5   - <artifactId>fnbox-modules-parent</artifactId>
  4 + <groupId>org.immutant</groupId>
  5 + <artifactId>immutant-modules-parent</artifactId>
6 6 <version>1.0.0-SNAPSHOT</version>
7 7 <relativePath>../pom.xml</relativePath>
8 8 </parent>
9 9
10 10 <modelVersion>4.0.0</modelVersion>
11   - <artifactId>fnbox-daemons</artifactId>
  11 + <artifactId>immutant-daemons</artifactId>
12 12 <packaging>jar</packaging>
13   - <name>(fn box) Daemons Module</name>
  13 + <name>Immutant Daemons Module</name>
14 14 <description />
15 15
16 16 <dependencies>
@@ -21,8 +21,8 @@
21 21 <scope>provided</scope>
22 22 </dependency>
23 23 <dependency>
24   - <groupId>org.fnbox</groupId>
25   - <artifactId>fnbox-core</artifactId>
  24 + <groupId>org.immutant</groupId>
  25 + <artifactId>immutant-core</artifactId>
26 26 <version>${project.version}</version>
27 27 <scope>provided</scope>
28 28 </dependency>
@@ -32,8 +32,8 @@
32 32 <scope>provided</scope>
33 33 </dependency>
34 34 <dependency>
35   - <groupId>org.fnbox</groupId>
36   - <artifactId>fnbox-as-test-support</artifactId>
  35 + <groupId>org.immutant</groupId>
  36 + <artifactId>immutant-as-test-support</artifactId>
37 37 <version>${project.version}</version>
38 38 <scope>test</scope>
39 39 </dependency>
12 ...emons/src/main/java/org/fnbox/daemons/Daemon.java → ...ns/src/main/java/org/immutant/daemons/Daemon.java
@@ -17,9 +17,9 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.daemons;
  20 +package org.immutant.daemons;
21 21
22   -import org.fnbox.core.ClojureRuntime;
  22 +import org.immutant.core.ClojureRuntime;
23 23
24 24 public class Daemon implements DaemonMBean {
25 25 public Daemon(ClojureRuntime runtime, String startFunction, String stopFunction) {
@@ -29,15 +29,15 @@ public Daemon(ClojureRuntime runtime, String startFunction, String stopFunction)
29 29 }
30 30
31 31 public void start() {
32   - this.runtime.load( "fnbox/utilities" );
33   - this.runtime.invoke( "fnbox.utilities", "load-and-invoke", this.startFunction /*TODO: handle params */);
  32 + this.runtime.load( "immutant/utilities" );
  33 + this.runtime.invoke( "immutant.utilities", "load-and-invoke", this.startFunction /*TODO: handle params */);
34 34 this.started = true;
35 35 }
36 36
37 37 public void stop() {
38 38 if (this.stopFunction != null) {
39   - this.runtime.load( "fnbox/utilities" );
40   - this.runtime.invoke( "fnbox.utilities", "load-and-invoke", this.stopFunction );
  39 + this.runtime.load( "immutant/utilities" );
  40 + this.runtime.invoke( "immutant.utilities", "load-and-invoke", this.stopFunction );
41 41 this.started = false;
42 42 }
43 43 }
2  .../src/main/java/org/fnbox/daemons/DaemonMBean.java → ...c/main/java/org/immutant/daemons/DaemonMBean.java
@@ -17,7 +17,7 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.daemons;
  20 +package org.immutant.daemons;
21 21
22 22 public interface DaemonMBean {
23 23 void start() throws Exception;
2  ...c/main/java/org/fnbox/daemons/DaemonMetaData.java → ...ain/java/org/immutant/daemons/DaemonMetaData.java
@@ -17,7 +17,7 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.daemons;
  20 +package org.immutant.daemons;
21 21
22 22 import java.util.Map;
23 23
2  .../src/main/java/org/fnbox/daemons/DaemonStart.java → ...c/main/java/org/immutant/daemons/DaemonStart.java
@@ -17,7 +17,7 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.daemons;
  20 +package org.immutant.daemons;
21 21
22 22 import org.jboss.msc.inject.Injector;
23 23 import org.jboss.msc.service.Service;
4 ...ain/java/org/fnbox/daemons/as/DaemonServices.java → .../java/org/immutant/daemons/as/DaemonServices.java
@@ -17,7 +17,7 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.daemons.as;
  20 +package org.immutant.daemons.as;
21 21
22 22 import org.jboss.as.server.deployment.DeploymentUnit;
23 23 import org.jboss.msc.service.ServiceName;
@@ -27,7 +27,7 @@
27 27 private DaemonServices() {
28 28 }
29 29
30   - public static final ServiceName FNBOX = ServiceName.of( "fnbox" );
  30 + public static final ServiceName FNBOX = ServiceName.of( "immutant" );
31 31 public static final ServiceName DAEMONS = FNBOX.append( "daemons" );
32 32
33 33
8 ...n/java/org/fnbox/daemons/as/DaemonsExtension.java → ...ava/org/immutant/daemons/as/DaemonsExtension.java
@@ -17,7 +17,7 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.daemons.as;
  20 +package org.immutant.daemons.as;
21 21
22 22 import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADD;
23 23
@@ -33,7 +33,7 @@
33 33 @Override
34 34 public void initialize(ExtensionContext context) {
35 35 bootstrap();
36   - log.info( "Initializing (fn box) Daemons Subsystem" );
  36 + log.info( "Initializing Immutant Daemons Subsystem" );
37 37 final SubsystemRegistration registration = context.registerSubsystem( SUBSYSTEM_NAME );
38 38 final ManagementResourceRegistration subsystem = registration.registerSubsystemModel( DaemonsSubsystemProviders.SUBSYSTEM );
39 39
@@ -50,7 +50,7 @@ public void initializeParsers(ExtensionParsingContext context) {
50 50 context.setSubsystemXmlMapping(Namespace.CURRENT.getUriString(), DaemonsSubsystemParser.getInstance());
51 51 }
52 52
53   - public static final String SUBSYSTEM_NAME = "fnbox-daemons";
54   - static final Logger log = Logger.getLogger( "org.fnbox.daemons.as" );
  53 + public static final String SUBSYSTEM_NAME = "immutant-daemons";
  54 + static final Logger log = Logger.getLogger( "org.immutant.daemons.as" );
55 55
56 56 }
8 ...ava/org/fnbox/daemons/as/DaemonsSubsystemAdd.java → .../org/immutant/daemons/as/DaemonsSubsystemAdd.java
@@ -17,7 +17,7 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.daemons.as;
  20 +package org.immutant.daemons.as;
21 21
22 22 import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADD;
23 23 import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.OP;
@@ -25,8 +25,8 @@
25 25
26 26 import java.util.List;
27 27
28   -import org.fnbox.daemons.processors.DaemonConfigurationProcessor;
29   -import org.fnbox.daemons.processors.DaemonInstaller;
  28 +import org.immutant.daemons.processors.DaemonConfigurationProcessor;
  29 +import org.immutant.daemons.processors.DaemonInstaller;
30 30 import org.jboss.as.controller.AbstractBoottimeAddStepHandler;
31 31 import org.jboss.as.controller.OperationContext;
32 32 import org.jboss.as.controller.OperationFailedException;
@@ -73,6 +73,6 @@ static ModelNode createOperation(ModelNode address) {
73 73 }
74 74
75 75 static final DaemonsSubsystemAdd ADD_INSTANCE = new DaemonsSubsystemAdd();
76   - static final Logger log = Logger.getLogger( "org.fnbox.daemons.as" );
  76 + static final Logger log = Logger.getLogger( "org.immutant.daemons.as" );
77 77
78 78 }
6 .../org/fnbox/daemons/as/DaemonsSubsystemParser.java → ...g/immutant/daemons/as/DaemonsSubsystemParser.java
@@ -17,7 +17,7 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.daemons.as;
  20 +package org.immutant.daemons.as;
21 21
22 22 import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.SUBSYSTEM;
23 23 import static org.jboss.as.controller.parsing.ParseUtils.requireNoAttributes;
@@ -28,7 +28,7 @@
28 28 import javax.xml.stream.XMLStreamConstants;
29 29 import javax.xml.stream.XMLStreamException;
30 30
31   -import org.fnbox.core.as.CoreExtension;
  31 +import org.immutant.core.as.CoreExtension;
32 32 import org.jboss.as.controller.persistence.SubsystemMarshallingContext;
33 33 import org.jboss.dmr.ModelNode;
34 34 import org.jboss.logging.Logger;
@@ -80,6 +80,6 @@ public void writeContent(final XMLExtendedStreamWriter writer, final SubsystemMa
80 80
81 81
82 82 @SuppressWarnings("unused")
83   - private static final Logger log = Logger.getLogger( "org.fnbox.daemons.as" );
  83 + private static final Logger log = Logger.getLogger( "org.immutant.daemons.as" );
84 84
85 85 }
6 ...g/fnbox/daemons/as/DaemonsSubsystemProviders.java → ...mmutant/daemons/as/DaemonsSubsystemProviders.java
@@ -17,7 +17,7 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.daemons.as;
  20 +package org.immutant.daemons.as;
21 21
22 22 import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADD;
23 23 import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.DESCRIPTION;
@@ -44,7 +44,7 @@ public ModelNode getModelDescription(Locale locale) {
44 44 final ResourceBundle bundle = getResourceBundle(locale);
45 45
46 46 final ModelNode subsystem = new ModelNode();
47   - subsystem.get(DESCRIPTION).set(bundle.getString("fnbox-daemons"));
  47 + subsystem.get(DESCRIPTION).set(bundle.getString("immutant-daemons"));
48 48 subsystem.get(HEAD_COMMENT_ALLOWED).set(true);
49 49 subsystem.get(TAIL_COMMENT_ALLOWED).set(true);
50 50 subsystem.get(NAMESPACE).set(Namespace.CURRENT.getUriString());
@@ -60,7 +60,7 @@ public ModelNode getModelDescription(Locale locale) {
60 60 final ModelNode operation = new ModelNode();
61 61
62 62 operation.get(OPERATION_NAME).set(ADD);
63   - operation.get(DESCRIPTION).set(bundle.getString("fnbox-daemons.add"));
  63 + operation.get(DESCRIPTION).set(bundle.getString("immutant-daemons.add"));
64 64 operation.get(REQUEST_PROPERTIES).setEmptyObject();
65 65 operation.get(REPLY_PROPERTIES).setEmptyObject();
66 66
4 ...src/main/java/org/fnbox/daemons/as/Namespace.java → .../main/java/org/immutant/daemons/as/Namespace.java
@@ -17,7 +17,7 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.daemons.as;
  20 +package org.immutant.daemons.as;
21 21
22 22 import java.util.HashMap;
23 23 import java.util.Map;
@@ -26,7 +26,7 @@
26 26 // must be first
27 27 UNKNOWN(null),
28 28
29   - FNBOX_DAEMONS_1_0("urn:jboss:domain:fnbox-daemons:1.0");
  29 + FNBOX_DAEMONS_1_0("urn:jboss:domain:immutant-daemons:1.0");
30 30
31 31 /**
32 32 * The current namespace version.
2  ...s/src/main/java/org/fnbox/daemons/as/package.html → ...rc/main/java/org/immutant/daemons/as/package.html
@@ -2,4 +2,4 @@
2 2 <body>
3 3 <h1>JBoss AS7 Integration.</h1>
4 4 </body>
5   -</html>
  5 +</html>
2  ...mons/src/main/java/org/fnbox/daemons/package.html → ...s/src/main/java/org/immutant/daemons/package.html
@@ -2,4 +2,4 @@
2 2 <body>
3 3 <h1>Service/daemon facilities.</h1>
4 4 </body>
5   -</html>
  5 +</html>
8 ...mons/processors/DaemonConfigurationProcessor.java → ...mons/processors/DaemonConfigurationProcessor.java
@@ -17,12 +17,12 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.daemons.processors;
  20 +package org.immutant.daemons.processors;
21 21
22 22 import java.util.Map;
23 23
24   -import org.fnbox.core.ClojureMetaData;
25   -import org.fnbox.daemons.DaemonMetaData;
  24 +import org.immutant.core.ClojureMetaData;
  25 +import org.immutant.daemons.DaemonMetaData;
26 26 import org.jboss.as.server.deployment.DeploymentPhaseContext;
27 27 import org.jboss.as.server.deployment.DeploymentUnit;
28 28 import org.jboss.as.server.deployment.DeploymentUnitProcessingException;
@@ -64,5 +64,5 @@ public void undeploy(DeploymentUnit context) {
64 64
65 65 }
66 66
67   - static final Logger log = Logger.getLogger( "org.fnbox.daemons" );
  67 + static final Logger log = Logger.getLogger( "org.immutant.daemons" );
68 68 }
18 ...org/fnbox/daemons/processors/DaemonInstaller.java → .../immutant/daemons/processors/DaemonInstaller.java
@@ -17,19 +17,19 @@
17 17 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
18 18 */
19 19
20   -package org.fnbox.daemons.processors;
  20 +package org.immutant.daemons.processors;
21 21
22 22 import java.util.Hashtable;
23 23 import java.util.List;
24 24
25 25 import javax.management.MBeanServer;
26 26
27   -import org.fnbox.core.ClojureRuntime;
28   -import org.fnbox.daemons.Daemon;
29   -import org.fnbox.daemons.DaemonMBean;
30   -import org.fnbox.daemons.DaemonMetaData;
31   -import org.fnbox.daemons.DaemonStart;
32   -import org.fnbox.daemons.as.DaemonServices;
  27 +import org.immutant.core.ClojureRuntime;
  28 +import org.immutant.daemons.Daemon;
  29 +import org.immutant.daemons.DaemonMBean;
  30 +import org.immutant.daemons.DaemonMetaData;
  31 +import org.immutant.daemons.DaemonStart;
  32 +import org.immutant.daemons.as.DaemonServices;
33 33 import org.jboss.as.jmx.MBeanRegistrationService;
34 34 import org.jboss.as.jmx.MBeanServerService;
35 35 import org.jboss.as.jmx.ObjectNameFactory;
@@ -72,7 +72,7 @@ protected void deploy(DeploymentPhaseContext phaseContext, final DaemonMetaData
72 72
73 73 final ApplicationMetaData appMetaData = unit.getAttachment( ApplicationMetaData.ATTACHMENT_KEY );
74 74
75   - String mbeanName = ObjectNameFactory.create( "fnbox.daemons", new Hashtable<String, String>() {
  75 + String mbeanName = ObjectNameFactory.create( "immutant.daemons", new Hashtable<String, String>() {
76 76 {
77 77 put( "app", appMetaData.getApplicationName() );
78 78 put( "name", StringUtil.underscore( daemonMetaData.getName() ) );
@@ -92,6 +92,6 @@ public void undeploy(DeploymentUnit unit) {
92 92 }
93 93
94 94 @SuppressWarnings("unused")
95   - private static final Logger log = Logger.getLogger( "org.fnbox.daemons" );
  95 + private static final Logger log = Logger.getLogger( "org.immutant.daemons" );
96 96
97 97 }
2  modules/daemons/src/main/resources/META-INF/services/org.jboss.as.controller.Extension
... ... @@ -1 +1 @@
1   -org.fnbox.daemons.as.DaemonsExtension
  1 +org.immutant.daemons.as.DaemonsExtension
4 modules/daemons/src/module/resources/module.xml
@@ -22,7 +22,7 @@
22 22 ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
23 23 -->
24 24
25   -<module xmlns="urn:jboss:module:1.0" name="org.fnbox.daemons">
  25 +<module xmlns="urn:jboss:module:1.0" name="org.immutant.daemons">
26 26