Class PassivationCapableSerializableBean<B extends jakarta.enterprise.inject.spi.Bean<I> & jakarta.enterprise.inject.spi.PassivationCapable,I>
- java.lang.Object
-
- org.jboss.weld.util.bean.ForwardingBeanAttributes<T>
-
- org.jboss.weld.util.bean.IsolatedForwardingBean<T>
-
- org.jboss.weld.bean.ForwardingBean<I>
-
- org.wildfly.clustering.weld.contexts.PassivationCapableSerializableBean<B,I>
-
- All Implemented Interfaces:
jakarta.enterprise.context.spi.Contextual<I>,jakarta.enterprise.inject.spi.Bean<I>,jakarta.enterprise.inject.spi.BeanAttributes<I>,jakarta.enterprise.inject.spi.PassivationCapable,Serializable,org.jboss.weld.bean.WrappedContextual<I>,org.jboss.weld.serialization.spi.helpers.SerializableContextual<B,I>,MarshallableContextual<B>,PassivationCapableContextual<B,I>
public class PassivationCapableSerializableBean<B extends jakarta.enterprise.inject.spi.Bean<I> & jakarta.enterprise.inject.spi.PassivationCapable,I> extends org.jboss.weld.bean.ForwardingBean<I> implements PassivationCapableContextual<B,I>, MarshallableContextual<B>
- Author:
- Paul Ferraro
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.weld.util.bean.IsolatedForwardingBean
org.jboss.weld.util.bean.IsolatedForwardingBean.Impl<T extends Object>
-
-
Constructor Summary
Constructors Constructor Description PassivationCapableSerializableBean(String contextId, B instance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.enterprise.inject.spi.Bean<I>delegate()Bget()StringgetContextId()Returns the identifier of this context.StringgetId()org.jboss.weld.serialization.spi.BeanIdentifiergetIdentifier()BgetInstance()-
Methods inherited from class org.jboss.weld.util.bean.IsolatedForwardingBean
create, destroy, equals, getBeanClass, getInjectionPoints, hashCode
-
Methods inherited from class org.jboss.weld.util.bean.ForwardingBeanAttributes
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getIdentifier
public org.jboss.weld.serialization.spi.BeanIdentifier getIdentifier()
- Specified by:
getIdentifierin interfaceMarshallableContextual<B extends jakarta.enterprise.inject.spi.Bean<I> & jakarta.enterprise.inject.spi.PassivationCapable>
-
getInstance
public B getInstance()
- Specified by:
getInstancein interfaceMarshallableContextual<B extends jakarta.enterprise.inject.spi.Bean<I> & jakarta.enterprise.inject.spi.PassivationCapable>
-
getId
public String getId()
- Specified by:
getIdin interfacejakarta.enterprise.inject.spi.PassivationCapable
-
get
public B get()
-
delegate
public jakarta.enterprise.inject.spi.Bean<I> delegate()
-
getContextId
public String getContextId()
Description copied from interface:PassivationCapableContextualReturns the identifier of this context.- Specified by:
getContextIdin interfacePassivationCapableContextual<B extends jakarta.enterprise.inject.spi.Bean<I> & jakarta.enterprise.inject.spi.PassivationCapable,I>- Returns:
- a context identifier.
-
-