private ClientPluggableFeatureFactory createPluggableFeatureFactory() {
String featurePropClass = System.getProperty(
ClientPluggableFeatureFactory.PLUGGABLE_FEATURES_PROPERTY_NAME,
DEFAULT_FEATURES_PROPERTY_CLASS);
getLogger().log(Level.FINER, "featurePropClass: " + featurePropClass);
ClientPluggableFeatureFactoryImpl featureFactoryImpl =
new ClientPluggableFeatureFactoryImpl(getLogger());
ClientPluggableFeatureFactory featureFactory =
(ClientPluggableFeatureFactory)featureFactoryImpl.getInstance(featurePropClass);
if (featureFactory == null) {
getLogger().log(Level.WARNING,
"j2eerunner.pluggable_feature_noinit", featurePropClass);
}
return featureFactory;