Interface ConfigurableElement
- All Known Subinterfaces:
ClientSslContext,CredentialStore,HttpAuthenticationFactory,HttpsListener,KeyManager,KeyStore,PermissionMapper,RoleMapper,SaslAuthenticationFactory,SaslServerFactory,SecurityDomain,SecurityRealm,ServerSslContext,TrustManager,UsersAttributeValuesCapableElement
- All Known Implementing Classes:
AbstractConfigurableElement,AbstractConstantHelper,AbstractUserAttributeValuesCapableElement,AggregateSecurityRealm,ClientCertUndertowDomainMapper,ConcatenatingPrincipalDecoder,ConstantPermissionMapper,ConstantPrincipalDecoder,ConstantPrincipalTransformer,ConstantRealmMapper,ConstantRoleMapper,CustomPrincipalTransformer,DirContext,DistributedRealm,EJBApplicationSecurityDomainMapping,FailoverRealm,FileAuditLog,FileSystemRealm,JdbcSecurityRealm,KeyStoreRealm,LdapRealm,MappedRegexRealmMapper,MessagingElytronDomainConfigurator,Module,PropertiesRealm,PropertyFileAuthzBasedDomain,PropertyFileBasedDomain,RegexPrincipalTransformer,SimpleAuthConfig,SimpleAuthContext,SimpleClientSslContext,SimpleConfigurableSaslServerFactory,SimpleCredentialStore,SimpleHttpAuthenticationFactory,SimpleHttpsListener,SimpleKeyManager,SimpleKeyStore,SimplePermissionMapper,SimpleRemotingConnector,SimpleSaslAuthenticationFactory,SimpleSecurityDomain,SimpleServerSslContext,SimpleSocketBinding,SimpleTrustManager,SyslogAuditLog,TokenRealm,UndertowApplicationSecurityDomain,UndertowDomainMapper,UndertowSslContext,X500AttributePrincipalDecoder
public interface ConfigurableElement
Interface representing a configurable object in domain model. The implementation has to override at least one of the
create(...) methods and one of the remove(...) methods.- Author:
- Josef Cacek
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidcreate(org.jboss.as.controller.client.ModelControllerClient client, org.jboss.as.test.integration.management.util.CLIWrapper cli) Creates this element in domain model and it also may create other resources if needed (e.g. external files).default voidcreate(org.jboss.as.test.integration.management.util.CLIWrapper cli) Creates this element in domain model and also creates other resources if needed (e.g. external files)getName()Returns name of this element.default voidremove(org.jboss.as.controller.client.ModelControllerClient client, org.jboss.as.test.integration.management.util.CLIWrapper cli) Reverts the changes introdued bycreate(...)method(s).default voidremove(org.jboss.as.test.integration.management.util.CLIWrapper cli) Reverts the changes introdued bycreate(...)method(s).
-
Method Details
-
getName
String getName()Returns name of this element. -
create
Creates this element in domain model and also creates other resources if needed (e.g. external files)- Parameters:
cli- connectedCLIWrapperinstance- Throws:
Exception
-
create
default void create(org.jboss.as.controller.client.ModelControllerClient client, org.jboss.as.test.integration.management.util.CLIWrapper cli) throws Exception Creates this element in domain model and it also may create other resources if needed (e.g. external files). Implementation can choose if controller client is used or provided CLI wrapper.- Throws:
Exception
-
remove
Reverts the changes introdued bycreate(...)method(s).- Throws:
Exception
-
remove
default void remove(org.jboss.as.controller.client.ModelControllerClient client, org.jboss.as.test.integration.management.util.CLIWrapper cli) throws Exception Reverts the changes introdued bycreate(...)method(s).- Throws:
Exception
-