public static synchronized void set ( final ObjectFactory objectFactory ) { Assert . state ( objectFactoryReference == null , "The ObjectFactory reference is already set to ({0})" , objectFactoryReference ) ; objectFactoryReference = objectFactory ; }
Sets a reference to the ObjectFactory used by the application in this holder .