Class JBossUserMarshaller

All Implemented Interfaces:
Marshaller, StreamingMarshaller

public class JBossUserMarshaller extends JBossMarshaller
An extension of the JBossMarshaller that loads user defined Externalizer implementations. This class can be removed if/when we no longer support a jboss-marshalling based user marshaller.
Since:
10.0
Author:
Ryan Emerson
  • Field Details

  • Constructor Details

    • JBossUserMarshaller

      public JBossUserMarshaller()
    • JBossUserMarshaller

      public JBossUserMarshaller(org.jboss.marshalling.ClassResolver classResolver)
  • Method Details

    • initialize

      public void initialize(GlobalComponentRegistry gcr)
    • isMarshallable

      public boolean isMarshallable(Object o) throws Exception
      Description copied from interface: Marshaller
      A method that checks whether the given object is marshallable as per the rules of this marshaller.
      Specified by:
      isMarshallable in interface Marshaller
      Overrides:
      isMarshallable in class AbstractJBossMarshaller
      Parameters:
      o - object to verify whether it's marshallable or not
      Returns:
      true if the object is marshallable, otherwise false
      Throws:
      Exception - if while checking whether the object was serializable or not, an exception arose