Interface ApplicationComponent<A>
- Type Parameters:
A- the type of the application aApplicationComponentcan belong to.
public interface ApplicationComponent<A>
A
ApplicationComponent can belong to an application.- Author:
- Silvan Wyss
-
Method Summary
-
Method Details
-
belongsToApplication
boolean belongsToApplication()- Returns:
- true if the current
ApplicationComponentbelongs to an application, false otherwise.
-
getStoredParentApplication
A getStoredParentApplication()- Returns:
- the application of the current
ApplicationComponent. - Throws:
RuntimeException- if the currentApplicationComponentdoes not belong to an application.
-