torquebox-container-foundation 1.0.0.CR1-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. data/lib/acl-spi-3.0.0.CR2.jar +0 -0
  2. data/lib/activation-1.1.jar +0 -0
  3. data/lib/ant-1.7.1.jar +0 -0
  4. data/lib/ant-launcher-1.7.1.jar +0 -0
  5. data/lib/authorization-spi-3.0.0.CR2.jar +0 -0
  6. data/lib/dtdparser-1.21.jar +0 -0
  7. data/lib/gem_hook.rb +18 -0
  8. data/lib/identity-spi-3.0.0.CR2.jar +0 -0
  9. data/lib/javassist-3.12.1.GA.jar +0 -0
  10. data/lib/javax.inject-1.jar +0 -0
  11. data/lib/jaxb-api-2.1.9.jar +0 -0
  12. data/lib/jboss-aop-2.2.1.GA.jar +0 -0
  13. data/lib/jboss-aop-mc-int-2.2.0.GA.jar +0 -0
  14. data/lib/jboss-bootstrap-api-2.1.0-alpha-5.jar +0 -0
  15. data/lib/jboss-bootstrap-api-mc-2.1.0-alpha-5.jar +0 -0
  16. data/lib/jboss-bootstrap-impl-base-2.1.0-alpha-5.jar +0 -0
  17. data/lib/jboss-bootstrap-impl-mc-2.1.0-alpha-5.jar +0 -0
  18. data/lib/jboss-bootstrap-spi-2.1.0-alpha-5.jar +0 -0
  19. data/lib/jboss-bootstrap-spi-mc-2.1.0-alpha-5.jar +0 -0
  20. data/lib/jboss-classloader-2.2.0.GA.jar +0 -0
  21. data/lib/jboss-classloading-2.2.0.GA.jar +0 -0
  22. data/lib/jboss-classloading-spi-6.0.0.CR1.jar +0 -0
  23. data/lib/jboss-classloading-vfs-2.2.0.GA.jar +0 -0
  24. data/lib/jboss-classpool-1.0.0.GA.jar +0 -0
  25. data/lib/jboss-classpool-scoped-1.0.0.GA.jar +0 -0
  26. data/lib/jboss-common-core-2.2.17.GA.jar +0 -0
  27. data/lib/jboss-dependency-2.2.0.GA.jar +0 -0
  28. data/lib/jboss-deployers-client-2.2.0.GA.jar +0 -0
  29. data/lib/jboss-deployers-client-spi-2.2.0.GA.jar +0 -0
  30. data/lib/jboss-deployers-core-2.2.0.GA.jar +0 -0
  31. data/lib/jboss-deployers-core-spi-2.2.0.GA.jar +0 -0
  32. data/lib/jboss-deployers-impl-2.2.0.GA.jar +0 -0
  33. data/lib/jboss-deployers-spi-2.2.0.GA.jar +0 -0
  34. data/lib/jboss-deployers-structure-spi-2.2.0.GA.jar +0 -0
  35. data/lib/jboss-deployers-vfs-2.2.0.GA.jar +0 -0
  36. data/lib/jboss-deployers-vfs-spi-2.2.0.GA.jar +0 -0
  37. data/lib/jboss-kernel-2.2.0.GA.jar +0 -0
  38. data/lib/jboss-logging-3.0.0.Beta4.jar +0 -0
  39. data/lib/jboss-logging-log4j-2.1.1.GA.jar +0 -0
  40. data/lib/jboss-logging-spi-2.1.1.GA.jar +0 -0
  41. data/lib/jboss-logmanager-1.2.0.CR9.jar +0 -0
  42. data/lib/jboss-logmanager-log4j-1.0.0.CR3.jar +0 -0
  43. data/lib/jboss-managed-2.1.1.SP2.jar +0 -0
  44. data/lib/jboss-mdr-2.2.0.GA.jar +0 -0
  45. data/lib/jboss-metatype-2.1.1.SP2.jar +0 -0
  46. data/lib/jboss-reflect-2.2.0.GA.jar +0 -0
  47. data/lib/jboss-reloaded-vdf-bootstrap-minimal-0.1.2.jar +0 -0
  48. data/lib/jboss-vfs-3.0.0.GA.jar +0 -0
  49. data/lib/jbosssx-3.0.0.CR2.jar +0 -0
  50. data/lib/jbosssx-bare-3.0.0.CR2.jar +0 -0
  51. data/lib/jbossxacml-2.0.5.CR1.jar +0 -0
  52. data/lib/jbossxb-2.0.3.GA.jar +0 -0
  53. data/lib/jnp-client-5.0.5.Final.jar +0 -0
  54. data/lib/jruby-complete-1.6.1.jar +0 -0
  55. data/lib/log4j-1.2.14.jar +0 -0
  56. data/lib/org.torquebox.container-foundation.rb +20 -0
  57. data/lib/picketbox-acl-impl-3.0.0.CR2.jar +0 -0
  58. data/lib/picketbox-bare-3.0.0.CR2.jar +0 -0
  59. data/lib/picketbox-identity-impl-3.0.0.CR2.jar +0 -0
  60. data/lib/picketbox-spi-bare-3.0.0.CR2.jar +0 -0
  61. data/lib/qdox-1.6.1.jar +0 -0
  62. data/lib/scanning-impl-1.0.0.GA.jar +0 -0
  63. data/lib/scanning-plugins-1.0.0.GA.jar +0 -0
  64. data/lib/scanning-spi-1.0.0.GA.jar +0 -0
  65. data/lib/shrinkwrap-api-1.0.0-alpha-11.jar +0 -0
  66. data/lib/snakeyaml-1.5.jar +0 -0
  67. data/lib/stax-api-1.0.1.jar +0 -0
  68. data/lib/torquebox-base-core.jar +0 -0
  69. data/lib/torquebox-base-int.jar +0 -0
  70. data/lib/torquebox-base-metadata.jar +0 -0
  71. data/lib/torquebox-base-spi.jar +0 -0
  72. data/lib/torquebox-container-foundation.jar +0 -0
  73. data/lib/torquebox-container-foundation.rb +86 -0
  74. data/lib/torquebox-mc-support.jar +0 -0
  75. data/lib/torquebox/container/foundation-bootstrap-jboss-beans.xml +25 -0
  76. data/lib/torquebox/container/foundation-jboss-beans.xml +25 -0
  77. data/lib/torquebox/container/foundation.rb +141 -0
  78. data/lib/torquebox/container/foundation_command.rb +83 -0
  79. data/lib/torquebox/container/foundation_enabler.rb +28 -0
  80. data/lib/torquebox/container/log4j.xml +33 -0
  81. data/lib/trove-1.0.2.jar +0 -0
  82. data/lib/xercesImpl-2.9.1.jar +0 -0
  83. data/lib/xml-apis-1.3.04.jar +0 -0
  84. data/licenses/lgpl-2.1.txt +504 -0
  85. data/spec/container_spec.rb +50 -0
  86. metadata +161 -0
@@ -0,0 +1,50 @@
1
+
2
+ require 'jruby'
3
+ require 'torquebox/container/foundation'
4
+
5
+ describe TorqueBox::Container::Foundation do
6
+
7
+ it "should be instantiable" do
8
+ container = TorqueBox::Container::Foundation.new
9
+ end
10
+
11
+ it "should be startable and stoppable" do
12
+ container = TorqueBox::Container::Foundation.new
13
+ container.start
14
+ container.stop
15
+ end
16
+
17
+ describe "foundational deployment" do
18
+ before(:each) do
19
+ @container = TorqueBox::Container::Foundation.new
20
+ @container.start
21
+ end
22
+ after(:each) do
23
+ @container.stop
24
+ end
25
+
26
+ it "should deploy a RuntimePoolDeployer" do
27
+ @container['RuntimePoolDeployer'].should_not be_nil
28
+ end
29
+
30
+ it "should expose the current Ruby runtime as an MCBean" do
31
+ ruby = @container['Ruby']
32
+ ruby.should_not be_nil
33
+ ruby.should be( JRuby.runtime )
34
+ end
35
+
36
+ it "should expose a ruby runtime factory as an MCBean" do
37
+ factory = @container['RubyRuntimeFactory']
38
+ factory.should_not be_nil
39
+ ruby = factory.createInstance( __FILE__ )
40
+ ruby.should be( JRuby.runtime )
41
+ end
42
+
43
+ it "should be able to deploy a non-existent deployment" do
44
+ deployment = @container.deploy(object_id.to_s)
45
+ unit = @container.deployment_unit( deployment.name )
46
+ unit.should_not be_nil
47
+ end
48
+ end
49
+
50
+ end
metadata ADDED
@@ -0,0 +1,161 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: torquebox-container-foundation
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: 6
5
+ version: 1.0.0.CR1
6
+ platform: java
7
+ authors: []
8
+
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-04-15 00:00:00 -04:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: torquebox-base
18
+ prerelease: false
19
+ requirement: &id001 !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - "="
23
+ - !ruby/object:Gem::Version
24
+ version: 1.0.0.CR1
25
+ type: :runtime
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec
29
+ prerelease: false
30
+ requirement: &id002 !ruby/object:Gem::Requirement
31
+ none: false
32
+ requirements:
33
+ - - "="
34
+ - !ruby/object:Gem::Version
35
+ version: 2.3.0
36
+ type: :development
37
+ version_requirements: *id002
38
+ description: ""
39
+ email:
40
+ executables: []
41
+
42
+ extensions: []
43
+
44
+ extra_rdoc_files: []
45
+
46
+ files:
47
+ - licenses/lgpl-2.1.txt
48
+ - lib/torquebox-container-foundation.jar
49
+ - lib/torquebox-container-foundation.rb
50
+ - lib/jboss-aop-mc-int-2.2.0.GA.jar
51
+ - lib/jboss-kernel-2.2.0.GA.jar
52
+ - lib/jboss-dependency-2.2.0.GA.jar
53
+ - lib/jboss-reflect-2.2.0.GA.jar
54
+ - lib/jboss-common-core-2.2.17.GA.jar
55
+ - lib/jboss-mdr-2.2.0.GA.jar
56
+ - lib/jbossxb-2.0.3.GA.jar
57
+ - lib/xml-apis-1.3.04.jar
58
+ - lib/xercesImpl-2.9.1.jar
59
+ - lib/dtdparser-1.21.jar
60
+ - lib/activation-1.1.jar
61
+ - lib/jaxb-api-2.1.9.jar
62
+ - lib/javax.inject-1.jar
63
+ - lib/javassist-3.12.1.GA.jar
64
+ - lib/jboss-aop-2.2.1.GA.jar
65
+ - lib/ant-1.7.1.jar
66
+ - lib/ant-launcher-1.7.1.jar
67
+ - lib/jboss-classpool-scoped-1.0.0.GA.jar
68
+ - lib/jboss-classpool-1.0.0.GA.jar
69
+ - lib/qdox-1.6.1.jar
70
+ - lib/trove-1.0.2.jar
71
+ - lib/log4j-1.2.14.jar
72
+ - lib/jboss-deployers-vfs-spi-2.2.0.GA.jar
73
+ - lib/jboss-vfs-3.0.0.GA.jar
74
+ - lib/jboss-deployers-spi-2.2.0.GA.jar
75
+ - lib/jboss-deployers-structure-spi-2.2.0.GA.jar
76
+ - lib/jboss-deployers-client-spi-2.2.0.GA.jar
77
+ - lib/jboss-deployers-core-spi-2.2.0.GA.jar
78
+ - lib/jboss-managed-2.1.1.SP2.jar
79
+ - lib/jboss-metatype-2.1.1.SP2.jar
80
+ - lib/jboss-classloading-spi-6.0.0.CR1.jar
81
+ - lib/jboss-classloader-2.2.0.GA.jar
82
+ - lib/jboss-classloading-2.2.0.GA.jar
83
+ - lib/stax-api-1.0.1.jar
84
+ - lib/jboss-deployers-impl-2.2.0.GA.jar
85
+ - lib/scanning-spi-1.0.0.GA.jar
86
+ - lib/scanning-plugins-1.0.0.GA.jar
87
+ - lib/scanning-impl-1.0.0.GA.jar
88
+ - lib/jboss-reloaded-vdf-bootstrap-minimal-0.1.2.jar
89
+ - lib/jboss-bootstrap-impl-mc-2.1.0-alpha-5.jar
90
+ - lib/jboss-bootstrap-impl-base-2.1.0-alpha-5.jar
91
+ - lib/jboss-bootstrap-spi-2.1.0-alpha-5.jar
92
+ - lib/jboss-bootstrap-api-2.1.0-alpha-5.jar
93
+ - lib/jboss-bootstrap-spi-mc-2.1.0-alpha-5.jar
94
+ - lib/jboss-bootstrap-api-mc-2.1.0-alpha-5.jar
95
+ - lib/jboss-deployers-vfs-2.2.0.GA.jar
96
+ - lib/jboss-classloading-vfs-2.2.0.GA.jar
97
+ - lib/jboss-deployers-core-2.2.0.GA.jar
98
+ - lib/jboss-deployers-client-2.2.0.GA.jar
99
+ - lib/shrinkwrap-api-1.0.0-alpha-11.jar
100
+ - lib/jboss-logging-3.0.0.Beta4.jar
101
+ - lib/jboss-logging-log4j-2.1.1.GA.jar
102
+ - lib/jboss-logging-spi-2.1.1.GA.jar
103
+ - lib/jboss-logmanager-1.2.0.CR9.jar
104
+ - lib/jboss-logmanager-log4j-1.0.0.CR3.jar
105
+ - lib/jnp-client-5.0.5.Final.jar
106
+ - lib/torquebox-base-spi.jar
107
+ - lib/torquebox-base-int.jar
108
+ - lib/jbosssx-3.0.0.CR2.jar
109
+ - lib/jruby-complete-1.6.1.jar
110
+ - lib/snakeyaml-1.5.jar
111
+ - lib/torquebox-base-metadata.jar
112
+ - lib/torquebox-base-core.jar
113
+ - lib/picketbox-bare-3.0.0.CR2.jar
114
+ - lib/identity-spi-3.0.0.CR2.jar
115
+ - lib/authorization-spi-3.0.0.CR2.jar
116
+ - lib/acl-spi-3.0.0.CR2.jar
117
+ - lib/jbosssx-bare-3.0.0.CR2.jar
118
+ - lib/picketbox-identity-impl-3.0.0.CR2.jar
119
+ - lib/picketbox-spi-bare-3.0.0.CR2.jar
120
+ - lib/picketbox-acl-impl-3.0.0.CR2.jar
121
+ - lib/jbossxacml-2.0.5.CR1.jar
122
+ - lib/torquebox-mc-support.jar
123
+ - lib/gem_hook.rb
124
+ - lib/org.torquebox.container-foundation.rb
125
+ - lib/torquebox/container/foundation-bootstrap-jboss-beans.xml
126
+ - lib/torquebox/container/foundation-jboss-beans.xml
127
+ - lib/torquebox/container/foundation.rb
128
+ - lib/torquebox/container/foundation_command.rb
129
+ - lib/torquebox/container/foundation_enabler.rb
130
+ - lib/torquebox/container/log4j.xml
131
+ - spec/container_spec.rb
132
+ has_rdoc: true
133
+ homepage: http://www.torquebox.org/container-parent/torquebox-container-foundation/
134
+ licenses:
135
+ - lgpl
136
+ post_install_message:
137
+ rdoc_options: []
138
+
139
+ require_paths:
140
+ - lib
141
+ required_ruby_version: !ruby/object:Gem::Requirement
142
+ none: false
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: "0"
147
+ required_rubygems_version: !ruby/object:Gem::Requirement
148
+ none: false
149
+ requirements:
150
+ - - ">"
151
+ - !ruby/object:Gem::Version
152
+ version: 1.3.1
153
+ requirements: []
154
+
155
+ rubyforge_project:
156
+ rubygems_version: 1.5.1
157
+ signing_key:
158
+ specification_version: 3
159
+ summary: TorqueBox Container Foundation
160
+ test_files:
161
+ - spec/container_spec.rb