com.eharmony.aloha.factory

ModelFactory

object ModelFactory extends RuntimeClasspathScanning

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ModelFactory
  2. RuntimeClasspathScanning
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def defaultFactory[U, N, A, B <: U](semantics: Semantics[A], auditor: MorphableAuditor[U, N, B])(implicit refInfo: RefInfo[N]): ModelFactoryImpl[U, N, A, B]

    Provides a default factory capable of producing models defined in aloha-core.

    Provides a default factory capable of producing models defined in aloha-core. The list of models come from the knownModelParsers method.

    This is useful to simplify the process of creating a factory capable of parsing the basic models provided by aloha.

  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. def knownModelParsers(): Seq[ModelParser]

    Get the list of models on the classpath with parsers that can be used by a model factory.

    Get the list of models on the classpath with parsers that can be used by a model factory.

    returns

  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. def scanObjects[OBJ, A](methodName: String, packageToSearch: String = aloha.pkgName)(implicit arg0: ClassTag[OBJ], arg1: ClassTag[A]): Seq[A]

    Scan the classpath within subpackages of packageToSearch to find Scala objects that contain extend OBJ and contain method called methodName that should return an A.

    Scan the classpath within subpackages of packageToSearch to find Scala objects that contain extend OBJ and contain method called methodName that should return an A. Call the method and get the result. If the result is indeed an A, add to it to the resulting sequence.

    This function makes some assumptions. It assumes that Scala objects have classes ending with '$'. It also assumes that methods in objects have static forwarders.

    OBJ

    the super type of the objects the search should find

    A

    the output type of elements that should be returned by the method named methodName

    methodName

    the name of a method in an object that should be found and called.

    packageToSearch

    the package to search for candidates

    returns

    a sequence of A instances that could be found.

    Attributes
    protected[this]
    Definition Classes
    RuntimeClasspathScanning
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from RuntimeClasspathScanning

Inherited from AnyRef

Inherited from Any

Ungrouped