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


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

A ServiceAttributes annotation can be placed on top a CommunicationBean annotation. There can be atmost only one ServiceAttribute annotation in an application. ServiceAttributes define the attributes of the application.

Author:
binod
See Also:
CommunicationBean

Optional Element Summary
 String domainName
          Default domain name that will be appended to any userName.
 String domainProxy
          Defines the Location of the Domain Proxy.
 String mscontrolJndiName
          JNDI name for looking up the MsControlFactory object configured in the application server.
 String registrar
          Defines the Location of the Registrar.
 String xcapRoot
           
 

registrar

public abstract String registrar
Defines the Location of the Registrar. The host name or IP address of the Registrar is specified.

Returns:
Default:
""

domainProxy

public abstract String domainProxy
Defines the Location of the Domain Proxy. The host name or IP address of is specified.

Returns:
Default:
""

domainName

public abstract String domainName
Default domain name that will be appended to any userName. For example, if an application does Conference.addParticipant("alice") and the domainName is specified as "example.com", then effectively the api would be equivalent to Conference.addParticipant("alice@example.com");

Returns:
Default:
""

xcapRoot

public abstract String xcapRoot
Default:
""

mscontrolJndiName

public abstract String mscontrolJndiName
JNDI name for looking up the MsControlFactory object configured in the application server. This allow deployer to use a different Media Server or different Configuration for the default MsControlFactory.

Returns:
Name of the MsControlFactory JNDI Name.
Default:
""


Copyright © 2010. All Rights Reserved.