public void invoke(Object entity) throws EventListenerException
    {
        if (!method.isAccessible())
            method.setAccessible(true);
        try
        {
            method.invoke(entity, new Object[] {});
        }
        catch (IllegalArgumentException e)
        {
            throw new EventListenerException(e);
        }
        catch (IllegalAccessException e)
        {
            throw new EventListenerException(e);
        }
        catch (InvocationTargetException e)
        {
            throw new EventListenerException(e);
        }
    }
public void invoke ( Object entity ) throws EventListenerException { if ( ! method . isAccessible ( ) ) method . setAccessible ( true ) ; try { method . invoke ( entity , new Object [ ] { } ) ; } catch ( IllegalArgumentException e ) { throw new EventListenerException ( e ) ; } catch ( IllegalAccessException e ) { throw new EventListenerException ( e ) ; } catch ( InvocationTargetException e ) { throw new EventListenerException ( e ) ; } }
/*
(non-Javadoc)

@see
com.impetus.kundera.ejb.event.CallbackMethod#invoke(java.lang.Object)