Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


com.oracle.sft.api.bean
Annotation Type CommunicationBean


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface CommunicationBean

Indicate that the annotated class is a POJO listening to Communication Events or Participant Events.

See Also:
CommunicationEvent, ParticipantEvent

Optional Element Summary
 String name
          Name of the Communication Bean.
 Class<?> type
          Type of the Communication Bean.

 

name

public abstract String name
Name of the Communication Bean. If name is not specified, container would assume the fully qualified class name as the CommunicationBean. This is typically used to enable configuration of beans in the application server. [Not yet implemented]
Returns:
Name of the Communication Bean
Default:
""

type

public abstract Class<?> type
Type of the Communication Bean. If the type is specified, then the CommunicationBean will be invoked only for those type of events. If the application does not supply any type, then the CommunicationBean will be invoked for any type of Communication.
Returns:
Type of the Communication Bean
Default:
com.oracle.sft.api.Communication.class

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.