|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.accesscontrol.attributes.AttributeFactory
public class AttributeFactory
the factory for the attributes.
| Constructor Summary | |
|---|---|
AttributeFactory()
|
|
| Method Summary | |
|---|---|
AbstractAttribute<?> |
getAttribute(java.lang.Class<AbstractAttribute<?>> clazz)
returns an AbstractAttribute of the passed class. |
AbstractAttribute<?> |
getAttribute(java.lang.Class<AbstractAttribute<?>> clazz,
boolean isSystem)
returns an AbstractAttribute of the passed class. |
AbstractAttribute<?> |
getAttribute(java.lang.Class<AbstractAttribute<?>> clazz,
java.lang.String name)
returns an AbstractAttribute of the passed class. |
AbstractAttribute<?> |
getAttribute(java.lang.Class<AbstractAttribute<?>> clazz,
java.lang.String name,
boolean isSystem)
returns an AbstractAttribute of the passed class. |
java.util.Set<java.lang.Class<AbstractAttribute<?>>> |
getAttributes()
returns the classes of the known AbstractAttributes. |
java.util.Set<java.lang.Class<AbstractValue<?>>> |
getAttributeValues(java.lang.Class<AbstractAttribute<?>> clazz)
returns the classes of the available AbstractValues for the
passed AbstractAttribute-class. |
AbstractTypedCheck<?> |
getTypedCheck(java.lang.Class<AbstractTypedCheck<?>> c)
returns an instance of the given check. |
java.util.Set<java.lang.Class<AbstractTypedCheck<?>>> |
getTypedChecks(java.lang.Class<AbstractAttribute<?>> clazz)
returns a set with the available typed checks for the given attribute class. |
void |
init(ConfigBean c)
initializes the AttributeFactory with the given
ConfigBean. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeFactory()
| Method Detail |
|---|
public final java.util.Set<java.lang.Class<AbstractAttribute<?>>> getAttributes()
AbstractAttributes.
AbstractAttributesAttributeFactoryConfig.getAttributes()public final java.util.Set<java.lang.Class<AbstractValue<?>>> getAttributeValues(java.lang.Class<AbstractAttribute<?>> clazz)
AbstractValues for the
passed AbstractAttribute-class.
clazz - the attribute-Class to retrieve the values for
AbstractValues for the
passed AbstractAttribute-classAttributeFactoryConfig.getAttributeValues(java.lang.Class)public final java.util.Set<java.lang.Class<AbstractTypedCheck<?>>> getTypedChecks(java.lang.Class<AbstractAttribute<?>> clazz)
clazz - the attribute class
public final AbstractTypedCheck<?> getTypedCheck(java.lang.Class<AbstractTypedCheck<?>> c)
c - the check class
public final AbstractAttribute<?> getAttribute(java.lang.Class<AbstractAttribute<?>> clazz)
AbstractAttribute of the passed class.
clazz - the class to build the attribute of
AbstractAttribute of the passed class
public final AbstractAttribute<?> getAttribute(java.lang.Class<AbstractAttribute<?>> clazz,
java.lang.String name)
AbstractAttribute of the passed class.
clazz - the class to build the attribute ofname - the name to be set for the attribute
AbstractAttribute of the passed class
public final AbstractAttribute<?> getAttribute(java.lang.Class<AbstractAttribute<?>> clazz,
boolean isSystem)
AbstractAttribute of the passed class.
clazz - the class to build the attribute ofisSystem - specifies a system-attribute
AbstractAttribute of the passed class
public final AbstractAttribute<?> getAttribute(java.lang.Class<AbstractAttribute<?>> clazz,
java.lang.String name,
boolean isSystem)
AbstractAttribute of the passed class.
clazz - the class to build the attribute ofname - the name to be set for the attributeisSystem - specifies a system-attribute
AbstractAttribute of the passed classpublic void init(ConfigBean c)
AttributeFactory with the given
ConfigBean.
init in interface DeprecatedConfigurablec - the ConfigBeanDeprecatedConfigurable.init(org.torweg.pulse.configuration.ConfigBean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||