Class CockpitContextAccessor

  • All Implemented Interfaces:
    org.springframework.expression.PropertyAccessor

    public class CockpitContextAccessor
    extends java.lang.Object
    implements org.springframework.expression.PropertyAccessor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canRead​(org.springframework.expression.EvaluationContext context, java.lang.Object target, java.lang.String name)  
      boolean canWrite​(org.springframework.expression.EvaluationContext context, java.lang.Object target, java.lang.String name)  
      protected java.util.Map<java.lang.String,​java.lang.Object> getParameters​(java.lang.Object target)  
      java.lang.Class<?>[] getSpecificTargetClasses()  
      org.springframework.expression.TypedValue read​(org.springframework.expression.EvaluationContext context, java.lang.Object target, java.lang.String name)  
      void write​(org.springframework.expression.EvaluationContext context, java.lang.Object target, java.lang.String name, java.lang.Object newValue)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CockpitContextAccessor

        public CockpitContextAccessor()
    • Method Detail

      • getSpecificTargetClasses

        public java.lang.Class<?>[] getSpecificTargetClasses()
        Specified by:
        getSpecificTargetClasses in interface org.springframework.expression.PropertyAccessor
      • canRead

        public boolean canRead​(org.springframework.expression.EvaluationContext context,
                               java.lang.Object target,
                               java.lang.String name)
        Specified by:
        canRead in interface org.springframework.expression.PropertyAccessor
      • getParameters

        protected java.util.Map<java.lang.String,​java.lang.Object> getParameters​(java.lang.Object target)
      • read

        public org.springframework.expression.TypedValue read​(org.springframework.expression.EvaluationContext context,
                                                              java.lang.Object target,
                                                              java.lang.String name)
        Specified by:
        read in interface org.springframework.expression.PropertyAccessor
      • canWrite

        public boolean canWrite​(org.springframework.expression.EvaluationContext context,
                                java.lang.Object target,
                                java.lang.String name)
        Specified by:
        canWrite in interface org.springframework.expression.PropertyAccessor
      • write

        public void write​(org.springframework.expression.EvaluationContext context,
                          java.lang.Object target,
                          java.lang.String name,
                          java.lang.Object newValue)
        Specified by:
        write in interface org.springframework.expression.PropertyAccessor