Object/Trait

eu.cdevreeze.yaidom.core

ENameProvider

Related Docs: trait ENameProvider | package core

Permalink

object ENameProvider

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ENameProvider
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. final class ENameProviderUsingImmutableCache extends ENameProvider

    Permalink

    Simple EName provider using an immutable cache.

    Simple EName provider using an immutable cache. It can be long-lived.

  2. final class SimpleCachingENameProvider extends ENameProvider

    Permalink

    Simple caching EName provider.

    Simple caching EName provider. The underlying cache is based on a normal Map implementation, so the cache can only grow. Therefore this EName provider is not meant to be a "global" cache with application scope, but it should be rather short-lived.

  3. final class ThreadLocalENameProvider extends ENameProvider

    Permalink

    Thread-local ENameProvider.

    Thread-local ENameProvider. This class exists because there is precisely one globally used ENameProvider, and by using this thread-local ENameProvider it is possible to make the global ENameProvider configurable per thread again. Also note that the ENameProviders bound to a thread are local to that thread, so they do not suffer from any thread-safety issues (unless a non-thread-safe EName provider instance is shared).

    Note that each ThreadLocalENameProvider instance (!) has its own thread-local EName provider. Typically it makes no sense to have more than one ThreadLocalENameProvider instance in one application. In a Spring application, for example, a single instance of a ThreadLocalENameProvider can be configured.

  4. final class TrivialENameProvider extends ENameProvider

    Permalink

    Trivial, non-caching, EName provider.

  5. final class UpdatableENameProvider extends ENameProvider

    Permalink

    "Updatable" EName provider.

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val defaultInstance: ENameProvider

    Permalink
  7. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. implicit val globalENameProvider: UpdatableENameProvider

    Permalink

    The implicit global ENameProvider is by default a "trivial" ENameProvider, but can be updated.

    The implicit global ENameProvider is by default a "trivial" ENameProvider, but can be updated. Being a val holding an UpdatableENameProvider, instead of a var holding any ENameProvider, the identifier ENameProvider.globalENameProvider is stable, and therefore its members can be imported.

    Be careful: this global instance should be updated only during the "startup phase" of the application. Also be careful to choose an instance that is thread-safe and designed for a "long life" (unlike caching providers that can only grow a lot).

  12. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped