org.jboss.webbeans.ejb
Class SessionBeanInterceptor

java.lang.Object
  extended by org.jboss.webbeans.ejb.SessionBeanInterceptor

public class SessionBeanInterceptor
extends java.lang.Object

Interceptor for handling EJB post-construct tasks

Author:
Pete Muir

Constructor Summary
SessionBeanInterceptor()
           
 
Method Summary
 void postConstruct(InvocationContext invocationContext)
          Gets the underlying target and calls the post-construct method
 void preDestroy(InvocationContext invocationContext)
          Gets the underlying target and calls the pre-destroy method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionBeanInterceptor

public SessionBeanInterceptor()
Method Detail

postConstruct

@PostConstruct
public void postConstruct(InvocationContext invocationContext)
                   throws java.lang.Exception
Gets the underlying target and calls the post-construct method

Parameters:
invocationContext - The invocation context
Throws:
java.lang.Exception

preDestroy

@PreDestroy
public void preDestroy(InvocationContext invocationContext)
                throws java.lang.Exception
Gets the underlying target and calls the pre-destroy method

Parameters:
invocationContext - The invocation context
Throws:
java.lang.Exception


Copyright © 2008-2009. All Rights Reserved.