|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.bigyo.container.Main
public class Main
Created on 2004.03.31.
Nested Class Summary | |
---|---|
class |
Main.ConfigurationChecker
|
Constructor Summary | |
---|---|
Main()
|
|
Main(Reader componentRegistryReader)
Create the container from the specified registry stream. |
|
Main(String componentRegistryFile)
Create the container from the specified registry file. |
Method Summary | |
---|---|
protected Object |
createComponentFromFile(String componentConfigFile)
|
void |
createXStream()
Deprecated. this is an internal API method, please avoid the usage |
String |
getAsXML(ComponentConfig conf)
Deprecated. @param conf |
CompactReflectionConverter |
getCompactReflectionConverter()
|
Object |
getComponent(String name)
|
ProfileChecker |
getProfileChecker()
|
Registry |
getRegistry()
|
Repository |
getRepository()
|
List |
getStartupComponentNames()
|
com.thoughtworks.xstream.XStream |
getXStream()
|
boolean |
hasProfile(String name)
|
void |
loadComponentRegistry(Reader source)
load additional registry file from the specified source. |
void |
loadConfigurations(File directory)
betolti az adott konyvtarban levo osszes .conf.xml -re vegzodo fajlt. |
protected void |
notifyReconfigurationListeners(Object component,
Object oldConfigBean,
ComponentConfig newConfig)
|
void |
refreshConfiguration(File directory)
|
void |
setProfileChecker(ProfileChecker checker)
|
void |
startup()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Main()
public Main(String componentRegistryFile) throws FileNotFoundException
componentRegistryFile
- the path to the xml file.
FileNotFoundException
- if no registry is foundpublic Main(Reader componentRegistryReader)
componentRegistryReader
- Method Detail |
---|
public Repository getRepository()
public Registry getRegistry()
public void createXStream()
public void loadComponentRegistry(Reader source)
source
- protected Object createComponentFromFile(String componentConfigFile) throws FileNotFoundException, ContainerException, com.thoughtworks.xstream.io.StreamException
FileNotFoundException
ContainerException
com.thoughtworks.xstream.io.StreamException
public void loadConfigurations(File directory) throws ContainerException
directory
-
IOException
ContainerException
public void refreshConfiguration(File directory) throws ContainerException
ContainerException
public Object getComponent(String name) throws ContainerException
ContainerException
protected void notifyReconfigurationListeners(Object component, Object oldConfigBean, ComponentConfig newConfig)
public List getStartupComponentNames()
public void startup() throws ContainerException
ContainerException
public void stop() throws ContainerException
ContainerException
public com.thoughtworks.xstream.XStream getXStream()
public String getAsXML(ComponentConfig conf)
public boolean hasProfile(String name)
public CompactReflectionConverter getCompactReflectionConverter()
public ProfileChecker getProfileChecker()
public void setProfileChecker(ProfileChecker checker)
checker
- The checker to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |