public interface DeployableObject
Modifier and Type | Method and Description |
---|---|
Enumeration |
entries()
Returns an enumeration of file names (as strings) for each file relative to the root
of the module
|
DDBean[] |
getChildBean(String xpath)
Get the child elements with the specified xpath
|
Class |
getClassFromScope(String className)
Retrieves the specified class from the deployment module
|
DDBeanRoot |
getDDBeanRoot()
Get the top level element of the deployment descriptor
|
DDBeanRoot |
getDDBeanRoot(String filename)
Returns a DDBeanRoot for the xml document.
|
InputStream |
getEntry(String name)
Get an input stream to the module entry.
|
String |
getModuleDTDVersion()
Deprecated.
use DDBeanRoot.getDDBeanRootVersion
|
String[] |
getText(String xpath)
Get the text for the given xpath
|
ModuleType |
getType()
Get the module type of this deployment module
|
ModuleType getType()
DDBeanRoot getDDBeanRoot()
DDBean[] getChildBean(String xpath)
xpath
- the xpath of the childrenString[] getText(String xpath)
xpath
- the xpathClass getClassFromScope(String className)
className
- the name of the classString getModuleDTDVersion()
DDBeanRoot getDDBeanRoot(String filename) throws FileNotFoundException, DDBeanCreateException
filename
- the file name of the documentFileNotFoundException
- if the file is not foundDDBeanCreateException
- for other errors creating the objectEnumeration entries()
InputStream getEntry(String name)
name
- the name of the module entryCopyright © 2018 JBoss by Red Hat. All rights reserved.