org.apache.xbean.server.loader
Class LoadAllMain

java.lang.Object
  extended by org.apache.xbean.server.loader.LoadAllMain
All Implemented Interfaces:
Main

public class LoadAllMain
extends Object
implements Main

LoadAllMain loads all configurations specified in the arguments passed to main.

Since:
2.0
Author:
Dain Sundstrom

Constructor Summary
LoadAllMain()
           
 
Method Summary
 org.apache.xbean.kernel.Kernel getKernel()
          Gets the kernel in which configurations are loaded.
 Main getNext()
          Gets the next main instance to call.
 void main(String[] args)
          Loads all configurations specified in the args and call the next main instance with no arguments.
 void setKernel(org.apache.xbean.kernel.Kernel kernel)
          Sets the kernel in which configurations are loaded.
 void setNext(Main next)
          Sets the next main instance to call.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadAllMain

public LoadAllMain()
Method Detail

getKernel

public org.apache.xbean.kernel.Kernel getKernel()
Gets the kernel in which configurations are loaded.

Returns:
the kernel in which configurations are loaded

setKernel

public void setKernel(org.apache.xbean.kernel.Kernel kernel)
Sets the kernel in which configurations are loaded.

Parameters:
kernel - the kernel in which configurations are loaded

getNext

public Main getNext()
Gets the next main instance to call.

Returns:
the next main instance to call

setNext

public void setNext(Main next)
Sets the next main instance to call.

Parameters:
next - the next main instance to call

main

public void main(String[] args)
Loads all configurations specified in the args and call the next main instance with no arguments.

Specified by:
main in interface Main
Parameters:
args - the configurations to load


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.