|
||||||||||
| 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)
WebBeansConfigurationException
isManagedBean in interface OpenWebBeansPluginclazz - the class to checkpublic boolean supportsJavaEeComponentInjections(Class<?> targetClass)
supportsJavaEeComponentInjections in interface OpenWebBeansPlugintargetClass - any target class
public void shutDown()
shutDown in interface OpenWebBeansPluginpublic void startUp()
startUp in interface OpenWebBeansPluginpublic 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 | |||||||||