@Override public MarshallingConfigurationRepository get() { return new SimpleMarshallingConfigurationRepository(MarshallingVersion.class, MarshallingVersion.CURRENT, this); }
@Override public MarshallingContext getMarshallingContext() { return new SimpleMarshallingContextFactory().createMarshallingContext(new SimpleMarshallingConfigurationRepository(MarshallingVersion.class, MarshallingVersion.CURRENT, this), this.getModule().getClassLoader()); }
@Override public MarshallingContext getMarshallingContext() { return new SimpleMarshallingContextFactory().createMarshallingContext(new SimpleMarshallingConfigurationRepository(MarshallingVersion.class, MarshallingVersion.CURRENT, this), this.getModule().getClassLoader()); }
@Override public SSOManager<A, D, S, L, Batch> get() { SSOManagerFactory<A, D, S, Batch> factory = this.factory.get(); Module module = Module.forClass(this.getClass()); this.context = new SimpleMarshallingContextFactory().createMarshallingContext(new SimpleMarshallingConfigurationRepository(MarshallingVersion.class, MarshallingVersion.CURRENT, module), null); SSOManager<A, D, S, L, Batch> manager = factory.createSSOManager(this); manager.start(); return manager; }
MarshallingContext context = new SimpleMarshallingContextFactory().createMarshallingContext(new SimpleMarshallingConfigurationRepository(MarshallingVersion.class, MarshallingVersion.CURRENT, module), module.getClassLoader()); MarshalledValueFactory<MarshallingContext> factory = new SimpleMarshalledValueFactory(context); LocalContextFactory<LocalSessionContext> localContextFactory = new LocalSessionContextFactory();