org.mentawai.ioc
Class Dependency

java.lang.Object
  extended by org.mentawai.ioc.Dependency

public class Dependency
extends Object


Constructor Summary
Dependency(Class<? extends Object> klass, String target)
           
Dependency(Class<? extends Object> klass, String target, String source)
           
 
Method Summary
 boolean equals(Object obj)
           
 Class<? extends Object> getDependencyClass()
           
 Object getMethodOrField(Class<? extends Object> targetClass, boolean tryField)
           
 String getSource()
           
 String getTarget()
           
 boolean hasAlreadyReceived(Object target)
           
 int hashCode()
           
 void setAlreadyReceived(Object target)
           
 Dependency source(String source)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Dependency

public Dependency(Class<? extends Object> klass,
                  String target,
                  String source)

Dependency

public Dependency(Class<? extends Object> klass,
                  String target)
Method Detail

source

public Dependency source(String source)

getTarget

public String getTarget()

getSource

public String getSource()

getDependencyClass

public Class<? extends Object> getDependencyClass()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

getMethodOrField

public Object getMethodOrField(Class<? extends Object> targetClass,
                               boolean tryField)

hasAlreadyReceived

public boolean hasAlreadyReceived(Object target)

setAlreadyReceived

public void setAlreadyReceived(Object target)


Copyright © 2013. All Rights Reserved.