eXo Kernel :: Container Multi-Threaded 2.5.0-CR2

org.exoplatform.container
Class DependencyByType

java.lang.Object
  extended by org.exoplatform.container.Dependency
      extended by org.exoplatform.container.DependencyByType

public class DependencyByType
extends Dependency

This defines a dependency by type

Version:
$Id$
Author:
Nicolas Filotto

Field Summary
 
Fields inherited from class org.exoplatform.container.Dependency
bindType, key
 
Constructor Summary
DependencyByType(Class<?> key)
           
 
Method Summary
protected  ComponentAdapter<?> getAdapter(ExoContainer holder)
          Gives the ComponentAdapter corresponding to this dependency
protected  Object load(ExoContainer holder)
          Loads a given dependency from the provided ExoContainer
 String toString()
           
 
Methods inherited from class org.exoplatform.container.Dependency
equals, getBindType, getKey, hashCode, isLazy
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DependencyByType

public DependencyByType(Class<?> key)
Method Detail

load

protected Object load(ExoContainer holder)
Loads a given dependency from the provided ExoContainer

Specified by:
load in class Dependency

getAdapter

protected ComponentAdapter<?> getAdapter(ExoContainer holder)
Gives the ComponentAdapter corresponding to this dependency

Specified by:
getAdapter in class Dependency

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

eXo Kernel :: Container Multi-Threaded 2.5.0-CR2

Copyright © 2014 eXo Platform SAS. All Rights Reserved.