|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.lib.management.javaee.ManagedObject
org.ow2.jonas.lib.service.AbsServiceImpl
org.ow2.jonas.cdi.weld.internal.DefaultWeldService
public class DefaultWeldService
Weld CDI service implementation.
| Field Summary | |
|---|---|
static String |
METAINF_BEANS_XML
|
static String |
WEBINF_BEANS_XML
|
| Constructor Summary | |
|---|---|
DefaultWeldService()
|
|
| Method Summary | |
|---|---|
protected void |
doStart()
Abstract start-up method to be implemented by sub-classes. |
protected void |
doStop()
Abstract method for service stopping to be implemented by sub-classes. |
boolean |
isCdiEnabled(org.ow2.util.archive.api.IArchive archive)
Detect if the given IArchive contains a beans.xml. |
| Methods inherited from class org.ow2.jonas.lib.service.AbsServiceImpl |
|---|
convertToList, doInit, getDomainName, getJonasServerName, getName, getSequenceNumber, getServerProperties, init, isStarted, setName, setServerProperties, start, stop, throwRequirementException, toString |
| Methods inherited from class org.ow2.jonas.lib.management.javaee.ManagedObject |
|---|
getModelMBean, sendNotification, sendReconfigNotification, sendSaveNotification, setModelMBean |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String METAINF_BEANS_XML
public static final String WEBINF_BEANS_XML
| Constructor Detail |
|---|
public DefaultWeldService()
| Method Detail |
|---|
protected void doStart()
throws org.ow2.jonas.service.ServiceException
doStart in class org.ow2.jonas.lib.service.AbsServiceImplorg.ow2.jonas.service.ServiceException - service start-up failed
protected void doStop()
throws org.ow2.jonas.service.ServiceException
doStop in class org.ow2.jonas.lib.service.AbsServiceImplorg.ow2.jonas.service.ServiceException - service stopping failedpublic boolean isCdiEnabled(org.ow2.util.archive.api.IArchive archive)
IArchive contains a beans.xml.
Checked location includes:
WEB-INF/beans.xmlMETA-INF/beans.xml
isCdiEnabled in interface IWeldServicearchive - explored archive
true if the given archive is CDI enabled, false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||