org.osgi.jmx.codec
Class OSGiRole
java.lang.Object
org.osgi.jmx.codec.OSGiRole
public class OSGiRole
- extends java.lang.Object
- Author:
- Hal Hildebrand Date: Dec 5, 2008 Time: 8:02:50 AM
Field Summary |
protected java.lang.String |
name
|
protected java.util.Hashtable<java.lang.String,java.lang.Object> |
properties
|
static javax.management.openmbean.CompositeType |
ROLE
|
protected int |
type
|
Constructor Summary |
OSGiRole(javax.management.openmbean.CompositeData data)
|
OSGiRole(org.osgi.service.useradmin.Role role)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected java.lang.String name
type
protected int type
properties
protected java.util.Hashtable<java.lang.String,java.lang.Object> properties
ROLE
public static final javax.management.openmbean.CompositeType ROLE
OSGiRole
public OSGiRole(javax.management.openmbean.CompositeData data)
OSGiRole
public OSGiRole(org.osgi.service.useradmin.Role role)
asCompositeData
public javax.management.openmbean.CompositeData asCompositeData()
throws javax.management.openmbean.OpenDataException
- Throws:
javax.management.openmbean.OpenDataException
getName
public java.lang.String getName()
- Returns:
- the name
getType
public int getType()
- Returns:
- the type
getProperties
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
- Returns:
- the credentials
Copyright © 2009. All Rights Reserved.