public interface DeploymentDescriptor
Modifier and Type | Field and Description |
---|---|
static String |
META_INF_LOCATION |
static String |
TYPE_ALL |
static String |
TYPE_EXECUTE |
static String |
TYPE_VIEW |
Modifier and Type | Method and Description |
---|---|
AuditMode |
getAuditMode()
Returns the audit type configuration
|
String |
getAuditPersistenceUnit()
Returns name of the JPA persistence unit to be used by audit component
non empty should correspond to defined persistence unit in persistence.xml
null to use default persistence unit
|
DeploymentDescriptorBuilder |
getBuilder()
Returns implementation specific builder to construct instances of the descriptor;
|
List<String> |
getClasses()
Returns additional classes that shall be added to remote services context.
|
List<NamedObjectModel> |
getConfiguration()
List of kiesession configuration entries to be registered
|
List<NamedObjectModel> |
getEnvironmentEntries()
List of (kie) environment entries to be registered
|
List<ObjectModel> |
getEventListeners()
Returns list of event listeners (process, agenda, rule runtime) to be applied on
KieSession |
List<NamedObjectModel> |
getGlobals()
Return list of globals to be applied on
KieSession |
List<ObjectModel> |
getMarshallingStrategies()
Returns list of object marshaling strategies to be applied on
KieSession |
PersistenceMode |
getPersistenceMode()
Returns the runtime engine persistence type configuration
|
String |
getPersistenceUnit()
Returns name of the JPA persistence unit to be used for runtime engine
non empty should correspond to defined persistence unit in persistence.xml
null to use default persistence unit
|
List<String> |
getRequiredRoles()
Returns all required roles required to be granted access to the deployment.
|
List<String> |
getRequiredRoles(String type)
Returns required for given type of applicability.
|
RuntimeStrategy |
getRuntimeStrategy()
Returns runtime strategy to be used, default Singleton.
|
List<ObjectModel> |
getTaskEventListeners()
Returns list of task event listeners to be applied on
KieSession |
List<NamedObjectModel> |
getWorkItemHandlers()
Return list of work item handlers to be applied on
KieSession |
String |
toXml()
Returns XML representation of this descriptor instance
|
static final String META_INF_LOCATION
static final String TYPE_ALL
static final String TYPE_VIEW
static final String TYPE_EXECUTE
String getPersistenceUnit()
String getAuditPersistenceUnit()
AuditMode getAuditMode()
PersistenceMode getPersistenceMode()
RuntimeStrategy getRuntimeStrategy()
List<ObjectModel> getMarshallingStrategies()
KieSession
List<ObjectModel> getEventListeners()
KieSession
List<NamedObjectModel> getGlobals()
KieSession
List<NamedObjectModel> getWorkItemHandlers()
KieSession
List<ObjectModel> getTaskEventListeners()
KieSession
List<NamedObjectModel> getEnvironmentEntries()
List<NamedObjectModel> getConfiguration()
DeploymentDescriptorBuilder getBuilder()
List<String> getRequiredRoles()
List<String> getRequiredRoles(String type)
type
- indicates the type which required roles shoud applyList<String> getClasses()
String toXml()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.