return (Class<T>) c; } else if (componentSpec.startsWith("plugin:")) { //$NON-NLS-1$ PluginCoordinates coordinates = PluginCoordinates.fromPolicySpec(componentSpec); if (coordinates == null) { throw new IllegalArgumentException("Invalid plugin component spec: " + componentSpec); //$NON-NLS-1$
return createCustomComponent(componentType, c, configProperties); } else if (componentSpec.startsWith("plugin:")) { //$NON-NLS-1$ PluginCoordinates coordinates = PluginCoordinates.fromPolicySpec(componentSpec); if (coordinates == null) { throw new IllegalArgumentException("Invalid plugin component spec: " + componentSpec); //$NON-NLS-1$
return (Class<T>) c; } else if (componentSpec.startsWith("plugin:")) { //$NON-NLS-1$ PluginCoordinates coordinates = PluginCoordinates.fromPolicySpec(componentSpec); if (coordinates == null) { throw new IllegalArgumentException("Invalid plugin component spec: " + componentSpec); //$NON-NLS-1$
return (Class<T>) c; } else if (componentSpec.startsWith("plugin:")) { //$NON-NLS-1$ PluginCoordinates coordinates = PluginCoordinates.fromPolicySpec(componentSpec); if (coordinates == null) { throw new IllegalArgumentException("Invalid plugin component spec: " + componentSpec); //$NON-NLS-1$
PluginCoordinates coordinates = PluginCoordinates.fromPolicySpec(policyImpl); if (coordinates == null) { handler.handle(AsyncResultImpl.<IPolicy>create(new PolicyNotFoundException(policyImpl)));
PluginCoordinates coordinates = PluginCoordinates.fromPolicySpec(policyImpl); if (coordinates == null) { handler.handle(AsyncResultImpl.<IPolicy>create(new PolicyNotFoundException(policyImpl)));