Class ResourceMethodListenerImplementor
java.lang.Object
io.quarkus.rest.data.panache.deployment.ResourceMethodListenerImplementor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Map<io.quarkus.gizmo.FieldDescriptor,org.jboss.jandex.ClassInfo> protected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final String -
Constructor Summary
ConstructorsConstructorDescriptionResourceMethodListenerImplementor(io.quarkus.gizmo.ClassCreator cc, List<org.jboss.jandex.ClassInfo> resourceMethodListeners) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.jboss.jandex.MethodInfofindMethodByName(org.jboss.jandex.ClassInfo classInfo, String methodName) protected voidinvokeMethodUsingEntity(String methodName, io.quarkus.gizmo.BytecodeCreator methodCreator, io.quarkus.gizmo.ResultHandle entity) protected voidinvokeMethodUsingId(String methodName, io.quarkus.gizmo.BytecodeCreator methodCreator, io.quarkus.gizmo.ResultHandle id) voidonBeforeAdd(io.quarkus.gizmo.BytecodeCreator methodCreator, io.quarkus.gizmo.ResultHandle entity) voidonBeforeDelete(io.quarkus.gizmo.BytecodeCreator methodCreator, io.quarkus.gizmo.ResultHandle id) voidonBeforeUpdate(io.quarkus.gizmo.BytecodeCreator methodCreator, io.quarkus.gizmo.ResultHandle entity) protected voidprocessEventListener(String methodName, io.quarkus.gizmo.BytecodeCreator methodCreator, io.quarkus.gizmo.ResultHandle eventListenerContainer, io.quarkus.gizmo.ResultHandle parameter)
-
Field Details
-
ON_AFTER
- See Also:
-
ON_BEFORE_ADD_METHOD_NAME
- See Also:
-
ON_AFTER_ADD_METHOD_NAME
- See Also:
-
ON_BEFORE_UPDATE_METHOD_NAME
- See Also:
-
ON_AFTER_UPDATE_METHOD_NAME
- See Also:
-
ON_BEFORE_DELETE_METHOD_NAME
- See Also:
-
ON_AFTER_DELETE_METHOD_NAME
- See Also:
-
listenerFields
-
-
Constructor Details
-
ResourceMethodListenerImplementor
public ResourceMethodListenerImplementor(io.quarkus.gizmo.ClassCreator cc, List<org.jboss.jandex.ClassInfo> resourceMethodListeners)
-
-
Method Details
-
onBeforeAdd
public void onBeforeAdd(io.quarkus.gizmo.BytecodeCreator methodCreator, io.quarkus.gizmo.ResultHandle entity) -
onBeforeUpdate
public void onBeforeUpdate(io.quarkus.gizmo.BytecodeCreator methodCreator, io.quarkus.gizmo.ResultHandle entity) -
onBeforeDelete
public void onBeforeDelete(io.quarkus.gizmo.BytecodeCreator methodCreator, io.quarkus.gizmo.ResultHandle id) -
invokeMethodUsingEntity
protected void invokeMethodUsingEntity(String methodName, io.quarkus.gizmo.BytecodeCreator methodCreator, io.quarkus.gizmo.ResultHandle entity) -
invokeMethodUsingId
protected void invokeMethodUsingId(String methodName, io.quarkus.gizmo.BytecodeCreator methodCreator, io.quarkus.gizmo.ResultHandle id) -
processEventListener
protected void processEventListener(String methodName, io.quarkus.gizmo.BytecodeCreator methodCreator, io.quarkus.gizmo.ResultHandle eventListenerContainer, io.quarkus.gizmo.ResultHandle parameter) -
findMethodByName
protected org.jboss.jandex.MethodInfo findMethodByName(org.jboss.jandex.ClassInfo classInfo, String methodName)
-