FileDocCategorySizeDatePackage
XMLEntityListener.javaAPI DocGlassfish v2 API6425Tue May 22 16:54:30 BST 2007oracle.toplink.essentials.internal.ejb.cmp3.xml.listeners

XMLEntityListener

public class XMLEntityListener extends MetadataEntityListener
An XML specified entity listener. WIP - similar code in here as XMLEntityClassListener
author
Guy Pelletier
since
TopLink EJB 3.0 Reference Implementation

Fields Summary
Constructors Summary
public XMLEntityListener(Class listenerClass, Class entityClass)
INTERNAL:

		super(listenerClass, entityClass);
	
Methods Summary
public voidsetPostBuildMethod(java.lang.reflect.Method method)
INTERNAL: Set it only if the same method wasn't already set from XML. If this is a different method and one has already been set from XML, then an exception will be thrown from the set on the parent.

        if (noCallbackMethodAlreadySetFor(POST_BUILD, method)) {
            super.setPostBuildMethod(method);
        }
    
public voidsetPostCloneMethod(java.lang.reflect.Method method)
INTERNAL: Set it only if the same method wasn't already set from XML. If this is a different method and one has already been set from XML, then an exception will be thrown from the set on the parent.

        if (noCallbackMethodAlreadySetFor(POST_CLONE, method)) {
            super.setPostCloneMethod(method);
        }
    
public voidsetPostDeleteMethod(java.lang.reflect.Method method)
INTERNAL: Set it only if the same method wasn't already set from XML. If this is a different method and one has already been set from XML, then an exception will be thrown from the set on the parent.

        if (noCallbackMethodAlreadySetFor(POST_DELETE, method)) {
            super.setPostDeleteMethod(method);
        }
    
public voidsetPostInsertMethod(java.lang.reflect.Method method)
INTERNAL: Set it only if the same method wasn't already set from XML. If this is a different method and one has already been set from XML, then an exception will be thrown from the set on the parent.

        if (noCallbackMethodAlreadySetFor(POST_INSERT, method)) {
            super.setPostInsertMethod(method);
        }
    
public voidsetPostRefreshMethod(java.lang.reflect.Method method)
INTERNAL: Set it only if the same method wasn't already set from XML. If this is a different method and one has already been set from XML, then an exception will be thrown from the set on the parent.

        if (noCallbackMethodAlreadySetFor(POST_REFRESH, method)) {
            super.setPostRefreshMethod(method);
        }
    
public voidsetPostUpdateMethod(java.lang.reflect.Method method)
INTERNAL: Set it only if the same method wasn't already set from XML. If this is a different method and one has already been set from XML, then an exception will be thrown from the set on the parent.

        if (noCallbackMethodAlreadySetFor(POST_UPDATE, method)) {
            super.setPostUpdateMethod(method);
        }
    
public voidsetPrePersistMethod(java.lang.reflect.Method method)
INTERNAL: Set it only if the same method wasn't already set from XML. If this is a different method and one has already been set from XML, then an exception will be thrown from the set on the parent.

        if (noCallbackMethodAlreadySetFor(PRE_PERSIST, method)) {
            super.setPrePersistMethod(method);
        }
    
public voidsetPreRemoveMethod(java.lang.reflect.Method method)
INTERNAL: Set it only if the same method wasn't already set from XML. If this is a different method and one has already been set from XML, then an exception will be thrown from the set on the parent.

        if (noCallbackMethodAlreadySetFor(PRE_REMOVE, method)) {
            super.setPreRemoveMethod(method);
        }
    
public voidsetPreUpdateWithChangesMethod(java.lang.reflect.Method method)
INTERNAL: Set it only if the same method wasn't already set from XML. If this is a different method and one has already been set from XML, then an exception will be thrown from the set on the parent.

        if (noCallbackMethodAlreadySetFor(PRE_UPDATE_WITH_CHANGES, method)) {
            super.setPreUpdateWithChangesMethod(method);
        }