Package com.zfabrik.impl.springframework
Class BeanResource
java.lang.Object
com.zfabrik.resources.provider.Resource
com.zfabrik.impl.springframework.BeanResource
Resource abstraction for Spring bean from application context.
Simply serves whatever the bean implements.
This resource implements components of type org.springframework.bean
.
Configuration properties
- bean.context
- Identifies the context component (of type
org.springframework.context
, seeContextResource
) that defines the bean. - bean.name
- Name of the bean in the context mentioned above.
For example, a bean component declaration may look like this:
com.zfabrik.component.type=org.springframework.bean # # the context that defines the bean (more than one # bean can be exposed like this) # bean.context=com.acme.myproject/applicationContext # # the bean name # bean.name=myBean
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
TYPE
- See Also:
- Constant Field Values
-
-
Constructor Details
-
BeanResource
-
-
Method Details
-
as
-
invalidate
- Overrides:
invalidate
in classResource
- Throws:
ResourceBusyException
-