Deprecated API


Contents
Deprecated Interfaces
brooklyn.entity.drivers.EntityDriverFactory
          since 0.5; use EntityDriverManager instead 
brooklyn.management.TaskStub
          since 0.5; May be deleted (still up for discussion); one can use Task directly 
 

Deprecated Exceptions
brooklyn.event.EntityStartException
          since 0.5, can instead throw any exception; clusters etc should respond accordingly 
 

Deprecated Methods
brooklyn.entity.Entity.addOwnedChild(Entity)
          since 0.5; see addChild(Entity) 
brooklyn.entity.Entity.clearOwner()
          since 0.5; see clearParent() 
brooklyn.location.Location.findLocationProperty(String)
          since 0.5.0, use getConfig 
brooklyn.entity.basic.EntityLocal.getConfig(ConfigKey.HasConfigKey, T)
          in 0.5; use #getConfig(HasConfigKey) 
brooklyn.entity.basic.EntityLocal.getConfig(ConfigKey, T)
          in 0.5; use Entity.getConfig(ConfigKey) 
brooklyn.management.ExecutionContext.getCurrentTask()
          in 0.5, use Tasks.current() 
brooklyn.management.ManagementContext.getEntities()
          Use getEntityManager().getEntities() instead; deprecated in 0.5 
brooklyn.management.ManagementContext.getEntity(String)
          Use getEntityManager().getEntity(String) instead; deprecated in 0.5 
brooklyn.management.ManagementContext.getEntityDriverFactory()
          since 0.5; use ManagementContext.getEntityDriverManager() 
brooklyn.entity.basic.EntityLocal.getExecutionContext()
          since 0.5.0; access via EntityInternal#getExecutionContext(). 
brooklyn.location.NoMachinesAvailableException.getLocation()
          since 0.5; the catcher can know which location had no machines based on which location they asked for; will remove this so that the exception is definitely serializable. 
brooklyn.location.Location.getLocationProperty(String)
          since 0.5.0, use `if (hasConfig) { getConfig }` if you really need to preserve "don't look at parents" behaviour 
brooklyn.entity.basic.EntityLocal.getManagementContext()
          since 0.5.0; access via EntityInternal#getManagementContext(). 
brooklyn.entity.Entity.getOwnedChildren()
          since 0.5; see getChildren() 
brooklyn.entity.Entity.getOwner()
          since 0.5; see getParent() 
brooklyn.location.Location.hasLocationProperty(String)
          since 0.5.0, use hasConfig 
brooklyn.management.ManagementContext.isManaged(Entity)
          Use getEntityManager().isManaged(Entity) instead; deprecated in 0.5 
brooklyn.management.ManagementContext.manage(Entity)
          Use getEntityManager().manage(Entity) instead; deprecated in 0.5 
brooklyn.entity.Entity.removeOwnedChild(Entity)
          since 0.5; see removeChild(Entity) 
brooklyn.entity.Entity.setOwner(Entity)
          since 0.5; see setOwner(Entity) 
brooklyn.management.ExecutionManager.submit(Map, Object)
          While refactoring groovy->java; use strongly typed methods 
brooklyn.management.ManagementContext.unmanage(Entity)
          Use getEntityManager().unmanage(Entity) instead; deprecated in 0.5 
 

Deprecated Constructors
brooklyn.location.NoMachinesAvailableException()
          since 0.5; always include a helpful message! 
brooklyn.location.NoMachinesAvailableException(Location)
          since 0.5; don't include Location - just use NoMachinesAvailableException.NoMachinesAvailableException(String) 
brooklyn.location.NoMachinesAvailableException(Location, String)
          since 0.5; don't include Location - just use NoMachinesAvailableException.NoMachinesAvailableException(String) 
brooklyn.location.NoMachinesAvailableException(Location, String, Throwable)
          since 0.5; don't include Location - just use NoMachinesAvailableException.NoMachinesAvailableException(String, Throwable) 
brooklyn.location.NoMachinesAvailableException(Location, Throwable)
          since 0.5; don't include Location - just use NoMachinesAvailableException.NoMachinesAvailableException(String, Throwable) 
brooklyn.location.NoMachinesAvailableException(Throwable)
          since 0.5; always include a helpful message! 
 



Copyright © 2013. All Rights Reserved.