|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.deployment.SuffixOrderHelper
public final class SuffixOrderHelper
SuffixOrderHelper. This class wraps the SuffixOrder and EnhandedSuffixes attributes of MainDeployer.
| Nested Class Summary | |
|---|---|
static class |
SuffixOrderHelper.EnhancedSuffix
Inner class that encapsulates an enhanceSuffix consisting of suffix + order |
| Field Summary | |
|---|---|
static String[] |
DEFAULT_ENHANCED_SUFFIXES
Default EnhancedSuffixes 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 EnhancedSuffixes attribute and/or the individual subdeployer's relative order. |
static int |
DEFAULT_RELATIVE_ORDER
A default relative order just before 900:.last |
static org.jboss.logging.Logger |
log
The Logger |
| Constructor Summary | |
|---|---|
SuffixOrderHelper(DeploymentSorter sorter)
|
|
| Method Summary | |
|---|---|
void |
addEnhancedSuffixes(String[] enhancedSuffixes)
Add the specified enhanced suffixes in the correct position(s) and regenerate the SuffixOrder, if needed. |
void |
addSuffixes(String[] suffixes,
int relativeOrder)
Insert the specified suffixes in the correct position and regenerate the SuffixOrder array, if needed. |
String[] |
getEnhancedSuffixes()
Getter for the EnhancedSuffixes 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 |
initialize()
Initialise the SuffixOrder from EnhancedSuffixes. |
void |
removeEnhancedSuffixes(String[] enhancedSuffixes)
Remove the enhanced suffixes if they are not marked as static and regenerate the SuffixOrder, if needed. |
void |
removeSuffixes(String[] suffixes,
int relativeOrder)
Remove the specified suffixes if they are not marked as static and regenerate the SuffixOrder, if needed. |
void |
setEnhancedSuffixes(String[] enhancedSuffixes)
Setter for the EnhancedSuffixes 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_SUFFIXES
public static final int DEFAULT_RELATIVE_ORDER
public static final org.jboss.logging.Logger log
| Constructor Detail |
|---|
public SuffixOrderHelper(DeploymentSorter sorter)
| Method Detail |
|---|
public String[] getSuffixOrder()
public String[] getEnhancedSuffixes()
public void setEnhancedSuffixes(String[] enhancedSuffixes)
enhancedSuffixes - the EnhancedSuffixes string arraypublic void initialize()
public void addEnhancedSuffixes(String[] enhancedSuffixes)
public void addSuffixes(String[] suffixes,
int relativeOrder)
public void removeEnhancedSuffixes(String[] enhancedSuffixes)
public void removeSuffixes(String[] suffixes,
int relativeOrder)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||