@ApplicationScoped public class ExamplesServiceImpl extends Object implements ExamplesService
EXAMPLES_SYSTEM_PROPERTY| Constructor and Description |
|---|
ExamplesServiceImpl() |
ExamplesServiceImpl(org.uberfire.io.IOService ioService,
org.guvnor.structure.server.config.ConfigurationFactory configurationFactory,
org.guvnor.structure.server.repositories.RepositoryFactory repositoryFactory,
KieModuleService moduleService,
org.guvnor.structure.repositories.RepositoryCopier repositoryCopier,
org.guvnor.structure.organizationalunit.OrganizationalUnitService ouService,
org.guvnor.common.services.project.service.WorkspaceProjectService projectService,
org.guvnor.common.services.shared.metadata.MetadataService metadataService,
javax.enterprise.event.Event<org.guvnor.common.services.project.events.NewProjectEvent> newProjectEvent,
ProjectScreenService projectScreenService,
ExampleProjectValidators validators) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
ExamplesMetaData |
getMetaData() |
ExampleRepository |
getPlaygroundRepository() |
Set<ExampleProject> |
getProjects(ExampleRepository repository) |
protected List<ExampleProjectValidator> |
getValidators() |
void |
initPlaygroundRepository() |
int |
priority() |
org.guvnor.common.services.project.context.WorkspaceProjectContextChangeEvent |
setupExamples(ExampleOrganizationalUnit exampleTargetOU,
List<ExampleProject> exampleProjects) |
public ExamplesServiceImpl()
@Inject
public ExamplesServiceImpl(@Named(value="ioStrategy")
org.uberfire.io.IOService ioService,
org.guvnor.structure.server.config.ConfigurationFactory configurationFactory,
org.guvnor.structure.server.repositories.RepositoryFactory repositoryFactory,
KieModuleService moduleService,
org.guvnor.structure.repositories.RepositoryCopier repositoryCopier,
org.guvnor.structure.organizationalunit.OrganizationalUnitService ouService,
org.guvnor.common.services.project.service.WorkspaceProjectService projectService,
org.guvnor.common.services.shared.metadata.MetadataService metadataService,
javax.enterprise.event.Event<org.guvnor.common.services.project.events.NewProjectEvent> newProjectEvent,
ProjectScreenService projectScreenService,
ExampleProjectValidators validators)
@PostConstruct public void initPlaygroundRepository()
public ExamplesMetaData getMetaData()
getMetaData in interface ExamplesServicepublic ExampleRepository getPlaygroundRepository()
getPlaygroundRepository in interface ExamplesServicepublic Set<ExampleProject> getProjects(ExampleRepository repository)
getProjects in interface ExamplesServiceprotected List<ExampleProjectValidator> getValidators()
public org.guvnor.common.services.project.context.WorkspaceProjectContextChangeEvent setupExamples(ExampleOrganizationalUnit exampleTargetOU, List<ExampleProject> exampleProjects)
setupExamples in interface ExamplesServicepublic int priority()
priority in interface org.uberfire.commons.lifecycle.PriorityDisposablepublic void dispose()
dispose in interface org.uberfire.commons.lifecycle.DisposableCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.