org.systinet.wasp.dd
Interface Handler

All Superinterfaces:
DeploymentPart, DocumentablePart, ExtensiblePart, ImplementablePart, NamedPart, OrderedPart

public interface Handler
extends NamedPart, ImplementablePart, ExtensiblePart, OrderedPart, DocumentablePart

This interface represents a handler deployment part.

Since:
4.6
Component:
Core

Field Summary
 
Fields inherited from interface org.systinet.wasp.dd.OrderedPart
ALL_PARTS
 
Method Summary
 Header addHeader()
          Creates a new header and adds it to the list of headers this instance represents.
 Schema addSchema(java.lang.String namespaceURI, java.lang.String location)
          Creates and ddds a new Schema object.
 java.util.List getHeaders()
          Retrives list of headers this instance represents.
 java.util.List getSchemas()
          Retrives list of schemas of this instance.
 boolean isProcessingFaultMessages()
          Returns true if the handler is processing input fault messages.
 boolean isProcessingInMessages()
          Returns true if the handler is processing input messages.
 boolean isProcessingOutMessages()
          Returns true if the handler is processing output messages.
 void setProcessingFaultMessages(boolean processingInFaultMessages)
          Sets if the handler is processing input fault messages.
 void setProcessingInMessages(boolean processingInMessages)
          Sets if the handler is processing input messages.
 void setProcessingOutMessages(boolean processingOutMessages)
          Sets if the handler is processing output messages.
 
Methods inherited from interface org.systinet.wasp.dd.NamedPart
getName, setName
 
Methods inherited from interface org.systinet.wasp.dd.DeploymentPart
getDeploymentDescriptor
 
Methods inherited from interface org.systinet.wasp.dd.ImplementablePart
getImplementationClass, setImplementationClass
 
Methods inherited from interface org.systinet.wasp.dd.ExtensiblePart
addElement, getElements
 
Methods inherited from interface org.systinet.wasp.dd.OrderedPart
getFollowingParts, getPrecedingParts, setFollowingParts, setPrecedingParts
 
Methods inherited from interface org.systinet.wasp.dd.DocumentablePart
getDocumentation, setDocumentation
 

Method Detail

isProcessingInMessages

public boolean isProcessingInMessages()
Returns true if the handler is processing input messages.

Returns:
true if the handler is processing input messages

setProcessingInMessages

public void setProcessingInMessages(boolean processingInMessages)
Sets if the handler is processing input messages. Note that in current WSO2 SOA Enablement Server implementation the handler processes all messages by default so you need to disable processing of unwanted type of messages.

Parameters:
processingInMessages - true if the handler processes input messages, false if it does not process input messages

isProcessingOutMessages

public boolean isProcessingOutMessages()
Returns true if the handler is processing output messages.

Returns:
true if the handler is processing output messages

setProcessingOutMessages

public void setProcessingOutMessages(boolean processingOutMessages)
Sets if the handler is processing output messages. Note that in current WSO2 SOA Enablement Server implementation the handler processes all messages by default so you need to disable processing of unwanted type of messages.

Parameters:
processingOutMessages - true if the handler processes output messages, false if it does not process output messages

isProcessingFaultMessages

public boolean isProcessingFaultMessages()
Returns true if the handler is processing input fault messages.

Returns:
true if the handler is processing input fault messages

setProcessingFaultMessages

public void setProcessingFaultMessages(boolean processingInFaultMessages)
Sets if the handler is processing input fault messages. Note that in current WSO2 SOA Enablement Server implementation the handler processes all messages by default so you need to disable processing of unwanted type of messages.

Parameters:
processingInFaultMessages - true if the handler processes input fault messages, false if it does not process input fault messages

addHeader

public Header addHeader()
Creates a new header and adds it to the list of headers this instance represents.

Returns:
new header

getHeaders

public java.util.List getHeaders()
Retrives list of headers this instance represents.

Returns:
list of headers

addSchema

public Schema addSchema(java.lang.String namespaceURI,
                        java.lang.String location)
Creates and ddds a new Schema object.

Parameters:
namespaceURI - namespace
location - the location of schema document
Returns:
the newly created Schema object
See Also:
Schema.setSchemaLocation(java.lang.String), Schema.setNamespaceURI(java.lang.String)

getSchemas

public java.util.List getSchemas()
Retrives list of schemas of this instance.

Returns:
list of schemas