com.bm.ejb3metadata.annotations
Class JClassInterceptor

java.lang.Object
  extended by com.bm.ejb3metadata.annotations.JClassInterceptor

public class JClassInterceptor
extends java.lang.Object

This class defines a Bean interceptor with the name of the class and the method which is the interceptor.

Author:
Florent Benoit

Constructor Summary
JClassInterceptor(java.lang.String className, JMethod jMethod)
          Constructor.
JClassInterceptor(java.lang.String className, JMethod jMethod, int id)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object another)
          Equals method.
 java.lang.String getClassName()
          (internal name) where is the interceptor.
 JMethod getJMethod()
          Method with @AroundInvoke annotation.
 int hashCode()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JClassInterceptor

public JClassInterceptor(java.lang.String className,
                         JMethod jMethod,
                         int id)
Constructor.

Parameters:
className - String name of the class (internal name).
jMethod - the method with aroundInvoke annotation.
id - the id of this interceptor

JClassInterceptor

public JClassInterceptor(java.lang.String className,
                         JMethod jMethod)
Constructor.

Parameters:
className - String name of the class (internal name).
jMethod - the method with aroundInvoke annotation.
Method Detail

getClassName

public java.lang.String getClassName()
(internal name) where is the interceptor.

Returns:
class (internal name) where is the interceptor.

getJMethod

public JMethod getJMethod()
Method with @AroundInvoke annotation.

Returns:
Method with @AroundInvoke annotation

equals

public boolean equals(java.lang.Object another)
Equals method.

Overrides:
equals in class java.lang.Object
Parameters:
another - object to compare.
Returns:
true if the objects are the same.

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object


Copyright © 2008. All Rights Reserved.