@ApplicationScoped public class SocialRouter extends Object implements SocialRouterAPI
| Modifier and Type | Class and Description |
|---|---|
class |
SocialRouter.SocialAdapterNotFound |
| Constructor and Description |
|---|
SocialRouter() |
| Modifier and Type | Method and Description |
|---|---|
String |
extractPath(String path) |
SocialAdapter |
getSocialAdapter(String adapterName) |
SocialAdapter |
getSocialAdapterByPath(String path) |
Map<Class,SocialAdapter> |
getSocialAdapters() |
void |
setup() |
@PostConstruct public void setup()
public SocialAdapter getSocialAdapterByPath(String path) throws SocialRouter.SocialAdapterNotFound
getSocialAdapterByPath in interface SocialRouterAPISocialRouter.SocialAdapterNotFoundpublic SocialAdapter getSocialAdapter(String adapterName)
getSocialAdapter in interface SocialRouterAPIpublic Map<Class,SocialAdapter> getSocialAdapters()
Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.