Package org.jboss.weld.tck
Class BeansImpl
- java.lang.Object
-
- org.jboss.weld.tck.BeansImpl
-
- All Implemented Interfaces:
org.jboss.cdi.tck.spi.Beans
public class BeansImpl extends Object implements org.jboss.cdi.tck.spi.Beans
Implements the Beans SPI for the TCK specifically for the JBoss RI.- Author:
- Shane Bryzak, Pete Muir, David Allen
-
-
Constructor Summary
Constructors Constructor Description BeansImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectactivate(byte[] bytes)booleanisProxy(Object instance)byte[]passivate(Object instance)
-
-
-
Method Detail
-
isProxy
public boolean isProxy(Object instance)
- Specified by:
isProxyin interfaceorg.jboss.cdi.tck.spi.Beans
-
passivate
public byte[] passivate(Object instance) throws IOException
- Specified by:
passivatein interfaceorg.jboss.cdi.tck.spi.Beans- Throws:
IOException
-
activate
public Object activate(byte[] bytes) throws IOException, ClassNotFoundException
- Specified by:
activatein interfaceorg.jboss.cdi.tck.spi.Beans- Throws:
IOExceptionClassNotFoundException
-
-