Class SpringArtifactFactory

  • All Implemented Interfaces:
    ArtifactFactory

    public class SpringArtifactFactory
    extends java.lang.Object
    implements ArtifactFactory
    Author:
    Svetlana Dorokhova
    • Constructor Summary

      Constructors 
      Constructor Description
      SpringArtifactFactory​(org.springframework.context.ApplicationContext applicationContext)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T getArtifact​(java.lang.Class<T> clazz)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpringArtifactFactory

        public SpringArtifactFactory​(org.springframework.context.ApplicationContext applicationContext)
    • Method Detail

      • getArtifact

        public <T> T getArtifact​(java.lang.Class<T> clazz)
        Specified by:
        getArtifact in interface ArtifactFactory
        Parameters:
        clazz - of the artifact to create
        Returns:
        the instance of the fullyQualifiedClassName