de.deepamehta.core.service
Class Directives

Show UML class diagram
java.lang.Object
  extended by de.deepamehta.core.service.Directives
All Implemented Interfaces:
JSONEnabled, Iterable<Directives.Entry>

public class Directives
extends Object
implements Iterable<Directives.Entry>, JSONEnabled


Nested Class Summary
 class Directives.Entry
           
 
Field Summary
private  List<Directives.Entry> directives
           
private static Logger logger
           
private static ThreadLocal<Directives> threadLocalDirectives
           
 
Constructor Summary
Directives()
           
 
Method Summary
 void add(Directive dir, JSONEnabled arg)
           
static Directives get()
           
 Iterator<Directives.Entry> iterator()
           
static void remove()
           
 JSONObject toJSON()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

directives

private List<Directives.Entry> directives

logger

private static Logger logger

threadLocalDirectives

private static final ThreadLocal<Directives> threadLocalDirectives
Constructor Detail

Directives

public Directives()
Method Detail

add

public void add(Directive dir,
                JSONEnabled arg)

get

public static Directives get()

remove

public static void remove()

toJSON

public JSONObject toJSON()
Specified by:
toJSON in interface JSONEnabled

iterator

public Iterator<Directives.Entry> iterator()
Specified by:
iterator in interface Iterable<Directives.Entry>


Copyright © 2015. All Rights Reserved.