org.objectweb.jonas_ejb.container.jorm
Interface GenClassListener


public interface GenClassListener

This interface is a listener over the actions which modify a GenClass.

Author:
S.Chassande-Barrioz

Method Summary
 void gcAdd(GenClassElement element)
          An element has been added in the gen class.
 void gcRemove(GenClassElement element, boolean callListener)
          An element has been removed in the gen class.
 void isLegalElement(GenClassElement element)
          Check if the element is valid or not with the GenClass
 

Method Detail

isLegalElement

void isLegalElement(GenClassElement element)
                    throws java.lang.IllegalArgumentException
Check if the element is valid or not with the GenClass

Parameters:
element - element to check
Throws:
java.lang.IllegalArgumentException - if the element is not valid

gcAdd

void gcAdd(GenClassElement element)
An element has been added in the gen class.

Parameters:
element - is the added element.

gcRemove

void gcRemove(GenClassElement element,
              boolean callListener)
An element has been removed in the gen class.

Parameters:
element - is the removed element.
callListener - indicates if the gen class listener must be call about this action