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, startUp
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shutDown, startUp
public <T> T getSupportedService(Class<T> serviceClass)
getSupportedService
in interface OpenWebBeansPlugin
getSupportedService
in class AbstractOwbPlugin
T
- typeserviceClass
- service classpublic void isManagedBean(Class<?> clazz)
WebBeansConfigurationException
isManagedBean
in interface OpenWebBeansPlugin
isManagedBean
in class AbstractOwbPlugin
clazz
- the class to checkpublic boolean supportsJavaEeComponentInjections(Class<?> clazz)
supportsJavaEeComponentInjections
in interface OpenWebBeansPlugin
supportsJavaEeComponentInjections
in class AbstractOwbPlugin
clazz
- any target classpublic boolean supportService(Class<?> serviceClass)
supportService
in interface OpenWebBeansPlugin
supportService
in class AbstractOwbPlugin
serviceClass
- any service classCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.