- Companion
- object
Type members
Types
Value members
Concrete methods
def createInstance[T <: AnyRef](className: String, loader: ClassLoader, defaultInstances: => List[AnyRef])(using m: ClassTag[T]): Operation[T]
def createInstanceEither[T <: AnyRef](className: String, loader: ClassLoader, defaultInstances: => List[AnyRef])(using m: ClassTag[T]): Operation[Either[Throwable, T]]
try to create an instance but return an exception if this is not possible
try to create an instance but return an exception if this is not possible
def createInstanceFromClass[T <: AnyRef](klass: Class[T], defaultInstances: => List[AnyRef])(using m: ClassTag[T]): Operation[T]
def createInstanceFromClass[T <: AnyRef](klass: Class[T], loader: ClassLoader, defaultInstances: => List[AnyRef])(using m: ClassTag[T]): Operation[T]
def createInstanceFromName[T <: AnyRef](className: String, defaultInstances: => List[AnyRef])(using m: ClassTag[T]): Operation[T]
def loadClassEither[T <: AnyRef](className: String, loader: ClassLoader): Operation[Either[Throwable, Class[T]]]