org.jboss.weld.tck
Class BeansImpl

java.lang.Object
  extended by org.jboss.weld.tck.BeansImpl
All Implemented Interfaces:
org.jboss.jsr299.tck.spi.Beans

public class BeansImpl
extends java.lang.Object
implements org.jboss.jsr299.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.jsr299.tck.spi.Beans
PROPERTY_NAME
 
Constructor Summary
BeansImpl()
           
 
Method Summary
 java.lang.Object deserialize(byte[] bytes)
           
 boolean isProxy(java.lang.Object instance)
           
 byte[] serialize(java.lang.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(java.lang.Object instance)
Specified by:
isProxy in interface org.jboss.jsr299.tck.spi.Beans

serialize

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

deserialize

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


Copyright © 2011 Seam Framework. All Rights Reserved.