|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentOperationsRegistryDependencies
Callback interface that allows to resolve system dependencies to portal services automatically.
Method Summary | ||
---|---|---|
|
createDependencies(java.lang.Class<T> cls,
java.lang.Object other,
java.lang.String filter)
Constructs an object instance that implements the interface specified by the cls parameter. |
|
|
createDependencies(java.lang.Class<T> cls,
java.lang.String filter)
Constructs an object instance that implements the interface specified by the cls parameter. |
|
|
getDependency(java.lang.Class<T> cls,
java.lang.String filter)
Resolves a dependency |
Method Detail |
---|
<T> T createDependencies(java.lang.Class<T> cls, java.lang.Object other, java.lang.String filter) throws java.lang.UnsupportedOperationException
getDependency(Class, String)
, all other
methods throw an exception.
cls
- the interface classe, typically a dependency injection
interfaceother
- if this object implements properties that are required by the
dependency interface, these properties will be used, instead
of trying a resolution via
getDependency(Class, String)
.filter
- some filter string, may be null
java.lang.UnsupportedOperationException
- if one of the getter methods cannot be resolved<T> T createDependencies(java.lang.Class<T> cls, java.lang.String filter) throws java.lang.UnsupportedOperationException
getDependency(Class, String)
, all other methods throw an
exception.
cls
- the interface classe, typically a dependency injection
interfacefilter
- some filter string, may be null
java.lang.UnsupportedOperationException
- if one of the getter methods cannot be resolved<T> T getDependency(java.lang.Class<T> cls, java.lang.String filter)
cls
- name of the interface of the dependencyfilter
- some filter string, may be null
null
if the dependency
could not be resolved
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |