public class AutoConfig extends Object implements DynamicDeployer, JndiConstants
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTOCREATE_JTA_DATASOURCE_FROM_NON_JTA_ONE_KEY |
static Logger |
logger |
static String |
ORIGIN_ANNOTATION |
static String |
ORIGIN_FLAG |
static String |
ORIGINAL_ID |
JAVA_OPENEJB_NAMING_CONTEXT, OPENEJB_RESOURCE_JNDI_PREFIX, PERSISTENCE_UNIT_NAMING_CONTEXT, VALIDATOR_FACTORY_NAMING_CONTEXT, VALIDATOR_NAMING_CONTEXT| Constructor and Description |
|---|
AutoConfig(ConfigurationFactory configFactory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
autoCreateContainers() |
void |
autoCreateContainers(boolean autoCreateContainers) |
boolean |
autoCreateResources() |
void |
autoCreateResources(boolean autoCreateResources) |
AppModule |
deploy(AppModule appModule) |
static String |
findResourceId(Collection<String> resourceIds,
String inId) |
void |
init() |
public static final String ORIGIN_ANNOTATION
public static final String ORIGIN_FLAG
public static final String ORIGINAL_ID
public static Logger logger
public static final String AUTOCREATE_JTA_DATASOURCE_FROM_NON_JTA_ONE_KEY
public AutoConfig(ConfigurationFactory configFactory)
public boolean autoCreateResources()
public void autoCreateResources(boolean autoCreateResources)
public boolean autoCreateContainers()
public void autoCreateContainers(boolean autoCreateContainers)
public void init()
throws OpenEJBException
OpenEJBExceptionpublic AppModule deploy(AppModule appModule) throws OpenEJBException
deploy in interface DynamicDeployerOpenEJBExceptionpublic static String findResourceId(Collection<String> resourceIds, String inId)
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.