| |
|
| com.sun.jbi.ui.ant.JbiJmxTask com.sun.jbi.ui.ant.JbiTargetTask com.sun.jbi.ui.ant.JbiInstallSharedLibraryTask
JbiInstallSharedLibraryTask | public class JbiInstallSharedLibraryTask extends JbiTargetTask (Code) | | This class is an ant task for installing a shared library.
author: Sun Microsystems, Inc. |
executeTask | public void executeTask() throws BuildException(Code) | | executes the install shared library task. Ant Task framework calls this method to
excute the task.
throws: BuildException - if error or exception occurs. |
getFile | public File getFile()(Code) | | Getter for property componentJar.
Value of property componentJar. |
getName | public String getName()(Code) | | Getter for property slib Name.
Value of property slib Name. |
getTaskFailedStatusI18NKey | protected String getTaskFailedStatusI18NKey()(Code) | | returns i18n key. tasks implement this method.
i18n key for the success status |
getTaskSuccessStatusI18NKey | protected String getTaskSuccessStatusI18NKey()(Code) | | returns i18n key. tasks implement this method.
i18n key for the failed status |
setFile | public void setFile(File file)(Code) | | Setter for property componentJar.
Parameters: file - file object. |
setName | public void setName(String name)(Code) | | Setter for property slib Name.
Parameters: name - slib name. |
validateInstallFile | protected void validateInstallFile(File installFile) throws BuildException(Code) | | validates the file
|
validateInstallFromDomainAttributes | protected void validateInstallFromDomainAttributes(String slibName, String target) throws BuildException(Code) | | validate compName with valid target
Parameters: slibName - name of the shared library in the repository Parameters: target - value, can not be domain |
Methods inherited from com.sun.jbi.ui.ant.JbiJmxTask | protected String createFailedFormattedJbiAdminResult(String i18nKey, Object[] args)(Code)(Java Doc) public void execute() throws BuildException(Code)(Java Doc) abstract protected void executeTask() throws BuildException(Code)(Java Doc) protected JBIManagementMessage extractJBIManagementMessage(Exception ex)(Code)(Java Doc) protected String formatTaskFailedMessage(String causeMsg)(Code)(Java Doc) protected String formatTaskSuccessMessage()(Code)(Java Doc) protected String formatTaskSuccessMessage(String causeMsg)(Code)(Java Doc) public String getDefaultHost()(Code)(Java Doc) public String getDefaultJmxpropertiesfile()(Code)(Java Doc) public String getDefaultPassword()(Code)(Java Doc) public String getDefaultPort()(Code)(Java Doc) public String getHost()(Code)(Java Doc) protected I18NBundle getI18NBundle()(Code)(Java Doc) protected JBIAdminCommands getJBIAdminCommands() throws Exception(Code)(Java Doc) protected Properties getJmxConnectionProperties()(Code)(Java Doc) public String getJmxpropertiesfile()(Code)(Java Doc) public String getPassword()(Code)(Java Doc) protected String getPasswordFromFile(File pwFile) throws IOException(Code)(Java Doc) protected String getPasswordFromFileOrAttribute() throws IOException(Code)(Java Doc) public File getPasswordfile()(Code)(Java Doc) public String getPort()(Code)(Java Doc) public Properties getProviderProperties()(Code)(Java Doc) public Boolean getSecure()(Code)(Java Doc) abstract protected String getTaskFailedStatusI18NKey()(Code)(Java Doc) protected String getTaskPartialSuccessStatusI18NKey()(Code)(Java Doc) abstract protected String getTaskSuccessStatusI18NKey()(Code)(Java Doc) protected String getTaskWarningStatusI18NKey()(Code)(Java Doc) public String getUsername()(Code)(Java Doc) protected String getValidComponentName(String compName) throws BuildException(Code)(Java Doc) protected String getValidName(String name, String errorMsgI18nKey) throws BuildException(Code)(Java Doc) protected String getValidServiceAssemblyName(String saName) throws BuildException(Code)(Java Doc) protected String getValidSharedLibraryName(String slibName) throws BuildException(Code)(Java Doc) public boolean isFailOnError()(Code)(Java Doc) protected void logDebug(String aDebugMsg)(Code)(Java Doc) protected void logDebugConnectionAttributes()(Code)(Java Doc) protected void logError(String aErrorMsg)(Code)(Java Doc) protected void logInfo(String anInfoMsg)(Code)(Java Doc) protected void logVerbose(String aVerboseMsg)(Code)(Java Doc) protected void logWarning(String aWarningMsg)(Code)(Java Doc) protected void printArrayDataRecursively(Object[] arrayData, OpenType elementType, PrintWriter msgWriter, String tabStr)(Code)(Java Doc) protected void printCompositeDataRecursively(CompositeData compositeData, PrintWriter msgWriter, String tabStr)(Code)(Java Doc) protected void printMessage(String aMsg)(Code)(Java Doc) protected void printTabularData(TabularData statsReport, PrintWriter msgWriter, String tabStr)(Code)(Java Doc) protected void printTaskPartialSuccess(String result)(Code)(Java Doc) protected void printTaskSuccess(String result)(Code)(Java Doc) protected void printTaskSuccess(JBIManagementMessage mgmtMsg)(Code)(Java Doc) protected void processTaskException(Exception ex) throws BuildException(Code)(Java Doc) protected void processTaskResult(String result) throws BuildException(Code)(Java Doc) public void setFailOnError(boolean failOnError)(Code)(Java Doc) public void setHost(String aHost)(Code)(Java Doc) public void setJmxpropertiesfile(String propertiesfile)(Code)(Java Doc) public void setPassword(String aPassword)(Code)(Java Doc) public void setPasswordfile(File passwordFile)(Code)(Java Doc) public void setPort(String aPort)(Code)(Java Doc) public void setSecure(Boolean secure)(Code)(Java Doc) public void setUsername(String aUsername)(Code)(Java Doc) protected void throwBuildException(String causeMsg) throws BuildException(Code)(Java Doc) protected void throwBuildException(Throwable aCause) throws BuildException(Code)(Java Doc) protected void throwBuildException(JBIManagementMessage aCauseMgmtMsg) throws BuildException(Code)(Java Doc) protected void throwTaskBuildException(String aCauseKey) throws BuildException(Code)(Java Doc) protected void throwTaskBuildException(String aCauseKey, String aCauseArg1) throws BuildException(Code)(Java Doc) protected void validateJmxConnectionPortValue(String port) throws JMXConnectionException(Code)(Java Doc)
|
|
|
|