org.ow2.jonas.cdi.weld
Interface IWeldService
- All Known Implementing Classes:
- DefaultWeldService
public interface IWeldService
A IWeldService
is some kind of utility service that takes care of Weld related
operations.
- Author:
- Guillaume Sauthier
Method Summary |
boolean |
isCdiEnabled(org.ow2.util.archive.api.IArchive archive)
Detect if the given IArchive contains a beans.xml . |
isCdiEnabled
boolean isCdiEnabled(org.ow2.util.archive.api.IArchive archive)
- Detect if the given
IArchive
contains a beans.xml
.
Checked location includes:
WEB-INF/beans.xml
META-INF/beans.xml
- Parameters:
archive
- explored archive
- Returns:
true
if the given archive is CDI enabled, false
otherwise.
Copyright © 2012 OW2 Consortium. All Rights Reserved.