Package org.apache.camel.support
Class PlatformHelper
- java.lang.Object
-
- org.apache.camel.support.PlatformHelper
-
@Deprecated public final class PlatformHelper extends Object
Deprecated.Utility dedicated for resolving runtime information related to the platform on which Camel is currently running.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static boolean
isOsgiContext(org.apache.camel.CamelContext camelContext)
Deprecated.additional logic for OSGi should be in their own components in the camel-karaf project
-
-
-
Method Detail
-
isOsgiContext
@Deprecated public static boolean isOsgiContext(org.apache.camel.CamelContext camelContext)
Deprecated.additional logic for OSGi should be in their own components in the camel-karaf projectDetermine whether Camel is OSGi-aware. Current implementation of the method checks if the name of theCamelContext
matches the names of the known OSGi-aware contexts.- Parameters:
camelContext
- context to be tested against OSGi-awareness- Returns:
- true if given context is OSGi-aware, false otherwise
-
-