Skip to content

Instantly share code, notes, and snippets.

interface Node {
D getDescriptor(Class<D> type);
String getName();
}
interface DescribedJavaEEServer extends Node {
Collection<DescribedJavaEEApplication> getApplications();
}
interface DescribedJavaEEApplication extends Node {
interface ResourceProvider<D, R> {
Resource provide(D deployment, R ref);
}
interface Resource {
Object getDependency();
Object getTarget();
}
/*
* 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.
/*
* 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.
interface ResourceProvider {
ResourceRef provide(ResourceRefType type);
}
interface ResourceRef {
Object getDependency();
Object getProxy();
}
import java.util.*;
import java.util.concurrent.*;
import static java.util.concurrent.TimeUnit.SECONDS;
/**
* @author <a href="mailto:[email protected]">Carlo de Wolf</a>
*/
public class LinkedBlockingQueueTestCase
{
$ 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
From d330865720d41e76d9f46f023272d757f1e680cd Mon Sep 17 00:00:00 2001
From: Carlo de Wolf <[email protected]>
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
/*
* 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.