Package org.kie.api.marshalling
Interface KieMarshallers
-
- All Superinterfaces:
Comparable<KieService>,KieService
public interface KieMarshallers extends KieService
This api is experimental and thus the classes and the interfaces returned are subject to change.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectMarshallingStrategyAcceptornewClassFilterAcceptor(String[] patterns)ObjectMarshallingStrategynewIdentityMarshallingStrategy()ObjectMarshallingStrategynewIdentityMarshallingStrategy(ObjectMarshallingStrategyAcceptor acceptor)MarshallernewMarshaller(KieBase kbase)The marshalling strategies for this method are undefined and thus they are derived from the ksession's or environment provided.MarshallernewMarshaller(KieBase kbase, ObjectMarshallingStrategy[] strategies)This will override the strategies specified in the ksession or environment.ObjectMarshallingStrategynewSerializeMarshallingStrategy()ObjectMarshallingStrategynewSerializeMarshallingStrategy(ObjectMarshallingStrategyAcceptor acceptor)-
Methods inherited from interface org.kie.api.internal.utils.KieService
compareTo, servicePriority
-
-
-
-
Method Detail
-
newClassFilterAcceptor
ObjectMarshallingStrategyAcceptor newClassFilterAcceptor(String[] patterns)
-
newIdentityMarshallingStrategy
ObjectMarshallingStrategy newIdentityMarshallingStrategy()
-
newIdentityMarshallingStrategy
ObjectMarshallingStrategy newIdentityMarshallingStrategy(ObjectMarshallingStrategyAcceptor acceptor)
-
newSerializeMarshallingStrategy
ObjectMarshallingStrategy newSerializeMarshallingStrategy()
-
newSerializeMarshallingStrategy
ObjectMarshallingStrategy newSerializeMarshallingStrategy(ObjectMarshallingStrategyAcceptor acceptor)
-
newMarshaller
Marshaller newMarshaller(KieBase kbase)
The marshalling strategies for this method are undefined and thus they are derived from the ksession's or environment provided.- Parameters:
kbase-- Returns:
- marshaller created for the specified KieBase
-
newMarshaller
Marshaller newMarshaller(KieBase kbase, ObjectMarshallingStrategy[] strategies)
This will override the strategies specified in the ksession or environment.- Parameters:
kbase-strategies-- Returns:
- marshaller created for the specified KieBase with the custom marshalling strategies
-
-