# resetDefinition method

1. @protected

void resetDefinition(

1. String podName

)

Resets the cached state for a specific pod definition.

This method clears both the merged definition cache and any singleton instances associated with the pod, forcing fresh resolution on next access.

Use this method when pod definitions change at runtime or when troubleshooting dependency resolution issues.

`podName` the name of the pod to reset

Example:

    factory.resetDefinition('userService');

## Implementation

    @protected
    void resetDefinition(String podName) {
      clearMergedPodDefinition(podName);
      destroySingleton(podName);
    }