org.systinet.wasp.dd
Interface OrderedPart

All Known Subinterfaces:
FaultSerialization, Handler, HeaderProcessor, Interceptor, Processing, Serialization, ServiceMediator, TypeMapping

public interface OrderedPart

This interface describes a deployment descriptor's part that contains order information.

Since:
4.0
Component:
Core

Field Summary
static QName[] ALL_PARTS
          Value representing "*" (whix means "all other parts") in deployment descriptor's preceding-parts or following-parts attribute.
 
Method Summary
 QName[] getFollowingParts()
          Returns an array of names of parts, which should follow this one.
 QName[] getPrecedingParts()
          Returns an array of names of parts, which should precede this one.
 void setFollowingParts(QName[] deployParts)
          Sets names of parts, which should follow this one.
 void setPrecedingParts(QName[] deployParts)
          Sets names of parts, which should precede this one.
 

Field Detail

ALL_PARTS

public static final QName[] ALL_PARTS
Value representing "*" (whix means "all other parts") in deployment descriptor's preceding-parts or following-parts attribute. Named links have higher priority than "*", for example:

part2
part1.setFollowingParts(OrderedParts.ALL_PARTS)
part3
part0.setFollowingParts(new QName[] {new QName(tns,"part1")});

defines following order:

(part0, part1, part2, part3)

Method Detail

getPrecedingParts

public QName[] getPrecedingParts()
Returns an array of names of parts, which should precede this one.

Returns:
names of parts which should precede this one or ALL_PARTS

setPrecedingParts

public void setPrecedingParts(QName[] deployParts)
Sets names of parts, which should precede this one.

Parameters:
deployParts - names of parts which should precede this one or ALL_PARTS

getFollowingParts

public QName[] getFollowingParts()
Returns an array of names of parts, which should follow this one.

Returns:
names of parts which should follow this one or ALL_PARTS

setFollowingParts

public void setFollowingParts(QName[] deployParts)
Sets names of parts, which should follow this one.

Parameters:
deployParts - names of parts which should follow this one or ALL_PARTS