public class BindableProxyFactory extends Object implements org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.FactoryBean<Object>, Bindable, org.springframework.beans.factory.InitializingBean
FactoryBean
for instantiating the interfaces specified via
EnableBinding
EnableBinding
Constructor and Description |
---|
BindableProxyFactory(Class<?> type) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
bindInputs(BindingService bindingService)
Deprecated.
in favor of
createAndBindInputs(BindingService) |
void |
bindOutputs(BindingService bindingService)
Deprecated.
in favor of
createAndBindOutputs(BindingService) |
Collection<Binding<Object>> |
createAndBindInputs(BindingService bindingService)
Binds all the inputs associated with this instance.
|
Collection<Binding<Object>> |
createAndBindOutputs(BindingService bindingService)
Binds all the outputs associated with this instance.
|
Set<String> |
getInputs()
Enumerates all the input binding names.
|
Object |
getObject() |
Class<?> |
getObjectType() |
Set<String> |
getOutputs()
Enumerates all the output binding names.
|
Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
boolean |
isSingleton() |
void |
unbindInputs(BindingService bindingService)
Unbinds all the inputs associated with this instance.
|
void |
unbindOutputs(BindingService bindingService)
Unbinds all the outputs associated with this instance.
|
public BindableProxyFactory(Class<?> type)
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
invoke
in interface org.aopalliance.intercept.MethodInterceptor
Throwable
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<Object>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<Object>
@Deprecated public void bindInputs(BindingService bindingService)
createAndBindInputs(BindingService)
Bindable
bindInputs
in interface Bindable
public Collection<Binding<Object>> createAndBindInputs(BindingService bindingService)
Bindable
createAndBindInputs
in interface Bindable
bindingService
- instance of BindingService
Binding
s@Deprecated public void bindOutputs(BindingService bindingService)
createAndBindOutputs(BindingService)
Bindable
bindOutputs
in interface Bindable
public Collection<Binding<Object>> createAndBindOutputs(BindingService bindingService)
Bindable
createAndBindOutputs
in interface Bindable
bindingService
- instance of BindingService
Binding
spublic void unbindInputs(BindingService bindingService)
Bindable
unbindInputs
in interface Bindable
public void unbindOutputs(BindingService bindingService)
Bindable
unbindOutputs
in interface Bindable
public Set<String> getInputs()
Bindable
public Set<String> getOutputs()
Bindable
getOutputs
in interface Bindable
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.