Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbehave.core.configuration.scala
Class ScalaContext

    java.lang.Object
      org.jbehave.core.configuration.scala.ScalaContext

    public class ScalaContext

extends Object

Nested Class Summary
`static class` | `ScalaContext.ScalaInstanceNotFound`

Constructor Summary
`ScalaContext(ClassLoader classLoader, String... classNames)`
`ScalaContext(String... classNames)`

Method Summary
`
`<T> T`
` | `getInstanceOfType(Class<T> type)`
`List<Object>` | `getInstances()`
`Object` | `newInstance(String className)` Creates an object instance from the Scala class name

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ScalaContext

    public ScalaContext(String... classNames)

### ScalaContext

    public ScalaContext(ClassLoader classLoader,
                        String... classNames)

Method Detail

### getInstances

    public List<Object> getInstances()

### getInstanceOfType

    public <T> T getInstanceOfType(Class<T> type)

### newInstance

    public Object newInstance(String className)

  Creates an object instance from the Scala class name

  Parameters:
    `className` - the Scala class name
  Returns:
    An Object instance

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2013. All Rights Reserved.