SCA Annotation Support for Spring

Annotation Name

Can be Supported?

JIRA

Comments

@Service

(tick)

TBD

The @Service annotation can be used with Spring bean implementation class to specify the SCA service offered by the implementation. The service specified via annotations will be used while the implicit services are detected for a spring bean.

@Reference

(tick)

TBD

Limitation: The @Reference annotation type can be used to annotate a Java class setter method only. Annotation on a field will not be supported.

@Property

(tick)

TBD

 

@Remotable

(tick)

TBD

 

@Constructor

(warning)

TBD

 

@Init

(tick)

TBD

The @Init annotation can be used to annotate a spring bean method to be called at the time of initializing the bean instance. As an alternative, in the case of XML-based configuration metadata, this is done using the 'init-method' attribute. When both annotated method and 'init-method' attribute points to a same method then the method is called once, otherwise the annotated method is called first and then the 'init-method' attributed method is called.

@Destroy

(tick)

TBD

The @Destroy annotation can be used to annotate a spring bean method to be called at the time of disposing the bean instance. As an alternative, in the case of XML-based configuration metadata, this is done using the 'destroy-method' attribute.

@AllowPassByReference

(warning)

TBD

 

@Oneway

(warning)

TBD

 

@ComponentName

(tick)

TBD

 

@Conversation

(warning)

TBD

 

@Context

(tick)

TBD

 

@Conversational

(warning)

TBD

 

@EagerInit

(warning)

TBD

 

@EndConversation

(warning)

TBD

 

@Scope

(warning)

TBD

 

@Callback

(warning)

TBD

 

@ConversationID

(warning)

TBD

 

@ConversationAttributes

(warning)

TBD

 

  • No labels