|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.webbeans.plugins.PluginLoader
public class PluginLoader
OpenWebBeans plugins are used to extend 'core' functionality of the injection mechanism with functionality of other frameworks.
Core functionality are all parts which are available in a standard JDK-1.5 SE runtime. Extended functionality are things like JPA, JSF, EJB etc.
The plugin mechanism is based on the ServiceProvider functionality
http://java.sun.com/javase/6/docs/technotes/guides/jar/jar.html#Service%20Provider.
A jar containing an OWB plugin has to expose itself in the file
META-INF/services/org.apache.webbeans.plugins.OpenWebBeansPlugin
| Constructor Summary | |
|---|---|
PluginLoader()
|
|
| Method Summary | |
|---|---|
OpenWebBeansEjbLCAPlugin |
getEjbLCAPlugin()
Gets ejb lifecycle annotations plugin |
OpenWebBeansEjbPlugin |
getEjbPlugin()
Gets ejb plugin |
static PluginLoader |
getInstance()
Deprecated. |
OpenWebBeansJavaEEPlugin |
getJavaEEPlugin()
|
OpenWebBeansJmsPlugin |
getJmsPlugin()
Gets the JMS plugin |
List<OpenWebBeansPlugin> |
getPlugins()
|
OpenWebBeansWebPlugin |
getWebPlugin()
|
boolean |
isShowDown()
|
void |
shutDown()
Tell all the plugins to free up all locked resources. |
void |
startUp()
load and startup all registered plugins. |
static void |
throwsException(Exception e)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginLoader()
| Method Detail |
|---|
@Deprecated public static PluginLoader getInstance()
public void startUp()
throws WebBeansConfigurationException
WebBeansConfigurationException
public static void throwsException(Exception e)
throws WebBeansConfigurationException
WebBeansConfigurationException
public void shutDown()
throws WebBeansConfigurationException
WebBeansConfigurationExceptionpublic List<OpenWebBeansPlugin> getPlugins()
public OpenWebBeansEjbPlugin getEjbPlugin()
public OpenWebBeansEjbLCAPlugin getEjbLCAPlugin()
public OpenWebBeansJmsPlugin getJmsPlugin()
public OpenWebBeansJavaEEPlugin getJavaEEPlugin()
public OpenWebBeansWebPlugin getWebPlugin()
public boolean isShowDown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||