Codota Logo
DefaultEventBus.<init>
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
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

  • Making http requests using okhttp
  • getSharedPreferences (Context)
  • getContentResolver (Context)
  • runOnUiThread (Activity)
  • IOException (java.io)
    Signals that an I/O exception of some sort has occurred. This class is the general class of exceptio
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JOptionPane (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