org.neo4j.server.webadmin.rest.representations
Class JmxAttributeRepresentationDispatcher

java.lang.Object
  extended by org.neo4j.server.helpers.PropertyTypeDispatcher<String,org.neo4j.server.rest.repr.Representation>
      extended by org.neo4j.server.webadmin.rest.representations.JmxAttributeRepresentationDispatcher

public class JmxAttributeRepresentationDispatcher
extends org.neo4j.server.helpers.PropertyTypeDispatcher<String,org.neo4j.server.rest.repr.Representation>

Converts common primitive and basic objects and arrays of the same into a representation. Has additional understanding of CompositeData, to allow representations of JMX beans.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.neo4j.server.helpers.PropertyTypeDispatcher
org.neo4j.server.helpers.PropertyTypeDispatcher.PropertyArray<A,T>
 
Constructor Summary
JmxAttributeRepresentationDispatcher()
           
 
Method Summary
protected  org.neo4j.server.rest.repr.Representation dispatchBooleanArrayProperty(org.neo4j.server.helpers.PropertyTypeDispatcher.PropertyArray<boolean[],Boolean> array, String param)
           
protected  org.neo4j.server.rest.repr.Representation dispatchBooleanProperty(boolean property, String param)
           
protected  org.neo4j.server.rest.repr.Representation dispatchByteProperty(byte property, String param)
           
protected  org.neo4j.server.rest.repr.Representation dispatchCharacterProperty(char property, String param)
           
protected  org.neo4j.server.rest.repr.Representation dispatchDoubleArrayProperty(org.neo4j.server.helpers.PropertyTypeDispatcher.PropertyArray<double[],Double> array, String param)
           
protected  org.neo4j.server.rest.repr.Representation dispatchDoubleProperty(double property, String param)
           
protected  org.neo4j.server.rest.repr.Representation dispatchFloatArrayProperty(org.neo4j.server.helpers.PropertyTypeDispatcher.PropertyArray<float[],Float> array, String param)
           
protected  org.neo4j.server.rest.repr.Representation dispatchFloatProperty(float property, String param)
           
protected  org.neo4j.server.rest.repr.Representation dispatchIntegerArrayProperty(org.neo4j.server.helpers.PropertyTypeDispatcher.PropertyArray<int[],Integer> array, String param)
           
protected  org.neo4j.server.rest.repr.Representation dispatchIntegerProperty(int property, String param)
           
protected  org.neo4j.server.rest.repr.Representation dispatchLongArrayProperty(org.neo4j.server.helpers.PropertyTypeDispatcher.PropertyArray<long[],Long> array, String param)
           
protected  org.neo4j.server.rest.repr.Representation dispatchLongProperty(long property, String param)
           
protected  org.neo4j.server.rest.repr.Representation dispatchOtherArray(Object[] property, String param)
           
protected  org.neo4j.server.rest.repr.Representation dispatchOtherProperty(Object property, String param)
           
protected  org.neo4j.server.rest.repr.Representation dispatchShortArrayProperty(org.neo4j.server.helpers.PropertyTypeDispatcher.PropertyArray<short[],Short> array, String param)
           
protected  org.neo4j.server.rest.repr.Representation dispatchShortProperty(short property, String param)
           
protected  org.neo4j.server.rest.repr.Representation dispatchStringArrayProperty(String[] array, String param)
           
protected  org.neo4j.server.rest.repr.Representation dispatchStringProperty(String property, String param)
           
 
Methods inherited from class org.neo4j.server.helpers.PropertyTypeDispatcher
consumeProperties, dispatch, dispatchArray, dispatchBooleanArrayProperty, dispatchBooleanArrayProperty, dispatchByteArrayProperty, dispatchByteArrayProperty, dispatchByteArrayProperty, dispatchCharacterArrayProperty, dispatchCharacterArrayProperty, dispatchCharacterArrayProperty, dispatchDoubleArrayProperty, dispatchDoubleArrayProperty, dispatchFloatArrayProperty, dispatchFloatArrayProperty, dispatchIntegerArrayProperty, dispatchIntegerArrayProperty, dispatchLongArrayProperty, dispatchLongArrayProperty, dispatchNullProperty, dispatchNumberArray, dispatchNumberProperty, dispatchProperties, dispatchShortArrayProperty, dispatchShortArrayProperty, dispatchStringArrayProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmxAttributeRepresentationDispatcher

public JmxAttributeRepresentationDispatcher()
Method Detail

dispatchBooleanProperty

protected org.neo4j.server.rest.repr.Representation dispatchBooleanProperty(boolean property,
                                                                            String param)
Specified by:
dispatchBooleanProperty in class org.neo4j.server.helpers.PropertyTypeDispatcher<String,org.neo4j.server.rest.repr.Representation>

dispatchDoubleProperty

protected org.neo4j.server.rest.repr.Representation dispatchDoubleProperty(double property,
                                                                           String param)
Specified by:
dispatchDoubleProperty in class org.neo4j.server.helpers.PropertyTypeDispatcher<String,org.neo4j.server.rest.repr.Representation>

dispatchFloatProperty

protected org.neo4j.server.rest.repr.Representation dispatchFloatProperty(float property,
                                                                          String param)
Specified by:
dispatchFloatProperty in class org.neo4j.server.helpers.PropertyTypeDispatcher<String,org.neo4j.server.rest.repr.Representation>

dispatchIntegerProperty

protected org.neo4j.server.rest.repr.Representation dispatchIntegerProperty(int property,
                                                                            String param)
Specified by:
dispatchIntegerProperty in class org.neo4j.server.helpers.PropertyTypeDispatcher<String,org.neo4j.server.rest.repr.Representation>

dispatchLongProperty

protected org.neo4j.server.rest.repr.Representation dispatchLongProperty(long property,
                                                                         String param)
Specified by:
dispatchLongProperty in class org.neo4j.server.helpers.PropertyTypeDispatcher<String,org.neo4j.server.rest.repr.Representation>

dispatchShortProperty

protected org.neo4j.server.rest.repr.Representation dispatchShortProperty(short property,
                                                                          String param)
Specified by:
dispatchShortProperty in class org.neo4j.server.helpers.PropertyTypeDispatcher<String,org.neo4j.server.rest.repr.Representation>

dispatchStringProperty

protected org.neo4j.server.rest.repr.Representation dispatchStringProperty(String property,
                                                                           String param)
Specified by:
dispatchStringProperty in class org.neo4j.server.helpers.PropertyTypeDispatcher<String,org.neo4j.server.rest.repr.Representation>

dispatchOtherProperty

protected org.neo4j.server.rest.repr.Representation dispatchOtherProperty(Object property,
                                                                          String param)
Overrides:
dispatchOtherProperty in class org.neo4j.server.helpers.PropertyTypeDispatcher<String,org.neo4j.server.rest.repr.Representation>

dispatchOtherArray

protected org.neo4j.server.rest.repr.Representation dispatchOtherArray(Object[] property,
                                                                       String param)
Overrides:
dispatchOtherArray in class org.neo4j.server.helpers.PropertyTypeDispatcher<String,org.neo4j.server.rest.repr.Representation>

dispatchStringArrayProperty

protected org.neo4j.server.rest.repr.Representation dispatchStringArrayProperty(String[] array,
                                                                                String param)
Overrides:
dispatchStringArrayProperty in class org.neo4j.server.helpers.PropertyTypeDispatcher<String,org.neo4j.server.rest.repr.Representation>

dispatchShortArrayProperty

protected org.neo4j.server.rest.repr.Representation dispatchShortArrayProperty(org.neo4j.server.helpers.PropertyTypeDispatcher.PropertyArray<short[],Short> array,
                                                                               String param)
Overrides:
dispatchShortArrayProperty in class org.neo4j.server.helpers.PropertyTypeDispatcher<String,org.neo4j.server.rest.repr.Representation>

dispatchIntegerArrayProperty

protected org.neo4j.server.rest.repr.Representation dispatchIntegerArrayProperty(org.neo4j.server.helpers.PropertyTypeDispatcher.PropertyArray<int[],Integer> array,
                                                                                 String param)
Overrides:
dispatchIntegerArrayProperty in class org.neo4j.server.helpers.PropertyTypeDispatcher<String,org.neo4j.server.rest.repr.Representation>

dispatchLongArrayProperty

protected org.neo4j.server.rest.repr.Representation dispatchLongArrayProperty(org.neo4j.server.helpers.PropertyTypeDispatcher.PropertyArray<long[],Long> array,
                                                                              String param)
Overrides:
dispatchLongArrayProperty in class org.neo4j.server.helpers.PropertyTypeDispatcher<String,org.neo4j.server.rest.repr.Representation>

dispatchFloatArrayProperty

protected org.neo4j.server.rest.repr.Representation dispatchFloatArrayProperty(org.neo4j.server.helpers.PropertyTypeDispatcher.PropertyArray<float[],Float> array,
                                                                               String param)
Overrides:
dispatchFloatArrayProperty in class org.neo4j.server.helpers.PropertyTypeDispatcher<String,org.neo4j.server.rest.repr.Representation>

dispatchDoubleArrayProperty

protected org.neo4j.server.rest.repr.Representation dispatchDoubleArrayProperty(org.neo4j.server.helpers.PropertyTypeDispatcher.PropertyArray<double[],Double> array,
                                                                                String param)
Overrides:
dispatchDoubleArrayProperty in class org.neo4j.server.helpers.PropertyTypeDispatcher<String,org.neo4j.server.rest.repr.Representation>

dispatchBooleanArrayProperty

protected org.neo4j.server.rest.repr.Representation dispatchBooleanArrayProperty(org.neo4j.server.helpers.PropertyTypeDispatcher.PropertyArray<boolean[],Boolean> array,
                                                                                 String param)
Overrides:
dispatchBooleanArrayProperty in class org.neo4j.server.helpers.PropertyTypeDispatcher<String,org.neo4j.server.rest.repr.Representation>

dispatchByteProperty

protected org.neo4j.server.rest.repr.Representation dispatchByteProperty(byte property,
                                                                         String param)
Specified by:
dispatchByteProperty in class org.neo4j.server.helpers.PropertyTypeDispatcher<String,org.neo4j.server.rest.repr.Representation>

dispatchCharacterProperty

protected org.neo4j.server.rest.repr.Representation dispatchCharacterProperty(char property,
                                                                              String param)
Specified by:
dispatchCharacterProperty in class org.neo4j.server.helpers.PropertyTypeDispatcher<String,org.neo4j.server.rest.repr.Representation>


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.