org.jboss.weld.tck
Class BeansImpl

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface org.jboss.cdi.tck.spi.Beans
PROPERTY_NAME
 
Constructor Summary
BeansImpl()
           
 
Method Summary
 Object deserialize(byte[] bytes)
           
 boolean isProxy(Object instance)
           
 byte[] serialize(Object instance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeansImpl

public BeansImpl()
Method Detail

isProxy

public boolean isProxy(Object instance)
Specified by:
isProxy in interface org.jboss.cdi.tck.spi.Beans

serialize

public byte[] serialize(Object instance)
                 throws IOException
Specified by:
serialize in interface org.jboss.cdi.tck.spi.Beans
Throws:
IOException

deserialize

public Object deserialize(byte[] bytes)
                   throws IOException,
                          ClassNotFoundException
Specified by:
deserialize in interface org.jboss.cdi.tck.spi.Beans
Throws:
IOException
ClassNotFoundException


Copyright © 2012 Seam Framework. All Rights Reserved.