|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.deployers.spi.attachments.helpers.PredeterminedManagedObjectAttachmentsImpl
org.jboss.deployers.plugins.structure.ContextInfoImpl
public class ContextInfoImpl
ContextInfoImpl.
| Field Summary |
|---|
| Fields inherited from interface org.jboss.deployers.spi.structure.ContextInfo |
|---|
DEFAULT_METADATA_PATH |
| Constructor Summary | |
|---|---|
ContextInfoImpl()
Create a new ContextInfoImpl. |
|
ContextInfoImpl(String path)
Create a new ContextInfoImpl. |
|
ContextInfoImpl(String path,
List<ClassPathEntry> classPath)
Create a new ContextInfoImpl. |
|
ContextInfoImpl(String path,
List<String> metaDataPath,
List<ClassPathEntry> classPath)
Create a new ContextInfoImpl. |
|
ContextInfoImpl(String path,
String metaDataPath,
List<ClassPathEntry> classPath)
Create a new ContextInfoImpl. |
|
| Method Summary | |
|---|---|
void |
addClassPathEntry(ClassPathEntry entry)
Add a class path entry |
void |
addMetaDataPath(String path)
Add the metaDataPath. |
boolean |
equals(Object obj)
|
List<ClassPathEntry> |
getClassPath()
Get the classpath locations within the context |
String |
getComparatorClassName()
The comparator class name, the class must implement |
List<String> |
getMetaDataPath()
Get the logical path of the metdata location. |
ModificationType |
getModificationType()
Get the modification type. |
String |
getPath()
Get the logical path of the context |
int |
getRelativeOrder()
Get the relative order of this context |
int |
hashCode()
|
void |
readExternal(ObjectInput in)
|
void |
setClassPath(List<ClassPathEntry> classPath)
Set the classPath. |
void |
setComparatorClassName(String className)
The comparator class name, the class must implement |
void |
setMetaDataPath(List<String> metaDataPath)
Set the meta data paths. |
void |
setModificationType(ModificationType modificationType)
Set the modification type. |
void |
setPath(String path)
Set the path. |
void |
setRelativeOrder(int relativeOrder)
Set the relative order of this context |
String |
toString()
|
protected void |
toString(StringBuilder builder)
For subclasses to override toString() |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class org.jboss.deployers.spi.attachments.helpers.PredeterminedManagedObjectAttachmentsImpl |
|---|
getPredeterminedManagedObjects, setPredeterminedManagedObjects |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.deployers.spi.attachments.PredeterminedManagedObjectAttachments |
|---|
getPredeterminedManagedObjects, setPredeterminedManagedObjects |
| Constructor Detail |
|---|
public ContextInfoImpl()
public ContextInfoImpl(String path)
path - the path
IllegalArgumentException - for a null path
public ContextInfoImpl(String path,
List<ClassPathEntry> classPath)
path - the pathclassPath - the classpath
IllegalArgumentException - for a null path
public ContextInfoImpl(String path,
String metaDataPath,
List<ClassPathEntry> classPath)
path - the pathmetaDataPath - a single metadata pathclassPath - the class path
IllegalArgumentException - for a null path or metadata path
public ContextInfoImpl(String path,
List<String> metaDataPath,
List<ClassPathEntry> classPath)
path - the pathmetaDataPath - the metadata pathsclassPath - the class path
IllegalArgumentException - for a null path or metadata path| Method Detail |
|---|
public String getPath()
ContextInfo
getPath in interface ContextInfopublic void setPath(String path)
path - the path.
IllegalArgumentException - for a null pathpublic List<String> getMetaDataPath()
ContextInfo
getMetaDataPath in interface ContextInfopublic void setMetaDataPath(List<String> metaDataPath)
metaDataPath - the meta data pathspublic void addMetaDataPath(String path)
ContextInfo
addMetaDataPath in interface ContextInfopath - the metaDataPath.public List<ClassPathEntry> getClassPath()
ContextInfo
getClassPath in interface ContextInfopublic void setClassPath(List<ClassPathEntry> classPath)
classPath - the classPath.public void addClassPathEntry(ClassPathEntry entry)
ContextInfo
addClassPathEntry in interface ContextInfoentry - the entry to addpublic String getComparatorClassName()
ContextInfojava.util.ComparatorIf the class has a public static field called "INSTANCE" then that will be used rather than creating a new object.
If none is given then the deployments are ordered by their relative order and then path/simple name.
getComparatorClassName in interface ContextInfopublic void setComparatorClassName(String className)
ContextInfo
setComparatorClassName in interface ContextInfoclassName - the comparator class namepublic int getRelativeOrder()
ContextInfo
getRelativeOrder in interface ContextInfopublic void setRelativeOrder(int relativeOrder)
ContextInfo
setRelativeOrder in interface ContextInforelativeOrder - the relative orderpublic ModificationType getModificationType()
ContextInfo
getModificationType in interface ContextInfopublic void setModificationType(ModificationType modificationType)
ContextInfo
setModificationType in interface ContextInfomodificationType - the modification typepublic String toString()
toString in class Objectprotected void toString(StringBuilder builder)
builder - the builderpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class PredeterminedManagedObjectAttachmentsImplIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizablewriteExternal in class PredeterminedManagedObjectAttachmentsImplout - the output
IOException - for any error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||