|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TargetOwner
Represents any type of owner of a Target.
Each Target object needs to know what object created it so it can delegate certain task to that object. Different classes that connect to the admin back-end in different ways can create Target objects, so this interface prescribes the behavior that each such "owner" of Targets must provide.
Fully-formed Target objects will have links back to their respective TargetOwner objects.
| Method Summary | |
|---|---|
Target |
createTarget(String name)
Creates a single Target with the given name. |
Target[] |
createTargets(String[] names)
Creates several Target objects with the specified names. |
String |
exportClientStubs(String appName,
String destDir)
Exports the Client stub jars to the given location. |
String |
getWebURL(TargetModuleID tmid)
Returns the Web URL for the specified module on the Target
implied by the TargetModuleID. |
void |
setWebURL(TargetModuleID tmid,
String webURL)
Sets the Web URL for the specified module on the Target implied
by the TargetModuleID. |
| Method Detail |
|---|
Target createTarget(String name)
Target with the given name.
name - the name of the Target to be returned
Target[] createTargets(String[] names)
Target objects with the specified names.
names - the names of the targets to be returned
String getWebURL(TargetModuleID tmid)
Target
implied by the TargetModuleID.
tmid -
void setWebURL(TargetModuleID tmid,
String webURL)
Target implied
by the TargetModuleID.
represents a Web module or submodule on a Target.
tmid - the - URL
String exportClientStubs(String appName,
String destDir)
throws IOException
appName - The name of the application or module.destDir - The directory into which the stub jar file
should be exported.
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||