@ SuppressWarnings ( "unchecked" ) protected < T > T configure ( final T object ) { if ( object instanceof Configurable && isConfigurationAvailable ( ) ) { ( ( Configurable ) object ) . configure ( getConfiguration ( ) ) ; } return object ; }
Configures the object with an available Configuration if the object implements Configurable .