EmbedRubyInterfaceAdapter and implements the
method that gets a instance of requested interface, which is implemented in Ruby.
| Modifier and Type | Field and Description |
|---|---|
| private final ScriptingContainer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <T> T | Returns: an instance of requested interface type.a receiver of the previously evaluated script. receiver, Class<T> an interface type of the returning instance. clazz)Implements org. Returns a instance of a requested interface type from a previously evaluated script. |
| container | back to summary |
|---|---|
| private final ScriptingContainer container | |
| EmbedRubyInterfaceAdapterImpl | back to summary |
|---|---|
| public EmbedRubyInterfaceAdapterImpl(ScriptingContainer container) | |
| getInstance | back to summary |
|---|---|
| public <T> T getInstance(Object receiver, Class<T> clazz) Implements org. Returns a instance of a requested interface type from a previously evaluated script. | |