Package org.exoplatform.container
Class InstanceComponentAdapter<T>
java.lang.Object
org.exoplatform.container.AbstractComponentAdapter<T>
org.exoplatform.container.InstanceComponentAdapter<T>
- All Implemented Interfaces:
Serializable,ComponentAdapter<T>,ComponentAdapter<T>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the component instance.booleanIndicates whether or not this adapter is a singletonMethods inherited from class org.exoplatform.container.AbstractComponentAdapter
checkTypeCompatibility, getComponentImplementation, getComponentKey, toString
-
Constructor Details
-
InstanceComponentAdapter
- Throws:
ContainerException
-
-
Method Details
-
getComponentInstance
Retrieve the component instance. This method will usually create a new instance each time it is called, but that is not required.- Returns:
- the component instance.
-
isSingleton
public boolean isSingleton()Indicates whether or not this adapter is a singleton
-