com.izforge.izpack.installer.container.impl
Class InstallerContainer

java.lang.Object
  extended by com.izforge.izpack.core.container.AbstractContainer
      extended by com.izforge.izpack.installer.container.impl.InstallerContainer
All Implemented Interfaces:
Container
Direct Known Subclasses:
AutomatedInstallerContainer, ConsoleInstallerContainer, GUIInstallerContainer

public abstract class InstallerContainer
extends AbstractContainer

Installer container.


Constructor Summary
InstallerContainer()
           
 
Method Summary
protected  void fillContainer(org.picocontainer.MutablePicoContainer container)
          Invoked by AbstractContainer.initialise() to fill the container.
protected  void registerComponents(org.picocontainer.MutablePicoContainer pico)
          Registers components with the container.
protected  void resolveComponents(org.picocontainer.MutablePicoContainer pico)
          Resolve components.
 void setLocale(String code)
          Sets the locale.
 
Methods inherited from class com.izforge.izpack.core.container.AbstractContainer
addComponent, addComponent, addConfig, createChildContainer, createContainer, dispose, fillContainer, getClass, getComponent, getComponent, getContainer, initialise, initialise, removeChildContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstallerContainer

public InstallerContainer()
Method Detail

setLocale

public void setLocale(String code)
Sets the locale.

Parameters:
code - the locale ISO language code
Throws:
IzPackException - if the locale isn't supported

fillContainer

protected void fillContainer(org.picocontainer.MutablePicoContainer container)
Invoked by AbstractContainer.initialise() to fill the container.

Overrides:
fillContainer in class AbstractContainer
Parameters:
container - the underlying container
Throws:
ContainerException - if initialisation fails
org.picocontainer.PicoException - for any PicoContainer error

registerComponents

protected void registerComponents(org.picocontainer.MutablePicoContainer pico)
Registers components with the container.

Parameters:
pico - the container
Throws:
ContainerException - if registration fails
org.picocontainer.PicoException - for any PicoContainer error

resolveComponents

protected void resolveComponents(org.picocontainer.MutablePicoContainer pico)
Resolve components.

Parameters:
pico - the container


Copyright © 2018. All rights reserved.