Package org.cipango.kaleo.presence.policy

Examples of org.cipango.kaleo.presence.policy.Policy


 
  protected Presentity newResource(String uri)
  {
    Presentity presentity = new Presentity(uri);
    presentity.addListener(getEventNotifier());
    Policy policy = _policyManager.getPolicy(presentity);
    policy.addListener(_policyListener);
    return presentity;
  }
View Full Code Here


 
  @Override
  protected void removeResource(Presentity presentity)
  {
    super.removeResource(presentity);
    Policy policy = _policyManager.getPolicy(presentity);
    policy.removeListener(_policyListener);
  }
View Full Code Here

TOP

Related Classes of org.cipango.kaleo.presence.policy.Policy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.