|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.webbeans.spi.plugins.AbstractOwbPlugin
public abstract class AbstractOwbPlugin
Abstract imlpementation of the OpenWebBeansPlugin interface
contract.
This abstraction provides the empty implementation for the interface. If any subclass of this class wants to define customize method, it has to override related method definition.
| Constructor Summary | |
|---|---|
protected |
AbstractOwbPlugin()
|
| Method Summary | ||
|---|---|---|
|
getSupportedService(Class<T> serviceClass)
Gets service instance. |
|
void |
isManagedBean(Class<?> clazz)
Make sure that the given class is ok for simple web bean conditions, otherwise throw a WebBeansConfigurationException |
|
void |
shutDown()
At shutdown, the plugin must release all locked resources. |
|
void |
startUp()
initialise the plugin. |
|
boolean |
supportService(Class<?> serviceClass)
Returns true if plugin provides given service implementation false otherwise. |
|
boolean |
supportsJavaEeComponentInjections(Class<?> targetClass)
Returns true if given class supports injections, false otherwise. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractOwbPlugin()
| Method Detail |
|---|
public void isManagedBean(Class<?> clazz)
throws Exception
OpenWebBeansPluginWebBeansConfigurationException
isManagedBean in interface OpenWebBeansPluginclazz - the class to check
Exceptionpublic boolean supportsJavaEeComponentInjections(Class<?> targetClass)
OpenWebBeansPlugin
supportsJavaEeComponentInjections in interface OpenWebBeansPlugintargetClass - any target class
public void shutDown()
throws Exception
OpenWebBeansPlugin
shutDown in interface OpenWebBeansPluginException
public void startUp()
throws Exception
OpenWebBeansPlugin
startUp in interface OpenWebBeansPluginExceptionpublic boolean supportService(Class<?> serviceClass)
supportService in interface OpenWebBeansPluginserviceClass - any service class
public <T> T getSupportedService(Class<T> serviceClass)
getSupportedService in interface OpenWebBeansPluginT - typeserviceClass - service class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||