com.bemoko.live.platform.mwc.profiles
Class ActiveProfileAccessor

java.lang.Object
  extended by com.bemoko.live.platform.mwc.profiles.ActiveProfileAccessor

public class ActiveProfileAccessor
extends Object

API onto an active profiles that supports the bean operations to determine whether a named profile is active


Constructor Summary
ActiveProfileAccessor()
           
 
Method Summary
 void addActiveProfile(String activeProfile)
           
 void afterPropertiesSet()
           
 boolean get(String profileName)
           
 BootstrapPlatformConfiguration getBootstrapPlatformConfiguration()
           
 Set<String> getProfiles()
           
 String getProfilesAsString()
           
 void setBootstrapPlatformConfiguration(BootstrapPlatformConfiguration bootstrapPlatformConfiguration)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActiveProfileAccessor

public ActiveProfileAccessor()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()

addActiveProfile

public void addActiveProfile(String activeProfile)

setBootstrapPlatformConfiguration

public void setBootstrapPlatformConfiguration(BootstrapPlatformConfiguration bootstrapPlatformConfiguration)

getBootstrapPlatformConfiguration

public BootstrapPlatformConfiguration getBootstrapPlatformConfiguration()

get

public boolean get(String profileName)

getProfiles

public Set<String> getProfiles()

toString

public String toString()
Overrides:
toString in class Object

getProfilesAsString

public String getProfilesAsString()
Returns:
the profilesAsString