org.n0pe.asadmin
Class AbstractAsAdminCmd

java.lang.Object
  extended by org.n0pe.asadmin.AbstractAsAdminCmd
All Implemented Interfaces:
IAsAdminCmd
Direct Known Subclasses:
CreateAuthRealm, CreateFileUser, CreateJdbcConnectionPool, CreateJdbcResource, CreateMessageSecurityProvider, Database, DeleteFileUser, DeleteJdbcConnectionPool, DeleteJdbcResource, DeleteMessageSecurityProvider, Deployment, Domain, EnableSecureAdmin, Get, ListApplicationRefs, ListDomains, ListFileUsers, PingConnectionPool, Set, UpdateFileUser

public abstract class AbstractAsAdminCmd
extends Object
implements IAsAdminCmd


Constructor Summary
AbstractAsAdminCmd()
           
 
Method Summary
 Reader getErrorOutput()
           
 Reader getStandardOutput()
           
 String handlePasswordFile(String configuredPasswordFile)
          Hooks called by AsAdmin to allow commands to impact the configured password file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.n0pe.asadmin.IAsAdminCmd
getActionCommand, getParameters, needCredentials
 

Constructor Detail

AbstractAsAdminCmd

public AbstractAsAdminCmd()
Method Detail

getStandardOutput

public final Reader getStandardOutput()
Specified by:
getStandardOutput in interface IAsAdminCmd

getErrorOutput

public final Reader getErrorOutput()
Specified by:
getErrorOutput in interface IAsAdminCmd

handlePasswordFile

public String handlePasswordFile(String configuredPasswordFile)
                          throws AsAdminException
Description copied from interface: IAsAdminCmd
Hooks called by AsAdmin to allow commands to impact the configured password file.

Specified by:
handlePasswordFile in interface IAsAdminCmd
Parameters:
configuredPasswordFile - Configured password file
Returns:
Password file, same or changed if needed
Throws:
AsAdminException


Copyright © 2012. All Rights Reserved.