|
Novell exteNd Web Services SDK API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sssw.jbroker.web.portable.Stub
Portable Service Stub.
Nested Class Summary | |
static class |
Stub.StubObjectFactory
JNDI support - stubs are referenceable. |
Field Summary | |
static String |
ATTACHMENTS
String property for Call Attachments |
static String |
AUTH_SCHEME
java.lang.Integer property for Authentication Scheme |
static Integer |
BASIC_AUTH_SCHEME
java.lang.Integer property for BASIC Authentication Scheme |
static Integer |
DIGEST_AUTH_SCHEME
java.lang.Integer property for DIGEST Authentication Scheme |
static String |
ENCODING_STYLE_URI
String property which indicates the encoding style namespace URI. |
static String |
ENDPOINT
String property with endpoint address. |
static String |
HEADERS
String property for Call Headers |
static String |
HTTP_PROXY_AUTH_SCHEME
java.lang.Integer property for HTTP Proxy Authentication Scheme |
static String |
HTTP_PROXY_HOST
java.lang.String property for HTTP Proxy Host |
static String |
HTTP_PROXY_NTLM_DOMAIN
String property for domain when using NTLM proxy authentication |
static String |
HTTP_PROXY_PASSWORD
String property for password when using HTTP proxy authentication |
static String |
HTTP_PROXY_PORT
java.lang.Integer property for HTTP Proxy Port |
static String |
HTTP_PROXY_USERNAME
String property for username when using HTTP proxy authentication |
static String |
HTTP_TIME_OUT
java.lang.Integer property for HTTP Time Out |
static String |
JMS_JNDI_ENVIRONMENT
This property specifies the environment for JNDI. |
static String |
JMS_JNDI_INITIAL_CONTEXT
This property specifies the initial context used for lookup destinations and connection factories in the JMS transport. |
static String |
JMS_QUEUE
This property specifies the queue where outgoing messages are published. |
static String |
JMS_QUEUE_FACTORY
This property specifies the queue connection factory object to use when creating a queue connection. |
static String |
JMS_QUEUE_FACTORY_CLASS
This property specifies the fully qualified name of a queue connection factory implementation class. |
static String |
JMS_QUEUE_FACTORY_JNDI
This property specifies the JNDI lookup string to use for the queue connection factory. |
static String |
JMS_QUEUE_JNDI
This property specifies the JNDI lookup string to use for the queue where outgoing messages are published. |
static String |
JMS_QUEUE_REPLY
This property specifies the replyTo queue where responses to outgoing messages are received. |
static String |
JMS_QUEUE_REPLY_JNDI
This property specifies the JNDI lookup string to use for the replyTo queue where responses to outgoing messages are received. |
static String |
JMS_REPLY_SELECTOR
This property specifies a selector for the response consumer. |
static String |
JMS_REPLY_TIMEOUT
This property specifies the timeout for receiving replies. |
static String |
JMS_TOPIC
This property specifies the topic where outgoing messages are published. |
static String |
JMS_TOPIC_DURABLE_NAME
This property specifies the name of a durable topic subscriber for receiving responses. |
static String |
JMS_TOPIC_FACTORY
This property specifies the topic connection factory object to use when creating a topic connection. |
static String |
JMS_TOPIC_FACTORY_CLASS
This property specifies the fully qualified name of a topic connection factory implementation class. |
static String |
JMS_TOPIC_FACTORY_JNDI
This property specifies the JNDI lookup string to use for the topic connection factory. |
static String |
JMS_TOPIC_JNDI
This property specifies the JNDI lookup string to use for the topic where outgoing messages are published. |
static String |
JMS_TOPIC_REPLY
This property specifies the replyTo topic where responses to outgoing messages are received. |
static String |
JMS_TOPIC_REPLY_JNDI
This property specifies the JNDI lookup string to use for the replyTo topic where responses to outgoing messages are received. |
static String |
JMS_USE_CORRELATION_ID
This property instructs a stub using JMS transport to use correlation identifiers to correlate request and reply messages. |
static String |
JMS_USE_REQUESTOR
This property instructs a stub using JMS transport to use a topic or queue requestor to receive replies to a message. |
static Integer |
NTLM_AUTH_SCHEME
java.lang.Integer property for NTLM Authentication Scheme |
static String |
NTLM_DOMAIN
String property for domain when using NTLM authentication |
static String |
NTLM_HOST
String property for servername when using NTLM authentication |
static String |
OPERATION_STYLE
String property indicating if the operation style is rpc or document. |
static String |
PARAM_HEADER
Boolean property for header parameter annotation |
static String |
PARAM_INOUT
Boolean property for in/out parameter annotation |
static String |
PARAM_MIME
Boolean property for mime parameter annotation |
static String |
PARAM_MIMETYPE
String property for mime type of parameter annotation |
static String |
PARAM_NAME
String property for parameter name annotation |
static String |
PASSWORD
String property for password when using HTTP authentication |
static String |
SESSION_MAINTAIN
This boolean property is used by a service client to indicate whether or not it wants to participate in a session with a service endpoint. |
static String |
SOAP_ACTION
String property for soapAction method annotation |
static String |
SOAP_ACTION_URI
String property that indicates the SOAPAction URI. |
static String |
SOAP_ACTION_USE
Boolean property which indicates whether or not SOAPAction is to be used. |
static String |
USERNAME
String property for username when using HTTP authentication |
Fields inherited from interface javax.xml.rpc.Stub |
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, USERNAME_PROPERTY |
Method Summary | |
Binding[] |
_getBindings()
Get all bindings set on the stub |
ClassInfo |
_getClassInfo()
Get dispatch information for this service object |
Binding |
_getCurrentBinding()
Get the binding currently set on the stub |
Delegate |
_getDelegate()
Get the stub delegate |
QName |
_getOperationName()
Get the QName for the operation's |
QName |
_getPortType()
Get the QName for the stub's port type |
Object |
_getProperty(String name)
Get a property from the stub. |
Iterator |
_getPropertyNames()
Get an iterator over all property names |
TypeMapper |
_getTypeMapper()
Deprecated. as of jBroker Web 2.0, replaced by void _getTypeMappingRegistry() |
TypeMappingRegistry |
_getTypeMappingRegistry()
Get the TypeMappingRegistry set on the stub |
void |
_setClassInfo(ClassInfo info)
Set dispatch information for this service object |
void |
_setCurrentBinding(Binding binding)
Set a new binding on the stub. |
void |
_setHandlerChain(HandlerChain chain)
Set the handler chain on this stub. |
void |
_setProperty(String propName,
Object propValue)
Set a property on the stub |
String |
_setProperty(String name,
String value)
Deprecated. as of jBroker Web 2.0, replaced by void _setProperty(String, Object) |
void |
_setTypeMapper(TypeMapper typeMapper)
Deprecated. as of jBroker Web 2.0, replaced by void _setTypeMappingRegistry(TypeMappingRegistry) |
void |
_setTypeMappingRegistry(TypeMappingRegistry typeMapper)
Set the TypeMappingRegistry on the stub |
Reference |
getReference()
Get the Reference for this Stub. |
String |
toString()
Return a pretty printed version of this stub object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String PARAM_INOUT
public static final String SOAP_ACTION
public static final String PARAM_NAME
public static final String AUTH_SCHEME
public static final String HTTP_PROXY_AUTH_SCHEME
public static final Integer BASIC_AUTH_SCHEME
public static final Integer DIGEST_AUTH_SCHEME
public static final Integer NTLM_AUTH_SCHEME
public static final String USERNAME
public static final String HTTP_PROXY_USERNAME
public static final String PASSWORD
public static final String HTTP_PROXY_PASSWORD
public static final String NTLM_HOST
public static final String NTLM_DOMAIN
public static final String HTTP_PROXY_NTLM_DOMAIN
public static final String HTTP_TIME_OUT
public static final String HTTP_PROXY_HOST
public static final String HTTP_PROXY_PORT
public static String ATTACHMENTS
public static String HEADERS
public static final String ENDPOINT
public static final String SESSION_MAINTAIN
public static final String OPERATION_STYLE
public static final String SOAP_ACTION_USE
public static final String SOAP_ACTION_URI
SOAP_ACTION_USE
property has been set to true.
public static final String ENCODING_STYLE_URI
public static final String JMS_TOPIC_FACTORY
javax.jms.TopicConnectionFactory
.
TopicConnectionFactory
,
Constant Field Valuespublic static final String JMS_TOPIC_FACTORY_JNDI
topic/connectionFactory
.
public static final String JMS_TOPIC_FACTORY_CLASS
newInstance
on the class object returned by Class.forName
, which means
that the factory class must have a constructor with no arguments.
public static final String JMS_QUEUE_FACTORY
javax.jms.QueueConnectionFactory
.
QueueConnectionFactory
,
Constant Field Valuespublic static final String JMS_QUEUE_FACTORY_JNDI
queue/connectionFactory
.
public static final String JMS_QUEUE_FACTORY_CLASS
newInstance
on the class object returned by Class.forName
, which means
that the factory class must have a constructor with no arguments.
public static final String JMS_TOPIC
javax.jms.Topic
.
Topic
,
Constant Field Valuespublic static final String JMS_TOPIC_JNDI
public static final String JMS_TOPIC_REPLY
javax.jms.Topic
. If this property is not specified, the
request is assumed to be oneway.
Topic
,
Constant Field Valuespublic static final String JMS_TOPIC_REPLY_JNDI
public static final String JMS_TOPIC_DURABLE_NAME
public static final String JMS_QUEUE
javax.jms.Queue
.
Queue
,
Constant Field Valuespublic static final String JMS_QUEUE_JNDI
public static final String JMS_QUEUE_REPLY
javax.jms.Queue
. If this property is not specified, the
request is assumed to be oneway.
Queue
,
Constant Field Valuespublic static final String JMS_QUEUE_REPLY_JNDI
public static final String JMS_REPLY_TIMEOUT
java.lang.Integer
with the timeout value.
public static final String JMS_REPLY_SELECTOR
public static final String JMS_USE_REQUESTOR
JMS_QUEUE_REPLY
or JMS_TOPIC_REPLY
properties
(or JMS_QUEUE_REPLY_JNDI
or JMS_TOPIC_REPLY_JNDI
properties) are not used since a newly created, temporary destination will
be used to receive the reply message. Clients can still set the
JMS_REPLY_TIMEOUT
property but the JMS_REPLY_SELECTOR
property is not used.
When a reqestor is used, the replyTo
property of the message
will contain a newly created temporary queue or topic. After the message has
been sent to the queue defined by the JMS_QUEUE
or
JMS_QUEUE_JNDI
(or the topic defined by the JMS_TOPIC
or JMS_QUEUE_JNDI
) property, the JMS transport will create a
message consumer for the temporary destination and wait for the reply message.
The property type is java.lang.Boolean
.
QueueRequestor
,
TopicRequestor
,
Constant Field Valuespublic static final String JMS_USE_CORRELATION_ID
JMS_USE_REQUESTOR
property is used, correlation is not necessary since each reply is sent
to a separate, temporary destination.
If multiple clients use the same reply destination for messages, correlation
is however necessary to ensure that each client gets the correct reply message.
When using correlation identifiers, the ultimate receiver of the message must
set the JMSCorrelationID
property in the reply message to the same
value as the JMSCorrelationID
property in the request message.
To ensure proper correlation, a selector matching the correlation identifier
will be used when creating the message consumer for the replyTo destination.
If the JMS_REPLY_SELECTOR
property was specified, it will simply
be pre-prended by the selector string JMSCorrelationID = value AND.
public static final String JMS_JNDI_ENVIRONMENT
InitialContext
object, it will pass the value
of this property as an argument:
Hashtable env = (Hashtable) props.get(Stub.JMS_JNDI_ENVIRONMENT); InitialContext ctx = env == null ? new InitialContext() : new InitialContext(env);The type of this property must be
java.util.Hashtable
.
public static final String JMS_JNDI_INITIAL_CONTEXT
javax.naming.InitialContext
.
public static final String PARAM_MIME
public static final String PARAM_MIMETYPE
public static final String PARAM_HEADER
Method Detail |
public String toString()
public Binding[] _getBindings()
_getBindings
in interface ServiceObject
public QName _getPortType()
_getPortType
in interface ServiceObject
public QName _getOperationName()
_getOperationName
in interface ServiceObject
public Binding _getCurrentBinding()
_getCurrentBinding
in interface ServiceObject
public void _setCurrentBinding(Binding binding) throws MalformedURLException
_setCurrentBinding
in interface ServiceObject
binding
- the new binding object
MalformedURLException
- if the binding if malformedpublic Object _getProperty(String name)
_getProperty
in interface ServiceObject
name
- the property name
public String _setProperty(String name, String value)
_setProperty
in interface ServiceObject
name
- the property namevalue
- the property value
public void _setProperty(String propName, Object propValue) throws IllegalArgumentException
_setProperty
in interface Stub
propName
- Name of the configuration propertypropValue
- Value of the property
IllegalArgumentException
public Iterator _getPropertyNames()
_getPropertyNames
in interface Stub
public TypeMapper _getTypeMapper()
_getTypeMapper
in interface ServiceObject
ServiceObject._getTypeMappingRegistry()
public void _setTypeMapper(TypeMapper typeMapper)
_setTypeMapper
in interface ServiceObject
typeMapper
- a type mapper objectServiceObject._setTypeMappingRegistry(TypeMappingRegistry)
public TypeMappingRegistry _getTypeMappingRegistry()
_getTypeMappingRegistry
in interface ServiceObject
public void _setTypeMappingRegistry(TypeMappingRegistry typeMapper)
_setTypeMappingRegistry
in interface ServiceObject
typeMapper
- a type mapping registry objectpublic void _setClassInfo(ClassInfo info)
_setClassInfo
in interface ServiceObject
info
- the class infopublic ClassInfo _getClassInfo()
_getClassInfo
in interface ServiceObject
public Delegate _getDelegate()
public void _setHandlerChain(HandlerChain chain)
_setHandlerChain
in interface ServiceObject
chain
- the handler chainpublic Reference getReference() throws NamingException
getReference
in interface Referenceable
NamingException
|
Novell exteNd Web Services SDK API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |