public abstract class Dependency extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Class<?> |
bindType
The bind type
|
protected Object |
key
The key of the corresponding component
|
| Constructor and Description |
|---|
Dependency(Object key,
Class<?> bindType) |
Dependency(Object key,
Class<?> bindType,
boolean lazy) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
protected abstract ComponentAdapter<?> |
getAdapter(ExoContainer holder)
Gives the
ComponentAdapter corresponding to this dependency |
Class<?> |
getBindType() |
Object |
getKey() |
int |
hashCode() |
boolean |
isLazy() |
protected abstract Object |
load(ExoContainer holder)
Loads a given dependency from the provided
ExoContainer |
protected final Object key
protected final Class<?> bindType
public Object getKey()
public Class<?> getBindType()
public boolean isLazy()
protected abstract Object load(ExoContainer holder)
ExoContainerprotected abstract ComponentAdapter<?> getAdapter(ExoContainer holder)
ComponentAdapter corresponding to this dependencypublic int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)Copyright © 2020 eXo Platform SAS. All Rights Reserved.