* request-scoped component definition
*
*/
private List<Extensible> createAssembly() throws BuilderException, ConfigurationLoadException {
WireFactoryService wireService = new DefaultWireFactoryService(new MessageFactoryImpl(), new JDKWireFactoryFactory(), new DefaultPolicyBuilderRegistry());
JavaContextFactoryBuilder builder = new JavaContextFactoryBuilder(wireService);
AtomicComponent component = MockFactory.createComponent("TestService1", ModuleScopeComponentImpl.class, Scope.MODULE);
AtomicComponent sessionComponent = MockFactory.createComponent("TestService2", SessionScopeComponentImpl.class,
Scope.SESSION);
AtomicComponent requestComponent = MockFactory.createComponent("TestService3", SessionScopeComponentImpl.class,
Scope.REQUEST);
builder.build(component);
builder.build(sessionComponent);
builder.build(requestComponent);
List<Extensible> configs = new ArrayList<Extensible>();
configs.add(component);
configs.add(sessionComponent);
configs.add(requestComponent);
return configs;