public class InstanceComponentAdapter<T> extends AbstractComponentAdapter<T>
| Constructor and Description |
|---|
InstanceComponentAdapter(Object componentKey,
T componentInstance) |
| Modifier and Type | Method and Description |
|---|---|
T |
getComponentInstance()
Retrieve the component instance.
|
boolean |
isSingleton()
Indicates whether or not this adapter is a singleton
|
checkTypeCompatibility, getComponentImplementation, getComponentKey, toStringpublic InstanceComponentAdapter(Object componentKey, T componentInstance) throws ContainerException
ContainerExceptionpublic T getComponentInstance()
public boolean isSingleton()
Copyright © 2020 eXo Platform SAS. All Rights Reserved.