|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.peaberry.util.Attributes
public final class Attributes
Methods for dealing with service attributes.
| Method Summary | |
|---|---|
static Map<String,?> |
names(String... names)
Convert the given LDAP distinguished names into a service attribute map. |
static Map<String,?> |
objectClass(Class<?>... interfaces)
Create an objectClass service attribute from the given API. |
static Map<String,?> |
properties(Properties properties)
Convert the given service properties into a service attribute map. |
static Map<String,?> |
union(Map... attributes)
Create a union of all the services attributes passed into this method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Map<String,?> properties(Properties properties)
properties - service properties
IllegalArgumentException - if there are any non-String keyspublic static Map<String,?> names(String... names)
names - distinguished names
IllegalArgumentException - if there are any invalid namespublic static Map<String,?> objectClass(Class<?>... interfaces)
interfaces - service API
public static Map<String,?> union(Map... attributes)
attributes - collection of service attributes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||