|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fulcrum.yaafi.framework.factory.ServiceContainerFactory
public class ServiceContainerFactory
A factory to hide how to initialize YAFFI since this might change over the time
| Constructor Summary | |
|---|---|
ServiceContainerFactory()
|
|
| Method Summary | |
|---|---|
static ServiceContainer |
create(ServiceContainerConfiguration serviceManagerConfig)
Create a fully initialized YAFFI service container. |
static ServiceContainer |
create(ServiceContainerConfiguration serviceManagerConfig,
org.apache.avalon.framework.context.Context context)
Create a fully initialized YAFFI service container |
static boolean |
dispose(ServiceContainer container)
Disposes the container. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceContainerFactory()
| Method Detail |
|---|
public static ServiceContainer create(ServiceContainerConfiguration serviceManagerConfig)
throws Exception
serviceManagerConfig - the configuration to use
Exception - the creation failed
public static ServiceContainer create(ServiceContainerConfiguration serviceManagerConfig,
org.apache.avalon.framework.context.Context context)
throws Exception
serviceManagerConfig - the configuration to usecontext - the context to use
Exception - the creation failedpublic static boolean dispose(ServiceContainer container)
container - the container to be disposed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||