public class TomcatWebPlugin extends AbstractOwbPlugin implements OpenWebBeansWebPlugin
| Constructor and Description |
|---|
TomcatWebPlugin()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
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 |
boolean |
supportService(Class<?> serviceClass)
Returns true if plugin provides given service implementation
false otherwise.
|
boolean |
supportsJavaEeComponentInjections(Class<?> clazz)
Returns true if given class supports injections,
false otherwise.
|
shutDown, startUpclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshutDown, startUppublic <T> T getSupportedService(Class<T> serviceClass)
getSupportedService in interface OpenWebBeansPlugingetSupportedService in class AbstractOwbPluginT - typeserviceClass - service classpublic void isManagedBean(Class<?> clazz)
WebBeansConfigurationExceptionisManagedBean in interface OpenWebBeansPluginisManagedBean in class AbstractOwbPluginclazz - the class to checkpublic boolean supportsJavaEeComponentInjections(Class<?> clazz)
supportsJavaEeComponentInjections in interface OpenWebBeansPluginsupportsJavaEeComponentInjections in class AbstractOwbPluginclazz - any target classpublic boolean supportService(Class<?> serviceClass)
supportService in interface OpenWebBeansPluginsupportService in class AbstractOwbPluginserviceClass - any service classCopyright © 2008–2022 The Apache Software Foundation. All rights reserved.