|
eXo Kernel :: Container Multi-Threaded 2.5.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.container.Dependency
public abstract class Dependency
This abstract class defines the main parts of a dependency
| Field Summary | |
|---|---|
protected Class<?> |
bindType
The bind type |
protected Object |
key
The key of the corresponding component |
| Constructor Summary | |
|---|---|
Dependency(Object key,
Class<?> bindType)
|
|
Dependency(Object key,
Class<?> bindType,
boolean lazy)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Object key
protected final Class<?> bindType
| Constructor Detail |
|---|
public Dependency(Object key,
Class<?> bindType)
public Dependency(Object key,
Class<?> bindType,
boolean lazy)
| Method Detail |
|---|
public Object getKey()
public Class<?> getBindType()
public boolean isLazy()
protected abstract Object load(ExoContainer holder)
ExoContainer
protected abstract ComponentAdapter<?> getAdapter(ExoContainer holder)
ComponentAdapter corresponding to this dependency
public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)
|
eXo Kernel :: Container Multi-Threaded 2.5.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||