Package com.atlassian.crowd.embedded
Class EmbeddedCrowdBootstrapImpl
- java.lang.Object
-
- com.atlassian.crowd.embedded.EmbeddedCrowdBootstrapImpl
-
- All Implemented Interfaces:
EmbeddedCrowdBootstrap
public class EmbeddedCrowdBootstrapImpl extends Object implements EmbeddedCrowdBootstrap
-
-
Field Summary
Fields Modifier and Type Field Description static StringINTERNAL_DIRECTORY_NAME
-
Constructor Summary
Constructors Constructor Description EmbeddedCrowdBootstrapImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.atlassian.crowd.embedded.api.DirectorycreateInternalDirectory()com.atlassian.crowd.embedded.api.DirectorycreateInternalDirectory(boolean active)com.atlassian.crowd.model.application.ApplicationgetOrCreateApplication()voidinitialiseEmbeddedCrowd()voidinitialiseEmbeddedCrowd(boolean isInternalDirectoryActive)
-
-
-
Field Detail
-
INTERNAL_DIRECTORY_NAME
public static final String INTERNAL_DIRECTORY_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialiseEmbeddedCrowd
@Transactional public void initialiseEmbeddedCrowd() throws com.atlassian.crowd.exception.ApplicationNotFoundException, com.atlassian.crowd.exception.DirectoryNotFoundException- Specified by:
initialiseEmbeddedCrowdin interfaceEmbeddedCrowdBootstrap- Throws:
com.atlassian.crowd.exception.ApplicationNotFoundExceptioncom.atlassian.crowd.exception.DirectoryNotFoundException
-
initialiseEmbeddedCrowd
@Transactional public void initialiseEmbeddedCrowd(boolean isInternalDirectoryActive) throws com.atlassian.crowd.exception.ApplicationNotFoundException, com.atlassian.crowd.exception.DirectoryNotFoundException- Specified by:
initialiseEmbeddedCrowdin interfaceEmbeddedCrowdBootstrap- Throws:
com.atlassian.crowd.exception.ApplicationNotFoundExceptioncom.atlassian.crowd.exception.DirectoryNotFoundException
-
getOrCreateApplication
@Transactional public com.atlassian.crowd.model.application.Application getOrCreateApplication()
- Specified by:
getOrCreateApplicationin interfaceEmbeddedCrowdBootstrap
-
createInternalDirectory
public com.atlassian.crowd.embedded.api.Directory createInternalDirectory()
- Specified by:
createInternalDirectoryin interfaceEmbeddedCrowdBootstrap
-
createInternalDirectory
public com.atlassian.crowd.embedded.api.Directory createInternalDirectory(boolean active)
- Specified by:
createInternalDirectoryin interfaceEmbeddedCrowdBootstrap
-
-