public class AutoConfig extends java.lang.Object implements DynamicDeployer, JndiConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUTOCREATE_JTA_DATASOURCE_FROM_NON_JTA_ONE_KEY |
static Logger |
logger |
static java.lang.String |
ORIGIN_ANNOTATION |
static java.lang.String |
ORIGIN_FLAG |
static java.lang.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 java.lang.String |
findResourceId(java.util.Collection<java.lang.String> resourceIds,
java.lang.String inId) |
void |
init() |
public static final java.lang.String ORIGIN_ANNOTATION
public static final java.lang.String ORIGIN_FLAG
public static final java.lang.String ORIGINAL_ID
public static Logger logger
public static final java.lang.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
OpenEJBException
public AppModule deploy(AppModule appModule) throws OpenEJBException
deploy
in interface DynamicDeployer
OpenEJBException
public static java.lang.String findResourceId(java.util.Collection<java.lang.String> resourceIds, java.lang.String inId)