I - The component interface classpublic class StoreRedirectorProxyFactory<I> extends Object implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
StoreRedirectorProxyFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
I |
getObject() |
Class |
getObjectType() |
boolean |
isSingleton() |
void |
setDefaultBinding(I defaultBinding)
Sets the default component binding
|
void |
setProxyInterface(Class<I> proxyInterface)
Sets the proxy interface
|
void |
setRedirectedProtocolBindings(Map<String,I> protocolBindings)
Sets the binding of store type (protocol string) to component
|
void |
setRedirectedStoreBindings(Map<String,I> storeBindings)
Sets the binding of store type (protocol string) to component
|
public void setProxyInterface(Class<I> proxyInterface)
proxyInterface - the proxy interfacepublic void setDefaultBinding(I defaultBinding)
defaultBinding - the component to call by defaultpublic void setRedirectedProtocolBindings(Map<String,I> protocolBindings)
protocolBindings - the bindingspublic void setRedirectedStoreBindings(Map<String,I> storeBindings)
storeBindings - the bindingspublic void afterPropertiesSet()
throws ServiceException
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanServiceExceptionpublic I getObject()
getObject in interface org.springframework.beans.factory.FactoryBeanpublic Class getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeanpublic boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBeanCopyright © 2005–2018 Alfresco Software. All rights reserved.