|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.sapia.regis.ant.RegistryTask
public class RegistryTask
This Ant task is used to update a configuration into a remote registry. It must be given the host/port of that registry, or the JNDI name of that registry as well as the URL of the Ubik JNDI server to which it is bound.
RegistryServer| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
description, location, target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
project |
| Constructor Summary | |
|---|---|
RegistryTask()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
void |
setConfig(File file)
|
void |
setHost(String host)
|
void |
setJndiName(String jndiName)
|
void |
setNodePath(String path)
|
void |
setPassword(String password)
|
void |
setPort(int port)
|
void |
setUrl(String url)
|
void |
setUsername(String username)
|
| Methods inherited from class org.apache.tools.ant.Task |
|---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
getProject, setProject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegistryTask()
| Method Detail |
|---|
public void setHost(String host)
host - the registry host to which to connectpublic void setPort(int port)
port - the port of the registry which to connectpublic void setUrl(String url)
url - the URL of the Ubik JNDI server from which to lookup
the registry to update (example: ubik://localhost:1099)public void setJndiName(String jndiName)
public void setConfig(File file)
file - the registry configuration File to upload
into the remote registrypublic void setPassword(String password)
password - the password of the registry to which to connectpublic void setUsername(String username)
username - the username of the registry to which to connectpublic void setNodePath(String path)
path - the path to the node that is to be updated (if not specified, root
the root not will be updated).
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||