com.infoengine.administration.dca
Class Installer

java.lang.Object
  extended bycom.infoengine.administration.delegate.Installer
      extended bycom.infoengine.administration.dca.Installer
All Implemented Interfaces:
JarListener

public class Installer
extends Installer
implements JarListener


Nested Class Summary
 
Nested classes inherited from class com.infoengine.administration.delegate.Installer
 
Field Summary
private static String CSPECS_JAR
           
private  String jarFile
           
private static String RESOURCE
           
private static String TASKS_JAR
           
 
Fields inherited from class com.infoengine.administration.delegate.Installer
defaultRepository, defaultRepositoryType, directory, listener, loadPoint, lPoint, namingServiceEntry, nsName, packageDescriptor, packageName, packge, propertyDirectory, propFile, repository, root, taskJar, taskRoot, tasks, vmName, wtproperties
 
Constructor Summary
Installer()
           
 
Method Summary
 void install()
           
 void jarred(String path)
          called each time a file or directory is created in a jar
static void main(String[] args)
           
 void setJar(String s)
           
 void unjarred(File f, boolean overwritten)
          unjar callback
private static void usage()
           
 
Methods inherited from class com.infoengine.administration.delegate.Installer
deleteTree, getProperty, getWtProperties, log, logInfo, logL10N, logln, processProperties, setDefaultRepository, setLoadPoint, setLogMessageListener, setNsName, setPackageDescriptor, setPackageName, setPropFile, setTaskJar, setTasks, setVmName, uninstall, verbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

TASKS_JAR

private static final String TASKS_JAR
See Also:
Constant Field Values

CSPECS_JAR

private static final String CSPECS_JAR
See Also:
Constant Field Values

jarFile

private String jarFile
Constructor Detail

Installer

public Installer()
Method Detail

setJar

public void setJar(String s)
            throws Exception
Throws:
Exception

install

public void install()
             throws IOException,
                    IEException
Overrides:
install in class Installer
Throws:
IOException
IEException

unjarred

public void unjarred(File f,
                     boolean overwritten)
unjar callback

Specified by:
unjarred in interface JarListener
Parameters:
f - the newly created file or directory

jarred

public void jarred(String path)
Description copied from interface: JarListener
called each time a file or directory is created in a jar

Specified by:
jarred in interface JarListener
Parameters:
path - the path within the jar

usage

private static void usage()

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception