org.apache.james.mpt
Interface SessionFactory

All Known Subinterfaces:
HostSystem
All Known Implementing Classes:
ExternalHostSystem, ExternalSessionFactory

public interface SessionFactory

Builds sessions for protocol testing.


Method Summary
 Session newSession(HostSystem.Continuation continuation)
          Creates a new session for functional testing.
 

Method Detail

newSession

Session newSession(HostSystem.Continuation continuation)
                   throws java.lang.Exception
Creates a new session for functional testing.

Returns:
Session, not null
Throws:
java.lang.Exception


Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.