Package aQute.bnd.testing
Class DSTestWiring.Component<T>
- java.lang.Object
-
- aQute.bnd.testing.DSTestWiring.Component<T>
-
- Enclosing class:
- DSTestWiring
public class DSTestWiring.Component<T> extends java.lang.Object
A representation of a component.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.reflect.Method
activate
(package private) java.lang.reflect.Method
deactivate
(package private) T
instance
(package private) java.util.Map<java.lang.String,java.lang.Object>
properties
(package private) java.util.List<DSTestWiring.Reference>
references
(package private) java.lang.Class<T>
type
(package private) boolean
wiring
-
Constructor Summary
Constructors Constructor Description Component()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DSTestWiring.Component<T>
$(java.lang.String key, java.lang.Object value)
private void
doReferences(java.net.URL url)
private java.lang.reflect.Method
findMethod(java.lang.String group)
(package private) void
index(java.lang.Class<?> c)
DSTestWiring.Component<T>
instance(T x)
java.lang.String
toString()
(package private) T
wire(java.util.List<DSTestWiring.Component<?>> ordered)
-
-
-
Field Detail
-
type
java.lang.Class<T> type
-
instance
T instance
-
properties
java.util.Map<java.lang.String,java.lang.Object> properties
-
wiring
boolean wiring
-
activate
java.lang.reflect.Method activate
-
deactivate
java.lang.reflect.Method deactivate
-
references
java.util.List<DSTestWiring.Reference> references
-
-
Method Detail
-
wire
T wire(java.util.List<DSTestWiring.Component<?>> ordered) throws java.lang.Exception
- Throws:
java.lang.Exception
-
doReferences
private void doReferences(java.net.URL url) throws java.lang.Exception
- Throws:
java.lang.Exception
-
findMethod
private java.lang.reflect.Method findMethod(java.lang.String group)
-
$
public DSTestWiring.Component<T> $(java.lang.String key, java.lang.Object value)
-
instance
public DSTestWiring.Component<T> instance(T x)
-
index
void index(java.lang.Class<?> c)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-