org.glassfish.cafe.api.bean
Annotation Type CommunicationEvent


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface CommunicationEvent

Specifies Events pertaining to a Communication. Any method annotated with this annotation would be invoked when the CommunicationEvent of the specified type occurs.

Author:
binod

Optional Element Summary
 Class communicationType
          Type of the Communication.
 CommunicationEvent.Type type
          Type of the CommunicationEvent.
 

type

public abstract CommunicationEvent.Type type
Type of the CommunicationEvent.

Returns:
Default:
org.glassfish.cafe.api.bean.CommunicationEvent.Type.STARTED

communicationType

public abstract Class communicationType
Type of the Communication.

Returns:
Default:
org.glassfish.cafe.api.Communication.class


Copyright © 2010. All Rights Reserved.