Skip to content

Instantly share code, notes, and snippets.

<switchboard>
<component>
<component-name>MyBean</component-name>
<ejb-ref>
<ejb-ref-name>a</ejb-ref-name>
<ejb-link>OtherBean</ejb-link>
<injection-target>
<injection-target-class>A</injection-target-class>
<injection-target-name>someBean</injection-target-name>
</injection-target>
<depMgmt>
<dep>
<groupId>org.jboss.ejb3.bom</groupId>
<artifactId>bom-as6</artifactId>
<version>0.1.2</version>
<type>pom</type>
<scope>import</scope>
</dep>
</depMgmt>
<persistence>
</persistence>
/*
* JBoss, Home of Professional Open Source
* Copyright (c) 2010, JBoss Inc., and individual contributors as indicated
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
/*
* JBoss, Home of Professional Open Source
* Copyright (c) 2010, JBoss Inc., and individual contributors as indicated
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
From d330865720d41e76d9f46f023272d757f1e680cd Mon Sep 17 00:00:00 2001
From: Carlo de Wolf <carlo@nerdnet.nl>
Date: Tue, 1 Jun 2010 18:33:06 +0200
Subject: [PATCH] EJBTHREE-2104: hacks for maven 2.0.9
---
pom.xml | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/pom.xml b/pom.xml
$ mkdir test123
$ cd test123
$ git init
$ git remote add jaikiran-ep git://github.com/jaikiran/jboss-ejb3-calendar-expr-parser.git
$ git pull jaikiran-ep master
$ git remote add jaikiran-tmk2 git://github.com/jaikiran/jboss-ejb3-timerservice-mk2.git
$ git fetch jaikiran-tmk2
$ mkdir ejb31-calendar-expr-parser
$ mv * ejb31-calendar-expr-parser/
$ git add ejb31-calendar-expr-parser
import java.util.*;
import java.util.concurrent.*;
import static java.util.concurrent.TimeUnit.SECONDS;
/**
* @author <a href="mailto:cdewolf@redhat.com">Carlo de Wolf</a>
*/
public class LinkedBlockingQueueTestCase
{
interface ResourceProvider {
ResourceRef provide(ResourceRefType type);
}
interface ResourceRef {
Object getDependency();
Object getProxy();
}
/*
* JBoss, Home of Professional Open Source
* Copyright (c) 2010, Red Hat Middleware LLC, and individual contributors
* as indicated by the @authors tag. See the copyright.txt in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.