ONAMI-113 Remove Lifecycle Standard module

Remove leftover files

git-svn-id: https://svn.apache.org/repos/asf/onami/trunk@1610193 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lifecycle/standard/pom.xml b/lifecycle/standard/pom.xml
deleted file mode 100644
index a974bce..0000000
--- a/lifecycle/standard/pom.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- | Licensed to the Apache Software Foundation (ASF) under one
- | or more contributor license agreements.  See the NOTICE file
- | distributed with this work for additional information
- | regarding copyright ownership.  The ASF licenses this file
- | to you under the Apache License, Version 2.0 (the
- | "License"); you may not use this file except in compliance
- | with the License.  You may obtain a copy of the License at
- |
- |   http://www.apache.org/licenses/LICENSE-2.0
- |
- | Unless required by applicable law or agreed to in writing,
- | software distributed under the License is distributed on an
- | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- | KIND, either express or implied.  See the License for the
- | specific language governing permissions and limitations
- | under the License.
--->
-<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/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-
-  <parent>
-    <groupId>org.apache.onami.lifecycle</groupId>
-    <artifactId>org.apache.onami.lifecycle.parent</artifactId>
-    <version>0.2.0-SNAPSHOT</version>
-  </parent>
-
-  <artifactId>org.apache.onami.lifecycle.standard</artifactId>
-
-  <name>Apache Onami-Lifecycle Standard</name>
-
-  <dependencies>
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>org.apache.onami.lifecycle.core</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-  </dependencies>
-
-</project>
diff --git a/lifecycle/standard/src/main/java/org/apache/onami/lifecycle/standard/AfterInjection.java b/lifecycle/standard/src/main/java/org/apache/onami/lifecycle/standard/AfterInjection.java
deleted file mode 100644
index 8509c1a..0000000
--- a/lifecycle/standard/src/main/java/org/apache/onami/lifecycle/standard/AfterInjection.java
+++ /dev/null
@@ -1,39 +0,0 @@
-package org.apache.onami.lifecycle.standard;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
-/**
- * The {@code AfterInjection} annotation is used on a method that needs to be executed after dependency injection is
- * done to perform any initialization.
- */
-@Documented
-@Retention(RUNTIME)
-@Target(METHOD)
-public @interface AfterInjection
-{
-
-}
diff --git a/lifecycle/standard/src/main/java/org/apache/onami/lifecycle/standard/AfterInjectionModule.java b/lifecycle/standard/src/main/java/org/apache/onami/lifecycle/standard/AfterInjectionModule.java
deleted file mode 100644
index 5c26709..0000000
--- a/lifecycle/standard/src/main/java/org/apache/onami/lifecycle/standard/AfterInjectionModule.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package org.apache.onami.lifecycle.standard;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import org.apache.onami.lifecycle.core.LifeCycleModule;
-
-/**
- * Guice module to register methods to be invoked after injection is complete.
- */
-public class AfterInjectionModule
-    extends LifeCycleModule
-{
-
-    @Override
-    protected void configure()
-    {
-        bindLifeCycle( AfterInjection.class );
-    }
-
-}
diff --git a/lifecycle/standard/src/main/java/org/apache/onami/lifecycle/standard/Dispose.java b/lifecycle/standard/src/main/java/org/apache/onami/lifecycle/standard/Dispose.java
deleted file mode 100644
index 59dc7b0..0000000
--- a/lifecycle/standard/src/main/java/org/apache/onami/lifecycle/standard/Dispose.java
+++ /dev/null
@@ -1,38 +0,0 @@
-package org.apache.onami.lifecycle.standard;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
-/**
- * The method annotated with {@code Dispose} is typically used to release resources that it has been holding.
- */
-@Documented
-@Retention(RUNTIME)
-@Target(METHOD)
-public @interface Dispose
-{
-
-}
diff --git a/lifecycle/standard/src/main/java/org/apache/onami/lifecycle/standard/DisposeModule.java b/lifecycle/standard/src/main/java/org/apache/onami/lifecycle/standard/DisposeModule.java
deleted file mode 100644
index 5c7aaca..0000000
--- a/lifecycle/standard/src/main/java/org/apache/onami/lifecycle/standard/DisposeModule.java
+++ /dev/null
@@ -1,51 +0,0 @@
-package org.apache.onami.lifecycle.standard;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import com.google.inject.TypeLiteral;
-import org.apache.onami.lifecycle.core.DefaultStager;
-import org.apache.onami.lifecycle.core.DisposingStager;
-import org.apache.onami.lifecycle.core.LifeCycleStageModule;
-
-/**
- * Guice module to register methods to be invoked when {@link org.apache.onami.lifecycle.core.Stager#stage()} is invoked.
- * <p/>
- * Module instance have state so it must not be used to construct more than one {@link com.google.inject.Injector}.
- */
-public class DisposeModule
-    extends LifeCycleStageModule
-{
-
-    private final DisposingStager<Dispose> stager = new DefaultStager<Dispose>(
-        Dispose.class, DefaultStager.Order.FIRST_IN_LAST_OUT );
-
-    @Override
-    protected void configureBindings()
-    {
-        bindStager( stager );
-        bind( new TypeLiteral<DisposingStager<Dispose>>() {} ).toInstance( stager );
-    }
-
-    public DisposingStager<Dispose> getStager()
-    {
-        return stager;
-    }
-
-}
diff --git a/lifecycle/standard/src/site/apt/after-injection.apt b/lifecycle/standard/src/site/apt/after-injection.apt
deleted file mode 100644
index a65e22a..0000000
--- a/lifecycle/standard/src/site/apt/after-injection.apt
+++ /dev/null
@@ -1,102 +0,0 @@
-                                    ------
-                                    Home
-                                    ------
-                                    After Injection callbacks
-                                    ------
-                                     2012
-
-~~
-~~ Licensed to the Apache Software Foundation (ASF) under one
-~~ or more contributor license agreements.  See the NOTICE file
-~~ distributed with this work for additional information
-~~ regarding copyright ownership.  The ASF licenses this file
-~~ to you under the Apache License, Version 2.0 (the
-~~ "License"); you may not use this file except in compliance
-~~ with the License.  You may obtain a copy of the License at
-~~
-~~   http://www.apache.org/licenses/LICENSE-2.0
-~~
-~~ Unless required by applicable law or agreed to in writing,
-~~ software distributed under the License is distributed on an
-~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~~ KIND, either express or implied.  See the License for the
-~~ specific language governing permissions and limitations
-~~ under the License.
-~~
-
-After Injection callbacks
-
-  Let's start on defining an object type that requires dependency injection and that a callback
-  has to be invoked once injection is complete:
-
-+--------------------------------------+
-import org.apache.onami.lifecycle.AfterInjection;
-
-@Singleton // not necessary, but let's add some spice
-public class MyServiceImpl
-{
-
-    @Inject
-    private Dependency dependency;
-
-    // setter omitted for simplicity
-
-    @AfterInjection
-    public void init()
-    {
-        ...
-    }
-
-}
-+--------------------------------------+
-
-  All users have to do, is adding the <<<AfterInjectionModule>>> when creating the <<<Injector>>>:
-
-+--------------------------------------+
-import static com.google.inject.Guice.createInjector;
-
-import org.apache.onami.lifecycle.AfterInjectionModule;
-
-...
-
-Injector injector = createInjector( new AfterInjectionModule(), ... );
-+--------------------------------------+
-
-Customization
-
-  The <<<AfterInjectionModule>>> module supports dynamic definition of the annotation has to be handled; let's replace
-  the <<<org.apache.onami.lifecycle.AfterInjection>>> with the <<<javax.annotation.PostConstruct>>>:
-
-+--------------------------------------+
-import javax.annotation.PostConstruct;
-
-@Singleton // not necessary, but let's add some spice
-public class MyServiceImpl
-{
-
-    @Inject
-    private Dependency dependency;
-
-    // setter omitted for simplicity
-
-    @PostConstruct
-    public void init()
-    {
-        ...
-    }
-
-}
-+--------------------------------------+
-
-  then, create the <<<Injector>>>:
-
-+--------------------------------------+
-import static com.google.inject.Guice.createInjector;
-
-import javax.annotation.PostConstruct;
-import org.apache.onami.lifecycle.AfterInjectionModule;
-
-...
-
-Injector injector = createInjector( new AfterInjectionModule( PostConstruct.class, Matchers.any() ), ... );
-+--------------------------------------+
diff --git a/lifecycle/standard/src/site/apt/dispose.apt b/lifecycle/standard/src/site/apt/dispose.apt
deleted file mode 100644
index a968bdd..0000000
--- a/lifecycle/standard/src/site/apt/dispose.apt
+++ /dev/null
@@ -1,182 +0,0 @@
-                                    ------
-                                    Home
-                                    ------
-                                    Dispose
-                                    ------
-                                     2012
-
-~~
-~~ Licensed to the Apache Software Foundation (ASF) under one
-~~ or more contributor license agreements.  See the NOTICE file
-~~ distributed with this work for additional information
-~~ regarding copyright ownership.  The ASF licenses this file
-~~ to you under the Apache License, Version 2.0 (the
-~~ "License"); you may not use this file except in compliance
-~~ with the License.  You may obtain a copy of the License at
-~~
-~~   http://www.apache.org/licenses/LICENSE-2.0
-~~
-~~ Unless required by applicable law or agreed to in writing,
-~~ software distributed under the License is distributed on an
-~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~~ KIND, either express or implied.  See the License for the
-~~ specific language governing permissions and limitations
-~~ under the License.
-~~
-
-Dispose
-
-  Let's start on defining an object type that requires dependency injection and that a callback
-  has to be invoked once application will be shutdown:
-
-+--------------------------------------+
-import org.apache.onami.lifecycle.Dispose;
-
-@Singleton // not necessary, but let's add some spice
-public class MyServiceImpl
-{
-
-    @Inject
-    private Dependency dependency;
-
-    // setter omitted for simplicity
-
-    @Dispose
-    public void tearDown()
-    {
-        ...
-    }
-
-}
-+--------------------------------------+
-
-  All users have to do, is adding the <<<DisposeModule>>> when creating the <<<Injector>>>:
-
-+--------------------------------------+
-import static com.google.inject.Guice.createInjector;
-
-import org.apache.onami.lifecycle.DisposeModule;
-
-...
-
-Injector injector = createInjector( new DisposeModule(), ... );
-+--------------------------------------+
-
-  Then, require the <<<org.apache.onami.lifecycle.Disposer>>> injection to shutdown the application:
-
-+--------------------------------------+
-import org.apache.onami.lifecycle.Disposer;
-
-...
-
-Runtime.getRuntime().addShutdownHook( new Thread()
-{
-
-    public void run()
-    {
-        injector.getInstance( Disposer.class ).dispose();
-    }
-
-} );
-+--------------------------------------+
-
-  Of course, same concept can be applied to any listener <<<javax.servlet.ServletContextListener>>>:
-
-+--------------------------------------+
-import javax.servlet.ServletContext;
-import javax.servlet.ServletContextEvent;
-import javax.servlet.ServletContextListener;
-
-public final class ContextListener
-   implements ServletContextListener
-{
-
-    private Injector injector;
-
-    public void contextDestroyed( ServletContextEvent event )
-    {
-        injector.getInstance( Disposer.class ).dispose();
-    }
-
-    public void contextInitialized( ServletContextEvent event )
-    {
-        ...
-    }
-
-}
-+--------------------------------------+
-
-Dispose Handling
-
-  Users interested on tracking/logging/... objects dispose progresses, can register a
-  <<<org.apache.onami.lifecycle.DisposeHandler>>>, which has the following methods signatures:
-
-+--------------------------------------+
-public interface DisposeHandler
-{
-
-    <I> void onSuccess( I injectee );
-
-    <I, E extends Throwable> void onError( I injectee, E error );
-
-}
-+--------------------------------------+
-
-  A <<<DisposeHandler>>> instance can be passed to <<<Disposer#dispose()>>> method:
-
-+--------------------------------------+
-injector.getInstance( Disposer.class ).dispose( new DisposeHandler
-{
-
-    public <I> void onSuccess( I injectee )
-    {
-        logger.info( "Object {} successfully released resources", injectee );
-    }
-
-    public <I, E extends Throwable> void onError( I injectee, E error )
-    {
-        logger.error( "Impossible to released resources of " + injectee, error );
-    }
-
-} );
-+--------------------------------------+
-
-Customization
-
-  The <<<DisposeModule>>> module supports dynamic definition of the annotation has to be handled; let's replace
-  the <<<org.apache.onami.lifecycle.Dispose>>> with the <<<javax.annotation.PreDestroy>>>:
-
-+--------------------------------------+
-import javax.annotation.PreDestroy;
-
-@Singleton // not necessary, but let's add some spice
-public class MyServiceImpl
-{
-
-    @Inject
-    private Dependency dependency;
-
-    // setter omitted for simplicity
-
-    @PreDestroy
-    public void tearDown()
-    {
-        ...
-    }
-
-}
-+--------------------------------------+
-
-  then, create the <<<Injector>>>:
-
-+--------------------------------------+
-import static com.google.inject.Guice.createInjector;
-
-import javax.annotation.PreDestroy;
-import org.apache.onami.lifecycle.AfterInjectionModule;
-
-...
-
-Injector injector = createInjector( new DisposeModule( PreDestroy.class, Matchers.any() ), ... );
-+--------------------------------------+
-  
\ No newline at end of file
diff --git a/lifecycle/standard/src/site/apt/index.apt.vm b/lifecycle/standard/src/site/apt/index.apt.vm
deleted file mode 100644
index 9f8d509..0000000
--- a/lifecycle/standard/src/site/apt/index.apt.vm
+++ /dev/null
@@ -1,57 +0,0 @@
-                                    ------
-                                    Home
-                                    ------
-                                    The Apache Onami developers team
-                                    ------
-                                     2012
-
-~~
-~~ Licensed to the Apache Software Foundation (ASF) under one
-~~ or more contributor license agreements.  See the NOTICE file
-~~ distributed with this work for additional information
-~~ regarding copyright ownership.  The ASF licenses this file
-~~ to you under the Apache License, Version 2.0 (the
-~~ "License"); you may not use this file except in compliance
-~~ with the License.  You may obtain a copy of the License at
-~~
-~~   http://www.apache.org/licenses/LICENSE-2.0
-~~
-~~ Unless required by applicable law or agreed to in writing,
-~~ software distributed under the License is distributed on an
-~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~~ KIND, either express or implied.  See the License for the
-~~ specific language governing permissions and limitations
-~~ under the License.
-~~
-
-Welcome to ${project.name}!
-
-  People often complained the Google Guice lack of support of EJB3.0 <<<@PostConstruct>>> and <<<@PreDestroy>>>
-  annotations to manage the injected objects lifecycle.
-
-  This small library aims to add that support in a lightweight yet dynamic way, allowing users define the annotations
-  type they want to use to mark methods to execute once the injection is performed and when shutting down the
-  application.
-
-Before starting
-
-  ${project.name} is available on the Maven Central repo, you just need to add the dependency below in your <<<pom.xml>>> file:
-
-+--------------------------------------+
-<dependencies>
-  ...
-  <dependency>
-    <groupId>${project.groupId}</groupId>
-    <artifactId>${project.artifactId}</artifactId>
-    <version>${project.version}</version>
-  </dependency>
-  ...
-</dependencies>
-+--------------------------------------+
-
-Features
-
- * {{{./after-injection.html}After Injection support}}
-
- * {{{./dispose.html}Dispose support}}
-
diff --git a/lifecycle/standard/src/site/site.xml b/lifecycle/standard/src/site/site.xml
deleted file mode 100644
index f826b12..0000000
--- a/lifecycle/standard/src/site/site.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- | Licensed to the Apache Software Foundation (ASF) under one
- | or more contributor license agreements.  See the NOTICE file
- | distributed with this work for additional information
- | regarding copyright ownership.  The ASF licenses this file
- | to you under the Apache License, Version 2.0 (the
- | "License"); you may not use this file except in compliance
- | with the License.  You may obtain a copy of the License at
- |
- |   http://www.apache.org/licenses/LICENSE-2.0
- |
- | Unless required by applicable law or agreed to in writing,
- | software distributed under the License is distributed on an
- | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- | KIND, either express or implied.  See the License for the
- | specific language governing permissions and limitations
- | under the License.
--->
-<project xmlns="http://maven.apache.org/DECORATION/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/DECORATION/1.1.0 http://maven.apache.org/xsd/decoration-1.1.0.xsd"
-  name="${project.name}">
-
-  <body>
-    <head>
-      <link rel="meta" title="DOAP" href="${project.url}/doap.rdf" type="application/rdf+xml" />
-    </head>
-
-    <menu name="Apache Onami™ Lifecycle Standard">
-      <item name="Home" href="index.html" />
-      <item name="After Injection" href="after-injection.html" />
-      <item name="Dispose" href="dispose.html" />
-      <item name="Back" href="../index.html" />
-    </menu>
-
-    <menu ref="reports"/>
-
-    <footer>
-      <div class="row span12">
-        Apache Onami, Apache Onami Lifecycle, Apache, the Apache feather logo, and the Apache Onami project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
-      </div>
-    </footer>
-  </body>
-
-</project>
diff --git a/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/AfterInjectionTestCase.java b/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/AfterInjectionTestCase.java
deleted file mode 100644
index 1d3c38e..0000000
--- a/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/AfterInjectionTestCase.java
+++ /dev/null
@@ -1,61 +0,0 @@
-package org.apache.onami.lifecycle.standard;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import com.google.inject.ConfigurationException;
-import com.google.inject.ProvisionException;
-import org.junit.Test;
-
-import static com.google.inject.Guice.createInjector;
-import static org.junit.Assert.assertTrue;
-
-public final class AfterInjectionTestCase
-{
-
-    private boolean afterInjectionInvoked = false;
-
-    @AfterInjection
-    public void init()
-    {
-        afterInjectionInvoked = true;
-    }
-
-    @Test
-    public void afterInjectionAnnotatedMethodInvocation()
-    {
-        createInjector( new AfterInjectionModule() )
-        .getMembersInjector( AfterInjectionTestCase.class )
-        .injectMembers( this );
-        assertTrue( afterInjectionInvoked );
-    }
-
-    @Test( expected = ConfigurationException.class )
-    public void afterInjectionAnnotatedMethodRequiresNoArgs()
-    {
-        createInjector( new AfterInjectionModule() ).getInstance( WrongAfterInjectionMethod.class );
-    }
-
-    @Test( expected = ProvisionException.class )
-    public void afterInjectionAnnotatedMethodThrowsException()
-    {
-        createInjector( new AfterInjectionModule() ).getInstance( ThrowingExceptionAfterInjectionMethod.class );
-    }
-
-}
diff --git a/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposableObject.java b/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposableObject.java
deleted file mode 100644
index 1d9a003..0000000
--- a/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposableObject.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package org.apache.onami.lifecycle.standard;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-public final class DisposableObject
-{
-
-    boolean disposed = false;
-
-    @Dispose
-    public void dispose()
-    {
-        disposed  = true;
-    }
-
-}
diff --git a/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposeModuleTestCase.java b/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposeModuleTestCase.java
deleted file mode 100644
index af9197d..0000000
--- a/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposeModuleTestCase.java
+++ /dev/null
@@ -1,136 +0,0 @@
-package org.apache.onami.lifecycle.standard;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import com.google.inject.AbstractModule;
-import com.google.inject.CreationException;
-import com.google.inject.Provides;
-import org.apache.onami.lifecycle.core.DisposingStager;
-import org.apache.onami.lifecycle.core.StageHandler;
-import org.junit.Test;
-
-import java.util.concurrent.ExecutorService;
-import java.util.concurrent.Executors;
-
-import static com.google.inject.Guice.createInjector;
-import static org.junit.Assert.*;
-
-public final class DisposeModuleTestCase
-{
-
-    @Test
-    public void disposeUsingModuleOnInjectorFailure()
-    {
-        DisposeModule disposeModule = new DisposeModule();
-        try
-        {
-            createInjector( disposeModule, new AbstractModule()
-            {
-
-                @Override
-                protected void configure()
-                {
-                    bind( ThrowingExceptionConstructor.class ).asEagerSingleton();
-                }
-
-            } );
-            fail( "Expected exception was not thrown" );
-        }
-        catch( CreationException e )
-        {
-            Throwable cause = e.getCause();
-            assertTrue( cause instanceof IllegalArgumentException );
-            assertEquals( "Expected exception", cause.getMessage() );
-        }
-        finally
-        {
-            disposeModule.getStager().stage( new StageHandler()
-            {
-
-                @Override
-                public <I> void onSuccess( I injectee )
-                {
-                    assertTrue( injectee instanceof DisposableObject );
-                    assertTrue( ( (DisposableObject) injectee ).disposed );
-                }
-
-                @Override
-                public <I, E extends Throwable> void onError( I injectee, E error )
-                {
-                    fail( error.toString() );
-                }
-
-            } );
-        }
-    }
-
-    @Test
-    public void disposeUsingModuleWithProvidesMethodOnInjectorFailure()
-    {
-        DisposeModule disposeModule = new DisposeModule();
-        try
-        {
-            createInjector( disposeModule, new AbstractModule()
-            {
-
-                @Override
-                protected void configure()
-                {
-                    bind( ThrowingExceptionConstructor2.class ).asEagerSingleton();
-                }
-
-                @Provides
-                public ExecutorService provideExecutorService( DisposingStager<Dispose> stager )
-                {
-                    return stager.register( Executors.newCachedThreadPool() );
-                }
-
-            } );
-            fail( "Expected exception was not thrown" );
-        }
-        catch( CreationException e )
-        {
-            Throwable cause = e.getCause();
-            assertTrue( cause instanceof IllegalArgumentException );
-            assertEquals( "Expected exception", cause.getMessage() );
-        }
-        finally
-        {
-            disposeModule.getStager().stage( new StageHandler()
-            {
-
-                @Override
-                public <I> void onSuccess( I injectee )
-                {
-                    assertTrue( injectee instanceof ExecutorService );
-                    assertTrue( ( (ExecutorService) injectee ).isShutdown() );
-                }
-
-                @Override
-                public <I, E extends Throwable> void onError( I injectee, E error )
-                {
-                    fail( error.toString() );
-                }
-
-            } );
-        }
-    }
-
-}
diff --git a/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposeTestCase.java b/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposeTestCase.java
deleted file mode 100644
index caefcf8..0000000
--- a/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposeTestCase.java
+++ /dev/null
@@ -1,107 +0,0 @@
-package org.apache.onami.lifecycle.standard;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import com.google.inject.AbstractModule;
-import com.google.inject.ConfigurationException;
-import javax.inject.Inject;
-import com.google.inject.Key;
-import com.google.inject.TypeLiteral;
-import org.apache.onami.lifecycle.core.StageHandler;
-import org.apache.onami.lifecycle.core.Stager;
-import org.junit.Before;
-import org.junit.Test;
-
-import static com.google.inject.Guice.createInjector;
-import static org.junit.Assert.assertTrue;
-import static org.junit.Assert.fail;
-
-public final class DisposeTestCase
-{
-
-    @Inject
-    private Stager<Dispose> stager;
-
-    private boolean disposeInvoked = false;
-
-    public void setStager( Stager<Dispose> stager )
-    {
-        this.stager = stager;
-    }
-
-    @Dispose
-    public void close()
-    {
-        disposeInvoked = true;
-    }
-
-    @Before
-    public void setUp()
-    {
-        createInjector( new DisposeModule() )
-        .getMembersInjector( DisposeTestCase.class )
-        .injectMembers( this );
-    }
-
-    @Test
-    public void disposeMethodInvoked()
-    {
-        stager.stage();
-        assertTrue( disposeInvoked );
-    }
-
-    @Test( expected = ConfigurationException.class )
-    public void disposeAnnotatedMethodRequiresNoArgs()
-    {
-        createInjector( new DisposeModule() ).getInstance( WrongDisposeMethod.class );
-    }
-
-    @Test//( expected = ConfigurationException.class )
-    public void disposeAnnotatedMethodThrowsException()
-    {
-        createInjector( new DisposeModule(), new AbstractModule()
-        {
-
-            @Override
-            protected void configure()
-            {
-                bind( ThrowingExceptionDisposeMethod.class ).toInstance( new ThrowingExceptionDisposeMethod() );
-            }
-
-        } ).getInstance( Key.get( new TypeLiteral<Stager<Dispose>>() {} ) ).stage( new StageHandler()
-        {
-
-            @Override
-            public <I> void onSuccess( I injectee )
-            {
-                fail();
-            }
-
-            @Override
-            public <I, E extends Throwable> void onError( I injectee, E error )
-            {
-                assertTrue( injectee instanceof ThrowingExceptionDisposeMethod );
-                assertTrue( error instanceof IllegalStateException );
-            }
-
-        } );
-    }
-
-}
diff --git a/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/ThrowingExceptionAfterInjectionMethod.java b/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/ThrowingExceptionAfterInjectionMethod.java
deleted file mode 100644
index 9807729..0000000
--- a/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/ThrowingExceptionAfterInjectionMethod.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package org.apache.onami.lifecycle.standard;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-public final class ThrowingExceptionAfterInjectionMethod
-{
-
-    @AfterInjection
-    public void init()
-    {
-        throw new IllegalStateException();
-    }
-
-}
diff --git a/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/ThrowingExceptionConstructor.java b/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/ThrowingExceptionConstructor.java
deleted file mode 100644
index 174bb56..0000000
--- a/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/ThrowingExceptionConstructor.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package org.apache.onami.lifecycle.standard;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import javax.inject.Inject;
-
-public final class ThrowingExceptionConstructor
-{
-
-    @Inject
-    public ThrowingExceptionConstructor( DisposableObject disposableObject )
-    {
-        throw new IllegalArgumentException( "Expected exception" );
-    }
-
-}
diff --git a/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/ThrowingExceptionConstructor2.java b/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/ThrowingExceptionConstructor2.java
deleted file mode 100644
index 3d549e9..0000000
--- a/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/ThrowingExceptionConstructor2.java
+++ /dev/null
@@ -1,34 +0,0 @@
-package org.apache.onami.lifecycle.standard;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import javax.inject.Inject;
-import java.util.concurrent.ExecutorService;
-
-public final class ThrowingExceptionConstructor2
-{
-
-    @Inject
-    public ThrowingExceptionConstructor2( ExecutorService executorService )
-    {
-        throw new IllegalArgumentException( "Expected exception" );
-    }
-
-}
diff --git a/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/ThrowingExceptionDisposeMethod.java b/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/ThrowingExceptionDisposeMethod.java
deleted file mode 100644
index fed4705..0000000
--- a/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/ThrowingExceptionDisposeMethod.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package org.apache.onami.lifecycle.standard;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-public final class ThrowingExceptionDisposeMethod
-{
-
-    @Dispose
-    public void close()
-    {
-        throw new IllegalStateException();
-    }
-
-}
diff --git a/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/WrongAfterInjectionMethod.java b/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/WrongAfterInjectionMethod.java
deleted file mode 100644
index e698b81..0000000
--- a/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/WrongAfterInjectionMethod.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package org.apache.onami.lifecycle.standard;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-public final class WrongAfterInjectionMethod
-{
-
-    @AfterInjection
-    public void init( String misplacedArg )
-    {
-        // do nothing
-    }
-
-}
diff --git a/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/WrongDisposeMethod.java b/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/WrongDisposeMethod.java
deleted file mode 100644
index 3099ceb..0000000
--- a/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/WrongDisposeMethod.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package org.apache.onami.lifecycle.standard;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-public final class WrongDisposeMethod
-{
-
-    @Dispose
-    public void close( Integer misplacedArg )
-    {
-        // do nothing
-    }
-
-}