Package org.apache.juneau.cp
Class BeanStore.Builder
java.lang.Object
org.apache.juneau.cp.BeanStore.Builder
- Enclosing class:
- BeanStore
Builder class.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Instantiates this bean store.Overrides the bean to return from thebuild()method.Specifies the outer bean context.Specifies the parent bean store.readOnly()Specifies that the bean store is read-only.Specifies that the bean store being created should be thread-safe.Overrides the bean store type.
- 
Constructor Details- 
Builderprotected Builder()Constructor.
 
- 
- 
Method Details- 
buildInstantiates this bean store.- Returns:
- A new bean store.
 
- 
parentSpecifies the parent bean store.Bean searches are performed recursively up this parent chain. - Parameters:
- value- The setting value.
- Returns:
- This object.
 
- 
readOnlySpecifies that the bean store is read-only.This means methods such as BeanStore.addBean(Class, Object)cannot be used.- Returns:
- This object.
 
- 
threadSafeSpecifies that the bean store being created should be thread-safe.- Returns:
- This object.
 
- 
outerSpecifies the outer bean context.The outer context bean to use when calling constructors on inner classes. - Parameters:
- value- The outer bean context. Can be- null .
- Returns:
- This object.
 
- 
implOverrides the bean to return from thebuild()method.- Parameters:
- value- The bean to return from the- build()method.
- Returns:
- This object.
 
- 
typeOverrides the bean store type.The specified type must have one of the following: - A static getInstance() method.
- A public constructor that takes in this builder.
- A protected constructor that takes in this builder.
 - Parameters:
- value- The bean store type.
- Returns:
- This object.
 
- A static 
 
-