Package com.atlassian.crowd.embedded.api
Interface ApplicationFactory
public interface ApplicationFactory
Necessary evil as Crowd's Application is a concrete class.
A given instance of this factory must always return the same instance of Application.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanUsed in order to distinguish if we're running in Embedded Crowd or in Crowd as standalone product.
-
Method Details
-
getApplication
Application getApplication() -
getApplicationName
String getApplicationName() -
isEmbeddedCrowd
boolean isEmbeddedCrowd()Used in order to distinguish if we're running in Embedded Crowd or in Crowd as standalone product.- Returns:
- true if we're running in Embedded Crowd, false if in Crowd as standalone product.
-