FileDocCategorySizeDatePackage
VersionedConstructorInterceptor.javaAPI DocJBoss 4.2.11684Fri Jul 13 21:02:32 BST 2007org.jboss.aspects.versioned

VersionedConstructorInterceptor

public class VersionedConstructorInterceptor extends Object implements org.jboss.aop.advice.Interceptor
author
Bill Burke
version
$Revision: 57186 $

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetName()

 return "VersionedConstructorInterceptor"; 
public java.lang.Objectinvoke(org.jboss.aop.joinpoint.Invocation invocation)

      if (!(invocation instanceof ConstructorInvocation)) return invocation.invokeNext();

      Object response = invocation.invokeNext();
      return Versioned.makeVersioned(response);