Class CrowdApplicationFactory
java.lang.Object
com.atlassian.crowd.console.embedded.api.CrowdApplicationFactory
- All Implemented Interfaces:
com.atlassian.crowd.embedded.api.ApplicationFactory
public class CrowdApplicationFactory
extends Object
implements com.atlassian.crowd.embedded.api.ApplicationFactory
This class has the responsibility of returning an instance of the 'Crowd'
application (not constructing it).
Uses
InternalApplicationHelper internally, which assumes there's
only one application of type CROWD. This additionally assumes that the application name doesn't change during
runtime.- Since:
- 2.5
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.crowd.model.application.Applicationboolean
-
Field Details
-
DEFAULT_CROWD_APPLICATION_NAME
- See Also:
-
-
Constructor Details
-
CrowdApplicationFactory
-
-
Method Details
-
getApplication
public com.atlassian.crowd.model.application.Application getApplication()- Specified by:
getApplicationin interfacecom.atlassian.crowd.embedded.api.ApplicationFactory
-
getApplicationName
- Specified by:
getApplicationNamein interfacecom.atlassian.crowd.embedded.api.ApplicationFactory
-
isEmbeddedCrowd
public boolean isEmbeddedCrowd()- Specified by:
isEmbeddedCrowdin interfacecom.atlassian.crowd.embedded.api.ApplicationFactory
-