/** * Returns the {@link Class types} supported and handled by this {@link DataSerializer} during de/serialization. * * @return the {@link Class types} supported and handled by this {@link DataSerializer} during de/serialization. * @see DeltaCapableGemFireSession * @see GemFireSession * @see java.lang.Class */ @Override public Class<?>[] getSupportedClasses() { return asArray(GemFireSession.class, DeltaCapableGemFireSession.class); }
@Override protected Class<? extends Annotation>[] getMethodCacheAnnotationTypes() { return asArray(javax.cache.annotation.CachePut.class, CacheRemove.class, CacheRemoveAll.class, CacheResult.class); } }
@Override public Class<?>[] getSupportedClasses() { return asArray(GemFireSession.class, GemFireSessionAttributes.class, DeltaCapableGemFireSession.class, DeltaCapableGemFireSessionAttributes.class); }
/** * Returns the {@link Class types} supported and handled by this {@link DataSerializer} during de/serialization. * * @return the {@link Class types} supported and handled by this {@link DataSerializer} during de/serialization. * @see org.springframework.session.data.gemfire.AbstractGemFireOperationsSessionRepository.DeltaCapableGemFireSessionAttributes * @see org.springframework.session.data.gemfire.AbstractGemFireOperationsSessionRepository.GemFireSessionAttributes * @see java.lang.Class */ @Override public Class<?>[] getSupportedClasses() { return asArray(GemFireSessionAttributes.class, DeltaCapableGemFireSessionAttributes.class); }
@Override protected Class<? extends Annotation>[] getMethodCacheAnnotationTypes() { return asArray(javax.cache.annotation.CachePut.class, CacheRemove.class, CacheRemoveAll.class, CacheResult.class); } }
@Override protected Class<? extends Annotation>[] getMethodCacheAnnotationTypes() { return asArray(Cacheable.class, CacheEvict.class, CachePut.class); }
@Override protected Class<? extends Annotation>[] getMethodCacheAnnotationTypes() { return asArray(Cacheable.class, CacheEvict.class, CachePut.class); }
@Override public boolean add(ConnectionEndpoint connectionEndpoint) { return (add(ArrayUtils.asArray(connectionEndpoint)) == this); }
@Override public boolean add(ConnectionEndpoint connectionEndpoint) { return (add(ArrayUtils.asArray(connectionEndpoint)) == this); }
protected static AnnotationConfigApplicationContext runSpringApplication(Class<?> annotatedClass, String... args) { return runSpringApplication(asArray(annotatedClass), args); }
@Bean(name = "Orders") PartitionedRegionFactoryBean<Long, Order> ordersRegions(GemFireCache gemfireCache) { PartitionedRegionFactoryBean<Long, Order> orders = new PartitionedRegionFactoryBean<>(); orders.setCache(gemfireCache); orders.setCacheListeners(asArray(orderCacheListener())); orders.setClose(false); orders.setPersistent(false); return orders; }