|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A type manager implemetation provides support for the creation, storage and retrival of component types.
Method Summary | |
DeploymentProfile |
getProfile(Type type,
String key)
Return a deployment profile for the supplied type and key. |
DeploymentProfile[] |
getProfiles(Type type)
Return the set of deployment profiles for the supplied type. |
Type |
getType(Class clazz)
Locate a Type instances associated with the
supplied implementation classname. |
Type |
getType(String classname)
Locate a Type instances associated with the
supplied implementation classname. |
Type[] |
getTypes()
Return all availble types. |
Type[] |
getTypes(boolean policy)
Return all the types available within the repository. |
Type[] |
getTypes(DependencyDescriptor dependency)
Locate the set of component types capable of services the supplied dependency. |
Type[] |
getTypes(StageDescriptor stage)
Locate the set of component types that provide the supplied extension. |
Method Detail |
public Type[] getTypes()
public Type[] getTypes(boolean policy)
policy
- if TRUE, return all available types, if FALSE
return only the locally established types.
public Type getType(Class clazz) throws TypeUnknownException
Type
instances associated with the
supplied implementation classname.
clazz
- the component type implementation class.
UnknownTypeException
- if a matching type cannot be found
TypeUnknownException
public Type getType(String classname) throws TypeUnknownException
Type
instances associated with the
supplied implementation classname.
classname
- the component type implementation class name.
UnknownTypeException
- if a matching type cannot be found
TypeUnknownException
public Type[] getTypes(DependencyDescriptor dependency)
dependency
- a service dependency descriptor
public Type[] getTypes(StageDescriptor stage)
stage
- a stage descriptor
public DeploymentProfile[] getProfiles(Type type) throws TypeUnknownException
type
- the type
TypeUnknownException
- if the supplied type is unknownpublic DeploymentProfile getProfile(Type type, String key) throws TypeUnknownException, ProfileUnknownException
type
- the typekey
- the profile name
TypeUnknownException
- if the supplied type is unknown
ProfileUnknownException
- if the supplied key is unknown
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |