| Modifier and Type | Field and Description |
|---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
| Constructor and Description |
|---|
JPAService() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addService(org.jboss.msc.service.ServiceTarget target,
String defaultDataSourceName,
ExtendedPersistenceInheritance defaultExtendedPersistenceInheritance) |
static org.jboss.as.controller.registry.Resource |
createManagementStatisticsResource(org.jipijapa.plugin.spi.ManagementAdaptor managementAdaptor,
String scopedPersistenceUnitName,
org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
Create single instance of management statistics resource per managementAdaptor version.
|
static String |
getDefaultDataSourceName() |
static ExtendedPersistenceInheritance |
getDefaultExtendedPersistenceInheritance() |
Void |
getValue() |
static void |
setDefaultDataSourceName(String dataSourceName) |
static void |
setDefaultExtendedPersistenceInheritance(ExtendedPersistenceInheritance defaultExtendedPersistenceInheritance) |
void |
start(org.jboss.msc.service.StartContext startContext) |
void |
stop(org.jboss.msc.service.StopContext stopContext) |
public static String getDefaultDataSourceName()
public static void setDefaultDataSourceName(String dataSourceName)
public static ExtendedPersistenceInheritance getDefaultExtendedPersistenceInheritance()
public static void setDefaultExtendedPersistenceInheritance(ExtendedPersistenceInheritance defaultExtendedPersistenceInheritance)
public static void addService(org.jboss.msc.service.ServiceTarget target,
String defaultDataSourceName,
ExtendedPersistenceInheritance defaultExtendedPersistenceInheritance)
public static org.jboss.as.controller.registry.Resource createManagementStatisticsResource(org.jipijapa.plugin.spi.ManagementAdaptor managementAdaptor,
String scopedPersistenceUnitName,
org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
managementAdaptor - the management adaptor that will provide statisticsscopedPersistenceUnitName - name of the persistence unitdeploymentUnit - deployment unit for the deployment requesting a resourcepublic void start(org.jboss.msc.service.StartContext startContext)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.Serviceorg.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext stopContext)
stop in interface org.jboss.msc.Servicepublic Void getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<Void>IllegalStateExceptionIllegalArgumentExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.