org.onebusaway.users.impl
Class UserPropertiesServiceVersionedInvocationHandler

java.lang.Object
  extended by org.onebusaway.users.impl.UserPropertiesServiceVersionedInvocationHandler
All Implemented Interfaces:
InvocationHandler

@ManagedResource(value="org.onebusaway.users.impl:name=UserPropertiesServiceVersionedInvocationHandler")
public class UserPropertiesServiceVersionedInvocationHandler
extends Object
implements InvocationHandler


Constructor Summary
UserPropertiesServiceVersionedInvocationHandler()
           
 
Method Summary
 int getV1References()
           
 int getV2References()
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 void setPreferredVersion(int preferredVersion)
           
 void setUserPropertiesServiceV1(UserPropertiesService userServiceV1)
           
 void setUserPropertiesServiceV2(UserPropertiesService userServiceV2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserPropertiesServiceVersionedInvocationHandler

public UserPropertiesServiceVersionedInvocationHandler()
Method Detail

setUserPropertiesServiceV1

public void setUserPropertiesServiceV1(UserPropertiesService userServiceV1)

setUserPropertiesServiceV2

public void setUserPropertiesServiceV2(UserPropertiesService userServiceV2)

setPreferredVersion

public void setPreferredVersion(int preferredVersion)

getV1References

@ManagedAttribute
public int getV1References()

getV2References

@ManagedAttribute
public int getV2References()

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable


Copyright © 2012 OneBusAway. All Rights Reserved.