org.jboss.resteasy.core.Dispatcher Java Examples
The following examples show how to use
org.jboss.resteasy.core.Dispatcher.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SofaSynchronousDispatcher.java From sofa-rpc with Apache License 2.0 | 5 votes |
public SofaSynchronousDispatcher(ResteasyProviderFactory providerFactory) { super(providerFactory); this.providerFactory = providerFactory; this.registry = new SofaResourceMethodRegistry(providerFactory); // CHANGE defaultContextObjects.put(Providers.class, providerFactory); defaultContextObjects.put(Registry.class, registry); defaultContextObjects.put(Dispatcher.class, this); defaultContextObjects.put(InternalDispatcher.class, InternalDispatcher.getInstance()); }
Example #2
Source File: Resteasy3Provider.java From spring-security-oauth with MIT License | 4 votes |
@Override public void pushDefaultContextObject(Class type, Object instance) { ResteasyProviderFactory.getInstance(); ResteasyProviderFactory.getContextData(Dispatcher.class).getDefaultContextObjects().put(type, instance); }
Example #3
Source File: Resteasy3Provider.java From spring-security-oauth with MIT License | 4 votes |
@Override public void pushDefaultContextObject(Class type, Object instance) { ResteasyProviderFactory.getInstance(); ResteasyProviderFactory.getContextData(Dispatcher.class).getDefaultContextObjects().put(type, instance); }
Example #4
Source File: Resteasy3Provider.java From spring-security-oauth with MIT License | 4 votes |
@Override public void pushDefaultContextObject(Class type, Object instance) { ResteasyProviderFactory.getInstance(); ResteasyProviderFactory.getContextData(Dispatcher.class).getDefaultContextObjects().put(type, instance); }
Example #5
Source File: Resteasy3Provider.java From spring-boot-keycloak-server-example with Apache License 2.0 | 4 votes |
@Override public void pushDefaultContextObject(Class type, Object instance) { Dispatcher contextData = resteasyProviderFactory().getContextData(Dispatcher.class); contextData.getDefaultContextObjects().put(type, instance); }
Example #6
Source File: ResteasyModule.java From nexus-public with Eclipse Public License 1.0 | 4 votes |
/** * Expose RESTEasy {@link Dispatcher} binding. */ @Provides public Dispatcher dispatcher(final ComponentContainer container) { return ((ComponentContainerImpl)container).getDispatcher(); }
Example #7
Source File: Resteasy3Provider.java From keycloak with Apache License 2.0 | 4 votes |
@Override public void pushDefaultContextObject(Class type, Object instance) { ResteasyProviderFactory.getInstance().getContextData(Dispatcher.class).getDefaultContextObjects() .put(type, instance); }
Example #8
Source File: Resteasy3Provider.java From keycloak with Apache License 2.0 | 4 votes |
@Override public void pushDefaultContextObject(Class type, Object instance) { ResteasyProviderFactory.getInstance().getContextData(Dispatcher.class).getDefaultContextObjects() .put(type, instance); }
Example #9
Source File: ComponentContainer.java From nexus-public with Eclipse Public License 1.0 | votes |
Dispatcher getDispatcher();