# getDefinition abstract method

PodDefinition getDefinition(

1. String name

)

Return the registered PodDefinition for the specified pod, allowing access to its property values and constructor argument value (which can be modified during pod factory post-processing).

A returned PodDefinition object should not be a copy but the original definition object as registered in the factory. This means that it should be castable to a more specific implementation type, if necessary.

NOTE: This method does not consider ancestor factories. It is only meant for accessing local pod definitions of the factory.

`podName` the name of the pod Returns the registered PodDefinition

Throws `PodNotFoundException` if there is no pod with the given name defined in this factory

## Implementation

    PodDefinition getDefinition(String name);