Skip to content

Instantly share code, notes, and snippets.

@Shlomo-Tech-Tav
Created May 1, 2012 08:22
Show Gist options
  • Save Shlomo-Tech-Tav/2566252 to your computer and use it in GitHub Desktop.
Save Shlomo-Tech-Tav/2566252 to your computer and use it in GitHub Desktop.
Retrieve Attributes Groovy
import org.cloudifysource.dsl.context.ServiceContextFactory;
def context = com.gigaspaces.cloudify.dsl.context.ServiceContextFactory.getServiceContext()
context.attributes.thisService["myKey"];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment