java.lang.Object |
↳ |
com.atlassian.plugin.hostcontainer.SimpleConstructorHostContainer |
Class Overview
Constructs module instances, matching the constructor with the largest number of arguments first. The objects to
pass to the constructor are retrieved from the passed map of classes and objects. The classes are matched on an
exact class match.
Summary
Public Methods |
<T>
T
|
create(Class<T> moduleClass)
Creates a class instance, performing dependency injection using the initialised context map
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
com.atlassian.plugin.hostcontainer.HostContainer
abstract
<T>
T
|
create(Class<T> moduleClass)
Constructs an instance of a class, matching the constructor with the largest number of arguments first, and
autowires as appropriate.
|
|
Public Constructors
Public Methods
public
T
create
(Class<T> moduleClass)
Creates a class instance, performing dependency injection using the initialised context map
Parameters
moduleClass
| The target object class |