java.lang.Object |
↳ |
com.atlassian.plugin.osgi.bridge.external.SpringHostContainer |
Class Overview
Host container implementation that uses the bundle's application context
Summary
Public Methods |
<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.
|
void
|
setApplicationContext(ApplicationContext applicationContext)
|
[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.
|
|
From interface
org.springframework.context.ApplicationContextAware
abstract
void
|
setApplicationContext(ApplicationContext arg0)
|
|
Public Constructors
public
SpringHostContainer
()
Public Methods
public
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. Actual method of autowiring may vary between implementations, though all should
support constructor injection.
Returns
- An instance of the passed class
public
void
setApplicationContext
(ApplicationContext applicationContext)