|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EnterpriseContainer<T extends Archive<T>>

EnterpriseContainer
Defines the contract for a component capable of storing
Enterprise related resources.
The actual path to the Enterprise resources within the Archive
is up to the implementations/specifications.
| Method Summary | |
|---|---|
T |
addApplicationResource(Asset resource,
Path target)
Adds a Asset to this Archives application context. |
T |
addApplicationResource(Asset resource,
String target)
Adds a Asset to this Archives application context. |
T |
addApplicationResource(File resource)
Adds a File to this Archives application context. |
T |
addApplicationResource(File resource,
Path target)
Adds a File to this Archives application context. |
T |
addApplicationResource(File resource,
String target)
Adds a File to this Archives application context. |
T |
addApplicationResource(String resourceName)
Adds a resource to this Archives application context. |
T |
addApplicationResource(String resourceName,
Path target)
Adds a resource to this Archives application context. |
T |
addApplicationResource(String resourceName,
String target)
Adds a resource to this Archives application context. |
T |
addApplicationResource(URL resource,
Path target)
Adds a URL to this Archives application context. |
T |
addApplicationResource(URL resource,
String target)
Adds a URL to this Archives application context. |
T |
addModule(Archive<?> archive)
Adds a archive to this Archives module context. |
T |
addModule(Asset resource,
Path targetPath)
Adds a Asset to this Archives module context. |
T |
addModule(Asset resource,
String targetPath)
Adds a Asset to this Archives module context. |
T |
addModule(File resource)
Adds a File to this Archives module context. |
T |
addModule(File resource,
Path targetPath)
Adds a File to this Archives module context. |
T |
addModule(File resource,
String targetPath)
Adds a File to this Archives module context. |
T |
addModule(String resourceName)
Adds a resource to this Archives module context. |
T |
addModule(String resourceName,
Path targetPath)
Adds a resource to this Archives module context. |
T |
addModule(String resourceName,
String targetPath)
Adds a resource to this Archives module context. |
T |
addModule(URL resource,
Path targetPath)
Adds a URL to this Archives module context. |
T |
addModule(URL resource,
String targetPath)
Adds a URL to this Archives module context. |
T |
setApplicationXML(Asset resource)
Adds a Asset to this Archive as application.xml. |
T |
setApplicationXML(File resource)
Adds a File to this Archive as application.xml. |
T |
setApplicationXML(String resourceName)
Adds a resource to this Archive as application.xml. |
T |
setApplicationXML(URL resource)
Adds a URL to this Archive as application.xml. |
| Method Detail |
|---|
T setApplicationXML(String resourceName)
throws IllegalArgumentException
Archive as application.xml.
ClassLoader used to obtain the resource is up to
the implementation.
resourceName - Name of the ClassLoader resource to add
IllegalArgumentException - if resourceName is nullsetApplicationXML(Asset)
T setApplicationXML(File resource)
throws IllegalArgumentException
File to this Archive as application.xml.
File "test/example.xml" could be placed in
"/META-INF/application.xml"
resource - File resource to add
IllegalArgumentException - if resource is nullsetApplicationXML(Asset)
T setApplicationXML(URL resource)
throws IllegalArgumentException
URL to this Archive as application.xml.
URL "http://my.com/example.xml" could be placed in
"/META-INF/application.xml"
resource - URL resource to add
IllegalArgumentException - if resource is nullsetApplicationXML(Asset)
T setApplicationXML(Asset resource)
throws IllegalArgumentException
Asset to this Archive as application.xml.
resource - Asset resource to add
IllegalArgumentException - if resource is null
T addApplicationResource(String resourceName)
throws IllegalArgumentException
Archives application context.
ClassLoader used to obtain the resource is up to
the implementation.
resourceName - Name of the ClassLoader resource to add
IllegalArgumentException - if resourceName is nulladdApplicationResource(Asset, Path)
T addApplicationResource(File resource)
throws IllegalArgumentException
File to this Archives application context.
File of "test/example.xml" could be placed in
"/META-INF/test/example.xml"
resource - File resource to add
IllegalArgumentException - if resource is nulladdApplicationResource(Asset, Path)
T addApplicationResource(String resourceName,
String target)
throws IllegalArgumentException
Archives application context.
ClassLoader used to obtain the resource is up to
the implementation.
resourceName - Name of the ClassLoader resource to addtarget - The target relative to application path within the archive into which we'll place the resource
IllegalArgumentException - if resource is null
IllegalArgumentException - if target is nulladdApplicationResource(Asset, Path)
T addApplicationResource(File resource,
String target)
throws IllegalArgumentException
File to this Archives application context.
File of "test/example.xml" and a
target of "example/myexample.xml" could be placed in
"/META-INF/example/myexample.xml"
resource - File resource to addtarget - The target relative to application path within the archive into which we'll place the resource
IllegalArgumentException - if resource is null
IllegalArgumentException - if target is nulladdApplicationResource(Asset, Path)
T addApplicationResource(URL resource,
String target)
throws IllegalArgumentException
URL to this Archives application context.
URL of "http://my.com/example.xml" and a
target of "example/myexample.xml" could be placed in
"/META-INF/example/myexample.xml"
resource - URL resource to addtarget - The target relative to application path within the archive into which we'll place the resource
IllegalArgumentException - if resource is null
IllegalArgumentException - if target is nulladdApplicationResource(Asset, Path)
T addApplicationResource(Asset resource,
String target)
throws IllegalArgumentException
Asset to this Archives application context.
resource - Asset resource to addtarget - The target relative to application path within the archive into which we'll place the resource
IllegalArgumentException - if resource is null
IllegalArgumentException - if target is nulladdApplicationResource(Asset, Path)
T addApplicationResource(String resourceName,
Path target)
throws IllegalArgumentException
Archives application context.
ClassLoader used to obtain the resource is up to
the implementation.
resourceName - Name of the ClassLoader resource to addtarget - The target relative to application path within the archive into which we'll place the resource
IllegalArgumentException - if resourceName is null
IllegalArgumentException - if target is nulladdApplicationResource(Asset, Path)
T addApplicationResource(File resource,
Path target)
throws IllegalArgumentException
File to this Archives application context.
File of "test/example.xml" and a
target of "example/myexample.xml" could be placed in
"/META-INF/example/myexample.xml"
resource - File resource to addtarget - The target relative to application path within the archive into which we'll place the resource
IllegalArgumentException - if resource is null
IllegalArgumentException - if target is nulladdApplicationResource(Asset, Path)
T addApplicationResource(URL resource,
Path target)
throws IllegalArgumentException
URL to this Archives application context.
File of "test/example.xml" and a
target of "example/myexample.xml" could be placed in
"/META-INF/example/myexample.xml"
resource - URL resource to addtarget - The target relative to application path within the archive into which we'll place the resource
IllegalArgumentException - if resource is null
IllegalArgumentException - if target is nulladdApplicationResource(Asset, Path)
T addApplicationResource(Asset resource,
Path target)
throws IllegalArgumentException
Asset to this Archives application context.
resource - Asset resource to addtarget - The target relative to application path within the archive into which we'll place the resource
IllegalArgumentException - if resource is null
IllegalArgumentException - if target is null
T addModule(Archive<?> archive)
throws IllegalArgumentException
Archives module context.
Archive name is used as path.
archive - The archive to use
IllegalArgumentException - if archive is null
T addModule(String resourceName)
throws IllegalArgumentException
Archives module context.
resourceName - Name of the ClassLoader resource to add
IllegalArgumentException - if resourceName is nulladdModule(Asset, Path)
T addModule(File resource)
throws IllegalArgumentException
File to this Archives module context.
File name is used as path.
resource - File resource to add
IllegalArgumentException - if resource is nulladdModule(Asset, Path)
T addModule(String resourceName,
String targetPath)
throws IllegalArgumentException
Archives module context.
resourceName - Name of the ClassLoader resource to addtargetPath - The target path within the archive in which to add the resource, relative to the Archives module path.
IllegalArgumentException - if resourceName is null
IllegalArgumentException - if targetPath is nulladdModule(Asset, Path)
T addModule(File resource,
String targetPath)
throws IllegalArgumentException
File to this Archives module context.
resource - File resource to addtargetPath - The target path within the archive in which to add the resource, relative to the Archives module path.
IllegalArgumentException - if resource is null
IllegalArgumentException - if targetPath is nulladdModule(Asset, Path)
T addModule(URL resource,
String targetPath)
throws IllegalArgumentException
URL to this Archives module context.
resource - URL resource to addtargetPath - The target path within the archive in which to add the resource, relative to the Archives module path.
IllegalArgumentException - if resource is null
IllegalArgumentException - if targetPath is nulladdModule(Asset, Path)
T addModule(Asset resource,
String targetPath)
throws IllegalArgumentException
Asset to this Archives module context.
resource - Asset resource to addtargetPath - The target path within the archive in which to add the resource, relative to the Archives module path.
IllegalArgumentException - if resource is null
IllegalArgumentException - if targetPath is nulladdModule(Asset, Path)
T addModule(String resourceName,
Path targetPath)
throws IllegalArgumentException
Archives module context.
resourceName - Name of the ClassLoader resource to addtargetPath - The target path within the archive in which to add the resource, relative to the Archives module path.
IllegalArgumentException - if resourceName is null
IllegalArgumentException - if targetPath is nulladdModule(Asset, Path)
T addModule(File resource,
Path targetPath)
throws IllegalArgumentException
File to this Archives module context.
resource - File resource to addtargetPath - The target path within the archive in which to add the resource, relative to the Archives module path.
IllegalArgumentException - if resource is null
IllegalArgumentException - if targetPath is nulladdModule(Asset, Path)
T addModule(URL resource,
Path targetPath)
throws IllegalArgumentException
URL to this Archives module context.
resource - URL resource to addtargetPath - The target path within the archive in which to add the resource, relative to the Archives module path.
IllegalArgumentException - if resource is null
IllegalArgumentException - if targetPath is nulladdModule(Asset, Path)
T addModule(Asset resource,
Path targetPath)
throws IllegalArgumentException
Asset to this Archives module context.
resource - URL resource to addtargetPath - The target path within the archive in which to add the resource, relative to the Archives module path.
IllegalArgumentException - if targetPath is null
IllegalArgumentException - if resource is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||