Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.api.adapter
Class SessionAdapterFactory<T>

java.lang.Object
  extended by org.nuxeo.ecm.core.api.adapter.SessionAdapterFactory<T>

public abstract class SessionAdapterFactory<T>
extends Object

Author:
Bogdan Stefanescu

Constructor Summary
SessionAdapterFactory()
           
 
Method Summary
abstract  T getAdapter(CoreSession session)
           
static
<T> T
getAdapter(CoreSession session, Class<T> itf)
           
static SessionAdapterFactory<?> getAdapter(String itf)
           
static void registerAdapter(String itf, SessionAdapterFactory<?> adapter)
           
static void unregisterAdapter(String itf)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionAdapterFactory

public SessionAdapterFactory()
Method Detail

getAdapter

public abstract T getAdapter(CoreSession session)

registerAdapter

public static void registerAdapter(String itf,
                                   SessionAdapterFactory<?> adapter)

unregisterAdapter

public static void unregisterAdapter(String itf)

getAdapter

public static SessionAdapterFactory<?> getAdapter(String itf)

getAdapter

public static <T> T getAdapter(CoreSession session,
                               Class<T> itf)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.