T
- the typepublic class InstanceConfiguration<T> extends ComponentConfiguration<T>
ComponentFactory
or Provider
.Constructor and Description |
---|
InstanceConfiguration(Class<T> type,
Object instance) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Object |
getInstance() |
int |
hashCode() |
void |
setInstance(T instance) |
static <Y> InstanceConfiguration<Y> |
valueOf(Class<Y> clazz,
Object instance) |
clone, getBindingContext, getKey, getScope, getType, isLazy, setBindingContext, setLazy, setScope, setType
public Object getInstance()
public void setInstance(T instance)
public static <Y> InstanceConfiguration<Y> valueOf(Class<Y> clazz, Object instance)
public boolean equals(Object o)
equals
in class ComponentConfiguration<T>
public int hashCode()
hashCode
in class ComponentConfiguration<T>
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.