메소드 | 설명 | |
---|---|---|
Configure ( IKernel container ) : void |
Entry method used by caller to configure the given container with all of this application's dependencies. Also configures the container as this application's dependency resolver.
|
메소드 | 설명 | |
---|---|---|
AddBindings ( IKernel container ) : void |
Add all bindings/dependencies to the container
|
|
ConfigureLog4net ( IKernel container ) : void |
Set up log4net for this application, including putting it in the given container.
|
|
ConfigureNHibernate ( IKernel container ) : void |
Sets up NHibernate, and adds an ISessionFactory to the given container.
|
|
CreateSession ( IContext context ) : ISession |
Method used to create instances of ISession objects and bind them to the HTTP context.
|
|
CreateUserSession ( IContext arg ) : IUserSession |
Used to fetch the current thread's principal as an IUserSession object.
|