congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
CacheDeploymentListener
Code IndexAdd Tabnine to your IDE (free)

How to use
CacheDeploymentListener
in
org.jboss.as.jpa.processor.secondLevelCache

Best Java code snippets using org.jboss.as.jpa.processor.secondLevelCache.CacheDeploymentListener (Showing top 10 results out of 315)

origin: org.wildfly/wildfly-jpa

public void register() {
  listener = new CacheDeploymentListener();
  EventListenerRegistration.add(listener);
}
origin: org.jboss.eap/wildfly-jpa

@Override
public void addCacheDependencies(Classification classification, Properties properties) {
  ServiceBuilder<?> builder = CacheDeploymentListener.getInternalDeploymentServiceBuilder();
  CapabilityServiceSupport support = CacheDeploymentListener.getInternalDeploymentCapablityServiceSupport();
  String container = properties.getProperty(CONTAINER);
  for (String cache : properties.getProperty(CACHES).split("\\s+")) {
    builder.addDependency(InfinispanCacheRequirement.CONFIGURATION.getServiceName(support, container, cache));
  }
}
origin: org.wildfly/wildfly-jpa

CacheDeploymentListener.setInternalDeploymentSupport(builder, capabilitySupport);
adaptor.addProviderDependencies(pu);
CacheDeploymentListener.clearInternalDeploymentSupport();
origin: org.jboss.eap/wildfly-jpa

CacheDeploymentListener.setInternalDeploymentSupport(builder, capabilitySupport);
adaptor.addProviderDependencies(pu);
CacheDeploymentListener.clearInternalDeploymentSupport();
origin: org.wildfly/wildfly-jpa

CacheDeploymentListener.setInternalDeploymentSupport(builder, capabilitySupport);
adaptor.addProviderDependencies(pu);
CacheDeploymentListener.clearInternalDeploymentSupport();
origin: org.wildfly/wildfly-jpa

@Override
public void addCacheDependencies(Classification classification, Properties properties) {
  ServiceBuilder<?> builder = CacheDeploymentListener.getInternalDeploymentServiceBuilder();
  CapabilityServiceSupport support = CacheDeploymentListener.getInternalDeploymentCapablityServiceSupport();
  String container = properties.getProperty(CONTAINER);
  for (String cache : properties.getProperty(CACHES).split("\\s+")) {
    builder.requires(InfinispanCacheRequirement.CONFIGURATION.getServiceName(support, container, cache));
  }
}
origin: org.jboss.eap/wildfly-jpa

public void register() {
  listener = new CacheDeploymentListener();
  EventListenerRegistration.add(listener);
}
origin: org.jboss.eap/wildfly-jpa

CacheDeploymentListener.setInternalDeploymentSupport(builder, capabilitySupport);
adaptor.addProviderDependencies(pu);
CacheDeploymentListener.clearInternalDeploymentSupport();
origin: org.wildfly/wildfly-jpa

CacheDeploymentListener.setInternalDeploymentSupport(builder, capabilitySupport);
adaptor.addProviderDependencies(pu);
CacheDeploymentListener.clearInternalDeploymentSupport();
origin: org.jboss.eap/wildfly-jpa

CacheDeploymentListener.setInternalDeploymentSupport(builder, capabilitySupport);
adaptor.addProviderDependencies(pu);
CacheDeploymentListener.clearInternalDeploymentSupport();
org.jboss.as.jpa.processor.secondLevelCacheCacheDeploymentListener

Javadoc

CacheDeploymentListener

Most used methods

  • <init>
  • clearInternalDeploymentSupport
  • getInternalDeploymentCapablityServiceSupport
  • getInternalDeploymentServiceBuilder
  • setInternalDeploymentSupport

Popular in Java

  • Finding current android device location
  • setContentView (Activity)
  • requestLocationUpdates (LocationManager)
  • compareTo (BigDecimal)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now