blob: 72e51d1fe9423de8ceb74a283bd942f2d32fb9db [file] [log] [blame]
------
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
* {{{./post-construct.html}Post-construction support}}
* {{{./pre-destroy.html}Pre-destruction support}}