Codota Logo
AutoConfig.resolvePersistenceRefs
Code IndexAdd Codota to your IDE (free)

How to use
resolvePersistenceRefs
method
in
org.apache.openejb.config.AutoConfig

Best Java code snippets using org.apache.openejb.config.AutoConfig.resolvePersistenceRefs (Showing top 3 results out of 315)

  • Common ways to obtain AutoConfig
private void myMethod () {
AutoConfig a =
  • Codota IconConfigurationFactory configFactory;new AutoConfig(configFactory)
  • Smart code suggestions by Codota
}
origin: org.apache.geronimo.ext.openejb/openejb-core

public synchronized AppModule deploy(AppModule appModule) throws OpenEJBException {
  AppResources appResources = new AppResources(appModule);
  for (EjbModule ejbModule : appModule.getEjbModules()) {
    processActivationConfig(ejbModule);
  }
  resolveDestinationLinks(appModule);
  resolvePersistenceRefs(appModule);
  for (EjbModule ejbModule : appModule.getEjbModules()) {
    deploy(ejbModule, appResources);
  }
  for (ClientModule clientModule : appModule.getClientModules()) {
    deploy(clientModule, appResources);
  }
  for (ConnectorModule connectorModule : appModule.getResourceModules()) {
    deploy(connectorModule);
  }
  for (WebModule webModule : appModule.getWebModules()) {
    deploy(webModule, appResources);
  }
  for (PersistenceModule persistenceModule : appModule.getPersistenceModules()) {
    deploy(appModule, persistenceModule);
  }
  return appModule;
}
origin: org.apache.openejb/openejb-core

@Override
public synchronized AppModule deploy(final AppModule appModule) throws OpenEJBException {
  final AppResources appResources = new AppResources(appModule);
  appResources.dump();
  processApplicationResources(appModule);
  for (final EjbModule ejbModule : appModule.getEjbModules()) {
    processActivationConfig(ejbModule);
  }
  resolveDestinationLinks(appModule);
  resolvePersistenceRefs(appModule);
  for (final EjbModule ejbModule : appModule.getEjbModules()) {
    deploy(ejbModule, appResources);
  }
  for (final ClientModule clientModule : appModule.getClientModules()) {
    deploy(clientModule, appResources);
  }
  for (final WebModule webModule : appModule.getWebModules()) {
    deploy(webModule, appResources);
  }
  for (final PersistenceModule persistenceModule : appModule.getPersistenceModules()) {
    deploy(appModule, persistenceModule);
  }
  // Note that there is nothing to process for resource modules.
  // We dont need to loop over "appModule.getConnectorModules()".
  return appModule;
}
origin: org.apache.tomee/openejb-core

@Override
public synchronized AppModule deploy(final AppModule appModule) throws OpenEJBException {
  final List<ContainerInfo> containerInfos = ContainerUtils.getContainerInfos(appModule, configFactory);
  final AppResources appResources = new AppResources(appModule, containerInfos);
  appResources.dump();
  processApplicationResources(appModule);
  for (final EjbModule ejbModule : appModule.getEjbModules()) {
    processActivationConfig(ejbModule);
  }
  resolveDestinationLinks(appModule);
  resolvePersistenceRefs(appModule);
  for (final EjbModule ejbModule : appModule.getEjbModules()) {
    deploy(ejbModule, appResources);
  }
  for (final ClientModule clientModule : appModule.getClientModules()) {
    deploy(clientModule, appResources);
  }
  for (final WebModule webModule : appModule.getWebModules()) {
    deploy(webModule, appResources);
  }
  for (final PersistenceModule persistenceModule : appModule.getPersistenceModules()) {
    deploy(appModule, persistenceModule);
  }
  // Note that there is nothing to process for resource modules.
  // We dont need to loop over "appModule.getConnectorModules()".
  return appModule;
}
org.apache.openejb.configAutoConfigresolvePersistenceRefs

Popular methods of AutoConfig

  • <init>
  • autoCreateContainers
  • autoCreateResources
  • findResourceId
  • autoCreateResource
  • checkUnitDataSourceRefs
  • copy
  • createContainer
  • deploy
  • findResourceProviderId
  • firstMatching
  • getResourceEnvId
  • firstMatching,
  • getResourceEnvId,
  • getResourceId,
  • getResourceIds,
  • getType,
  • getUsableContainer,
  • installResource,
  • isJms,
  • logAutoCreateResource,
  • normalizeResourceId

Popular in Java

  • Running tasks concurrently on multiple threads
  • onCreateOptionsMenu (Activity)
  • getContentResolver (Context)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • KeyStore (java.security)
    This class represents an in-memory collection of keys and certificates. It manages two types of entr
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • JFileChooser (javax.swing)
  • JList (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now