All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scroll.internal.graph.impl.ScalaRoleGraphProxy.scala Maven / Gradle / Ivy

The newest version!
package scroll.internal.graph.impl

import scroll.internal.graph.RoleGraph
import scroll.internal.graph.RoleGraphProxyApi

class ScalaRoleGraphProxy extends RoleGraphProxyApi {
  private[internal] var plays: RoleGraph = new CachedScalaRoleGraph()

  override def reconfigure(cached: Boolean, checkForCycles: Boolean): Unit =
    if (cached) {
      plays = CachedScalaRoleGraph.copyFrom(plays.asInstanceOf[ScalaRoleGraph], checkForCycles)
    } else {
      plays = ScalaRoleGraph.copyFrom(plays.asInstanceOf[ScalaRoleGraph], checkForCycles)
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy