org.glassfish.openesb.pojose.api.annotation
Annotation Type POJO
Deprecated. since 02/05/2009. Use Provider
.
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface POJO
Class level annotation designates a class as a POJO 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:
- sgenipud, gmpatil
- See Also:
Provider
Optional Element Summary |
java.lang.String |
interfaceName
Deprecated. 11/05/2008: Use inetrfaceQN. |
java.lang.String |
interfaceNS
Deprecated. 11/05/2008: Use inetrfaceQN. |
java.lang.String |
interfaceQN
Deprecated. QName of the JBI endpoint interface. |
java.lang.String |
name
Deprecated. POJO Name also used as JBI Service Endpoint Name. |
java.lang.String |
serviceName
Deprecated. 11/05/2008: Use serviceQN. |
java.lang.String |
serviceNS
Deprecated. 11/05/2008: Use serviceQN. |
java.lang.String |
serviceQN
Deprecated. JBI endpoint Service QName. |
name
public abstract java.lang.String name
- Deprecated.
- POJO Name also used as JBI Service Endpoint Name.
- Default:
- ""
serviceQN
public abstract java.lang.String serviceQN
- Deprecated.
- 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:
- ""
serviceNS
public abstract java.lang.String serviceNS
- Deprecated. 11/05/2008: Use serviceQN.
- Namespace of the JBI Service name. If 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/".
- Default:
- ""
serviceName
public abstract java.lang.String serviceName
- Deprecated. 11/05/2008: Use serviceQN.
- Local service name. If not specified, 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"
- Default:
- ""
interfaceQN
public abstract java.lang.String interfaceQN
- Deprecated.
- 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:
- ""
interfaceNS
public abstract java.lang.String interfaceNS
- Deprecated. 11/05/2008: Use inetrfaceQN.
- Namespace of the JBI Service name. If 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/".
- Default:
- ""
interfaceName
public abstract java.lang.String interfaceName
- Deprecated. 11/05/2008: Use inetrfaceQN.
- Local interface name. If not specified, will be class name suffixed with
"Interface"
Ex: If annotated the "org.glassfish.MyPojo" class with @POJO but
interfaceName attribute is not specified, interface local name defaults to
"MyPojoInterface"
- Default:
- ""
Copyright © 2006-2009. All Rights Reserved.