com.syrtsov.handler
Interface Intializible

All Known Implementing Classes:
DaoInvocationHandlerImpl, JDBCConnectionHandler, JNDIDataSourceHandler

public interface Intializible

when framework creates InvocationHandler that implements this interface it will invoke initialixe with context where it had been created.

Created by Pavel Syrtsov Date: Nov 28, 2007 Time: 6:06:48 PM


Method Summary
 void init(java.lang.Class<?> iFace, java.lang.annotation.Annotation annotation, java.util.List<java.lang.Class<?>> iFaceList)
          initialize this object to be used in context defined by parameters
 

Method Detail

init

void init(java.lang.Class<?> iFace,
          java.lang.annotation.Annotation annotation,
          java.util.List<java.lang.Class<?>> iFaceList)
          throws InitializerException
initialize this object to be used in context defined by parameters

Parameters:
iFace - - interface that this InovationHandler shall be handling
annotation - - annotation that been used to create this object
iFaceList - - output parameter , InvocationHandler can add here additional interfaces that it can support
Throws:
SetupException - when fails to setup, leaves object in unusable state
InitializerException