GigaSpaces XAP 10.0.1 API

org.openspaces.core.context
Annotation Type GigaSpaceLateContext


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface GigaSpaceLateContext

Allows to directly inject a GigaSpace implementation into a class field or setter property. A name can be specified in cases where more than one GigaSpace are defined within a spring application context. The name will be the bean name / id. This annotation will cause the GigaSpace instance to be injected late during the bean lifecycle (after its properties were set). It allows to break cyclic relationships on beans that needs a GigaSpace instance but must be initialized before the space.

Author:
kimchy

Optional Element Summary
 String name
          The name of the GigaSpace bean.
 

name

public abstract String name
The name of the GigaSpace bean. Used when more than one GigaSpace is defined and corresponds to the bean name / id.

Default:
""

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.