Added: incubator/onami/site/lifecycle/apidocs/reference/org/apache/onami/lifecycle/AfterInjectionModule.html URL: http://svn.apache.org/viewvc/incubator/onami/site/lifecycle/apidocs/reference/org/apache/onami/lifecycle/AfterInjectionModule.html?rev=1416305&view=auto ============================================================================== --- incubator/onami/site/lifecycle/apidocs/reference/org/apache/onami/lifecycle/AfterInjectionModule.html (added) +++ incubator/onami/site/lifecycle/apidocs/reference/org/apache/onami/lifecycle/AfterInjectionModule.html Sun Dec 2 23:46:07 2012 @@ -0,0 +1,1429 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AfterInjectionModule + + +| Apache Onami-Lifecycle + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+
+ + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+
+ + + + +
+ public + + final + + class +

AfterInjectionModule

+ + + + + + + + + extends AbstractModule
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳com.google.inject.AbstractModule
    ↳org.apache.onami.lifecycle.AfterInjectionModule
+ + + + + + + +
+ + +

Class Overview

+

Guice module to register methods to be invoked after injection is complete. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Constructors
+ + + + + + + + AfterInjectionModule() + +
Creates a new module which register methods annotated with AfterInjection on methods in any type.
+ +
+ + + + + <A extends Annotation> + + + AfterInjectionModule(Class<A> afterInjectionAnnotationType, Matcher<Object> typeMatcher) + +
Creates a new module which register methods annotated with input annotation on methods + in types filtered by the input matcher.
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Protected Methods
+ + + + + + void + + configure() + +
+
+ +
+ + + final + + + Class<? extends Annotation> + + getAnnotationType() + +
Returns the annotation type the scanner will look for in the types methods.
+ +
+ + + final + + + Matcher<Object> + + getTypeMatcher() + +
Returns the type matcher to filter classes where looking for lifecycle annotations.
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + com.google.inject.AbstractModule + +
+ + +
+
+ +From class + + java.lang.Object + +
+ + +
+
+ +From interface + + com.google.inject.Module + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Constructors

+ + + + + +
+

+ + public + + + + + + + AfterInjectionModule + () +

+
+
+ +
+ + + +
+
+ +

Creates a new module which register methods annotated with AfterInjection on methods in any type. +

+ +
+
+ + + + +
+

+ + public + + + + + + + AfterInjectionModule + (Class<A> afterInjectionAnnotationType, Matcher<Object> typeMatcher) +

+
+
+ +
+ + + +
+
+ +

Creates a new module which register methods annotated with input annotation on methods + in types filtered by the input matcher.

+
+
Parameters
+ + + + + + + +
afterInjectionAnnotationType + the AfterInjection annotation to be searched.
typeMatcher + the filter for injectee types. +
+
+ +
+
+ + + + + + + + + + + + + + + + + +

Protected Methods

+ + + + + +
+

+ + protected + + + + + void + + configure + () +

+
+
+ +
+ + + +
+
+ +

+

+ +
+
+ + + + +
+

+ + protected + + final + + + Class<? extends Annotation> + + getAnnotationType + () +

+
+
+ +
+ + + +
+
+ +

Returns the annotation type the scanner will look for in the types methods.

+
+
Returns
+
  • The annotation type the scanner will look for in the types methods. +
+
+ +
+
+ + + + +
+

+ + protected + + final + + + Matcher<Object> + + getTypeMatcher + () +

+
+
+ +
+ + + +
+
+ +

Returns the type matcher to filter classes where looking for lifecycle annotations.

+
+
Returns
+
  • the type matcher to filter classes where looking for lifecycle annotations. +
+
+ +
+
+ + + + + + + + + + +
+ +
+ +
+ + + + + \ No newline at end of file Propchange: incubator/onami/site/lifecycle/apidocs/reference/org/apache/onami/lifecycle/AfterInjectionModule.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/onami/site/lifecycle/apidocs/reference/org/apache/onami/lifecycle/AfterInjectionModule.html ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Added: incubator/onami/site/lifecycle/apidocs/reference/org/apache/onami/lifecycle/Dispose.html URL: http://svn.apache.org/viewvc/incubator/onami/site/lifecycle/apidocs/reference/org/apache/onami/lifecycle/Dispose.html?rev=1416305&view=auto ============================================================================== --- incubator/onami/site/lifecycle/apidocs/reference/org/apache/onami/lifecycle/Dispose.html (added) +++ incubator/onami/site/lifecycle/apidocs/reference/org/apache/onami/lifecycle/Dispose.html Sun Dec 2 23:46:07 2012 @@ -0,0 +1,518 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Dispose + + +| Apache Onami-Lifecycle + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+
+ + + + +
+ +
+ + + + + + + + + + + + +
+ + + + + + +
+
+ + + + +
+ public + + + abstract + @interface +

Dispose

+ + + + + + implements + + Annotation + + + + + +
+ +
+ +
+ + + + + + + + + +
org.apache.onami.lifecycle.Dispose
+ + + + + + + +
+ + +

Class Overview

+

The method annotated with Dispose is typically used to release resources that it has been holding. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From interface + + java.lang.annotation.Annotation + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + \ No newline at end of file Propchange: incubator/onami/site/lifecycle/apidocs/reference/org/apache/onami/lifecycle/Dispose.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/onami/site/lifecycle/apidocs/reference/org/apache/onami/lifecycle/Dispose.html ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Added: incubator/onami/site/lifecycle/apidocs/reference/org/apache/onami/lifecycle/DisposeHandler.html URL: http://svn.apache.org/viewvc/incubator/onami/site/lifecycle/apidocs/reference/org/apache/onami/lifecycle/DisposeHandler.html?rev=1416305&view=auto ============================================================================== --- incubator/onami/site/lifecycle/apidocs/reference/org/apache/onami/lifecycle/DisposeHandler.html (added) +++ incubator/onami/site/lifecycle/apidocs/reference/org/apache/onami/lifecycle/DisposeHandler.html Sun Dec 2 23:46:07 2012 @@ -0,0 +1,526 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DisposeHandler + + +| Apache Onami-Lifecycle + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+
+ + + + +
+ +
+ + + + + +
+ + + + + + +
+
+ + + + +
+ public + + + + interface +

DisposeHandler

+ + + + + + + + +
+ +
+ +
+ + + + + + + + + +
org.apache.onami.lifecycle.DisposeHandler
+ + + + + + + +
+ + +

Class Overview

+

A DisposeHandler instance is used to track dispose progresses. +

+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ abstract + + + + <I, E extends Throwable> + void + + onError(I injectee, E error) + +
Tracks an error occurred while the input injectee released the resources.
+ +
+ abstract + + + + <I> + void + + onSuccess(I injectee) + +
Tracks the input injectee successfully released the resources.
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

+ + + + + +
+

+ + public + + + abstract + + void + + onError + (I injectee, E error) +

+
+
+ +
+ + + +
+
+ +

Tracks an error occurred while the input injectee released the resources.

+
+
Parameters
+ + + + + + + +
injectee + the injectee to be released
error + the exception occurred +
+
+ +
+
+ + + + +
+

+ + public + + + abstract + + void + + onSuccess + (I injectee) +

+
+
+ +
+ + + +
+
+ +

Tracks the input injectee successfully released the resources.

+
+
Parameters
+ + + + +
injectee + the injectee to be released +
+
+ +
+
+ + + + + + + + + + + + + + +
+ +
+ +
+ + + + + \ No newline at end of file Propchange: incubator/onami/site/lifecycle/apidocs/reference/org/apache/onami/lifecycle/DisposeHandler.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/onami/site/lifecycle/apidocs/reference/org/apache/onami/lifecycle/DisposeHandler.html ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision