org.glassfish.openesb.pojose.api.annotation
Annotation Type Provider


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

Class level annotation designates a class as a Service.
When none of the properties specified, POJO Service Engine will defaults ServiceEndpiont as below.
Simple class name as Endpoint name.
Http URI constructed from reverse package name and Endpoint name is used as default for Service and Interface namespaces.
Service local name defaults to Endpoint name suffixed with "Service".
Interface local name defaults to Endpoint name suffixed with "Interface".

Author:
gmpatil

Optional Element Summary
 java.lang.String interfaceQN
          QName of the JBI endpoint interface.
 java.lang.String name
          Name used as JBI Service Endpoint Name.
 java.lang.String serviceQN
          JBI endpoint Service QName.
 

name

public abstract java.lang.String name
Name used as JBI Service Endpoint Name. If not specified Simple class name will be used as Endpoint name.

Default:
""

serviceQN

public abstract java.lang.String serviceQN
JBI endpoint Service QName. If this is not specified, default Service namespace will be http URL using reverse package name of the the class as host name and endpoint name as the path. Ex: For class "Echo" in package name "org.glassfish.openesb.soabi" default namespace will be "http://soabi.openesb.glassfish.org/Echo/". If this is not specified, local name will be class name suffixed with "Service" Ex: If annotated the "org.glassfish.MyPojo" class with @POJO but serviceName attribute is not specified, service local name defaults to "MyPojoService" Thus default service QName will be "{http://soabi.openesb.glassfish.org/Echo/}MyPojoService"

Default:
""

interfaceQN

public abstract java.lang.String interfaceQN
QName of the JBI endpoint interface. If not specified, default interface namespace will be http URL using reverse package name of the the class as host name and endpoint name as the path. Ex: For class "Echo" in package name "org.glassfish.openesb.soabi" default namespace will be "http://soabi.openesb.glassfish.org/Echo/".

Default:
""


Copyright © 2006-2009. All Rights Reserved.