brooklyn.management.internal.ManagementContextInternal Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of brooklyn-core Show documentation
Show all versions of brooklyn-core Show documentation
Entity implementation classes, events, and other core elements
package brooklyn.management.internal;
import java.net.URL;
import java.util.Map;
import java.util.concurrent.ExecutionException;
import brooklyn.config.ConfigKey;
import brooklyn.entity.Effector;
import brooklyn.entity.Entity;
import brooklyn.entity.basic.ConfigKeys;
import brooklyn.internal.storage.BrooklynStorage;
import brooklyn.management.ManagementContext;
import brooklyn.management.Task;
public interface ManagementContextInternal extends ManagementContext {
public static final String EFFECTOR_TAG = "EFFECTOR";
public static final String NON_TRANSIENT_TASK_TAG = "NON-TRANSIENT";
public static final ConfigKey BROOKLYN_CATALOG_URL = ConfigKeys.newStringConfigKey("brooklyn.catalog.url",
"The URL of a catalog.xml descriptor; absent for default (~/.brooklyn/catalog.xml), " +
"or empty for no URL (use default scanner)", "file://~/.brooklyn/catalog.xml");
ClassLoader getBaseClassLoader();
Iterable getBaseClassPathForScanning();
void setBaseClassPathForScanning(Iterable urls);
void addEntitySetListener(CollectionChangeListener listener);
void removeEntitySetListener(CollectionChangeListener listener);
void terminate();
long getTotalEffectorInvocations();
T invokeEffectorMethodSync(final Entity entity, final Effector eff, final Object args) throws ExecutionException;
Task invokeEffector(final Entity entity, final Effector eff, @SuppressWarnings("rawtypes") final Map parameters);
BrooklynStorage getStorage();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy