Class IdentityPlaceholderResolverStrategy

  • All Implemented Interfaces:
    org.kie.api.marshalling.ObjectMarshallingStrategy

    public class IdentityPlaceholderResolverStrategy
    extends Object
    implements org.kie.api.marshalling.ObjectMarshallingStrategy
    • Constructor Detail

      • IdentityPlaceholderResolverStrategy

        public IdentityPlaceholderResolverStrategy​(org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor)
      • IdentityPlaceholderResolverStrategy

        public IdentityPlaceholderResolverStrategy​(String name,
                                                   org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor)
      • IdentityPlaceholderResolverStrategy

        public IdentityPlaceholderResolverStrategy​(org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor,
                                                   Map<Integer,​Object> ids)
      • IdentityPlaceholderResolverStrategy

        public IdentityPlaceholderResolverStrategy​(String name,
                                                   org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor,
                                                   Map<Integer,​Object> ids)
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface org.kie.api.marshalling.ObjectMarshallingStrategy
      • accept

        public boolean accept​(Object object)
        Specified by:
        accept in interface org.kie.api.marshalling.ObjectMarshallingStrategy
      • marshal

        public byte[] marshal​(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context,
                              ObjectOutputStream os,
                              Object object)
        Specified by:
        marshal in interface org.kie.api.marshalling.ObjectMarshallingStrategy
      • unmarshal

        public Object unmarshal​(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context,
                                ObjectInputStream is,
                                byte[] object,
                                ClassLoader classloader)
        Specified by:
        unmarshal in interface org.kie.api.marshalling.ObjectMarshallingStrategy
      • createContext

        public org.kie.api.marshalling.ObjectMarshallingStrategy.Context createContext()
        Specified by:
        createContext in interface org.kie.api.marshalling.ObjectMarshallingStrategy