Tabnine Logo
DefaultEventBus.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.shiro.event.support.DefaultEventBus
constructor

Best Java code snippets using org.apache.shiro.event.support.DefaultEventBus.<init> (Showing top 8 results out of 315)

origin: apache/shiro

protected EventBus eventBus() {
  return new DefaultEventBus();
}
origin: apache/shiro

private Map<String,Object> createDefaultObjectMap() {
  Map<String,Object> map = new LinkedHashMap<String, Object>();
  map.put(EVENT_BUS_NAME, new DefaultEventBus());
  return map;
}
origin: apache/shiro

/**
 * Default no-arg constructor that will automatically attempt to initialize a default cacheManager
 */
public CachingSecurityManager() {
  //use a default event bus:
  setEventBus(new DefaultEventBus());
}
origin: apache/shiro

/**
 * Destroys the {@link #getCacheManager() cacheManager} via {@link LifecycleUtils#destroy LifecycleUtils.destroy}.
 */
public void destroy() {
  LifecycleUtils.destroy(getCacheManager());
  this.cacheManager = null;
  LifecycleUtils.destroy(getEventBus());
  this.eventBus = new DefaultEventBus();
}
origin: org.apache.shiro/shiro-core

/**
 * Default no-arg constructor that will automatically attempt to initialize a default cacheManager
 */
public CachingSecurityManager() {
  //use a default event bus:
  setEventBus(new DefaultEventBus());
}
origin: org.apache.shiro/shiro-core

/**
 * Destroys the {@link #getCacheManager() cacheManager} via {@link LifecycleUtils#destroy LifecycleUtils.destroy}.
 */
public void destroy() {
  LifecycleUtils.destroy(getCacheManager());
  this.cacheManager = null;
  LifecycleUtils.destroy(getEventBus());
  this.eventBus = new DefaultEventBus();
}
origin: org.apache.shiro/shiro-spring

protected EventBus eventBus() {
  return new DefaultEventBus();
}
origin: org.apache.shiro/shiro-config-ogdl

private Map<String,Object> createDefaultObjectMap() {
  Map<String,Object> map = new LinkedHashMap<String, Object>();
  map.put(EVENT_BUS_NAME, new DefaultEventBus());
  return map;
}
org.apache.shiro.event.supportDefaultEventBus<init>

Popular methods of DefaultEventBus

  • getEventListenerResolver
  • unregister

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setRequestProperty (URLConnection)
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • JCheckBox (javax.swing)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top plugins for Android Studio
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