|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.deployment.SuffixOrderHelper
SuffixOrderHelper. This class wraps the SuffixOrder and EnhandedSuffixOrder attributes of MainDeployer.
Field Summary | |
static String[] |
DEFAULT_ENHANCED_SUFFIX_ORDER
Default EnhancedSuffixOrder Those values are indicative - we just know they'll work with the compiled order of subdeployers like the aop or ejb3, but any order can be set using the EnhancedSuffixOrder attribute and/or the individual subdeployer's relative order. |
Constructor Summary | |
SuffixOrderHelper(DeploymentSorter sorter)
|
Method Summary | |
void |
addSuffixes(String[] suffixes,
int order)
Insert the specified suffixes in the correct position and regenerate the SuffixOrder array, if needed. |
String[] |
getEnhancedSuffixOrder()
Getter for the EnhancedSuffixOrder attribute |
String[] |
getSuffixOrder()
Getter only for the SuffixOrder as known by the MainDeployer and the Scanners The value is updated during init() with suffixes that remain constant. |
void |
init()
Initialise the SuffixOrder from the EnhancedSuffixOrder |
void |
removeSuffixes(String[] suffixes,
int order)
Remove the specified suffixes if they are not marked as fixed and regenerate the SuffixOrder, if needed. |
void |
setEnhancedSuffixOrder(String[] enhancedSuffixOrder)
Setter for the EnhancedSuffixOrder attribute. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String[] DEFAULT_ENHANCED_SUFFIX_ORDER
Constructor Detail |
public SuffixOrderHelper(DeploymentSorter sorter)
Method Detail |
public String[] getSuffixOrder()
public String[] getEnhancedSuffixOrder()
public void setEnhancedSuffixOrder(String[] enhancedSuffixOrder)
enhancedSuffixOrder
- String arraypublic void init()
public void addSuffixes(String[] suffixes, int order)
suffixes
- order
- public void removeSuffixes(String[] suffixes, int order)
suffixes
- order
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |