com.googlecode.mobilityrpc.session.impl
Class MobilityContextInternal

java.lang.Object
  extended by com.googlecode.mobilityrpc.session.impl.MobilityContextInternal
Direct Known Subclasses:
MobilityContext

public class MobilityContextInternal
extends Object

A "back-end" implementation of MobilityContext with package-private setter methods to allow MobilitySession (in this same pacakge) to set thread-local values while keeping the setters methods non-public.

Author:
Niall Gallagher

Constructor Summary
protected MobilityContextInternal()
          Private constructor, not used.
 
Method Summary
protected static ConnectionId getCurrentConnectionId()
           
protected static MobilitySession getCurrentSession()
           
protected static boolean hasCurrentSession()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MobilityContextInternal

protected MobilityContextInternal()
Private constructor, not used.

Method Detail

getCurrentSession

protected static MobilitySession getCurrentSession()

hasCurrentSession

protected static boolean hasCurrentSession()

getCurrentConnectionId

protected static ConnectionId getCurrentConnectionId()


Copyright © 2012. All Rights Reserved.