|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransientBuilderFactory
This factory creates TransientComposites and the TransientBuilders. TransientComposite instances are very flexible in what it can reference, but are restricted in where they can be used. So, TransientComposites are mainly recommended where Values, Entities and Services can not be used, but they can also not be used to store state, be serialized across a network or have automatic equals/hashCode calculations.
Method Summary | ||
---|---|---|
|
newTransient(Class<T> mixinType)
Instantiate a TransientComposite of the given type. |
|
|
newTransientBuilder(Class<T> mixinType)
Create a builder for creating new TransientComposites that implements the given TransientComposite type. |
Method Detail |
---|
<T> TransientBuilder<T> newTransientBuilder(Class<T> mixinType) throws NoSuchCompositeException
mixinType
- an interface that describes the TransientComposite to be instantiated
NoSuchCompositeException
- if no composite extending the mixinType has been registered<T> T newTransient(Class<T> mixinType) throws NoSuchCompositeException, ConstructionException
mixinType
- the TransientComposite type to instantiate
NoSuchCompositeException
- if no composite extending the mixinType has been registered
ConstructionException
- if the composite could not be instantiated
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |