This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <ipojo | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="org.apache.felix.ipojo http://felix.apache.org/ipojo/schemas/CURRENT/core.xsd" | |
| xmlns="org.apache.felix.ipojo"> | |
| <component classname="com.dozersoftware.snap.pidgeon.PidgeonOut" name="PidgeonOut"> | |
| <callback transition="validate" method="starting" /> | |
| <callback transition="invalidate" method="stopping" /> | |
| <properties> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.dozersoftware.snap.pidgeon; | |
| import java.io.IOException; | |
| import java.net.DatagramPacket; | |
| import java.net.InetAddress; | |
| import java.net.MulticastSocket; | |
| import java.util.logging.Logger; | |
| import javax.jms.Connection; | |
| import javax.jms.JMSException; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dozer:runtime kplummer$ bin/run.sh -c web | |
| ========================================================================= | |
| JBossOSGi Bootstrap Environment | |
| OSGI_HOME: /Users/kplummer/Development/Servers/jboss-osgi-1.0.0.Beta9/runtime | |
| JAVA: java | |
| JAVA_OPTS: -Dprogram.name=run.sh -Dosgi.home=/Users/kplummer/Development/Servers/jboss-osgi-1.0.0.Beta9/runtime -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.vfs.leakDebugging=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.0.0" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <servers> | |
| <server> | |
| <username>snap</username> | |
| <password>snap</password> | |
| <id>central</id> | |
| </server> | |
| <server> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.apache.activemq.ActiveMQConnectionFactory; | |
| import org.apache.activemq.broker.BrokerService; | |
| ... | |
| @Inject | |
| private BundleContext bundleContext; | |
| private BrokerService broker; | |
| private ActiveMQConnectionFactory connectionFactory; | |
| @Before | |
| public void setup() throws Exception { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @After | |
| public void shutdown() throws Exception { | |
| if(null != broker) { | |
| broker.stop(); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Configuration | |
| public static Option[] configuration() { | |
| return options(felix(), profile("spring.dm"), provision( | |
| .... | |
| mavenBundle().groupId("org.apache.geronimo.specs").artifactId("geronimo-jms_1.1_spec"), | |
| mavenBundle().groupId("org.apache.geronimo.specs").artifactId("geronimo-annotation_1.0_spec"), | |
| mavenBundle().groupId("org.apache.geronimo.specs").artifactId("geronimo-j2ee-management_1.1_spec"), | |
| mavenBundle().groupId("org.apache.activemq").artifactId("kahadb"), | |
| mavenBundle().groupId("org.apache.activemq").artifactId("activemq-core").version("5.4.2"), | |
| mavenBundle().groupId("com.bundleundertest").artifactId("mybundle") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Possibly. May try it, especially with this cool Chrome extension. :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Veewee::Session.declare( { | |
| :cpu_count => '1', | |
| :memory_size=> '384', | |
| :disk_size => '10140', | |
| :disk_format => 'VDI', | |
| :disk_size => '10240' , | |
| :os_type_id => 'RedHat', | |
| :iso_file => "CentOS-5.5-i386-netinstall.iso", | |
| :iso_src => "http://mirror.bytemark.co.uk/centos/5.5/isos/i386/CentOS-5.5-i386-netinstall.iso", | |
| :iso_md5 => "0172883a3039772165db073693debae5", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from irb using the api |