Package org.jvnet.hk2.config
Interface ConfigBeanProxy
-
- All Known Subinterfaces:
AccessLog
,AdminAuditConfiguration
,AdminObjectResource
,AdminService
,AMXConfiguration
,Application
,ApplicationConfig
,ApplicationDeploymentTime
,ApplicationExtension
,ApplicationName
,ApplicationRef
,Applications
,AppTenant
,AppTenants
,AsadminRecorderConfiguration
,AuditModule
,AuthenticationService
,AuthorizationProviderConfig
,AuthorizationService
,AuthRealm
,AvailabilityService
,AvailabilityServiceExtension
,AWSSecretsConfigSourceConfiguration
,AzureSecretsConfigSourceConfiguration
,BackendPrincipal
,BatchRuntimeConfiguration
,BindableResource
,CDIEventbusNotifierConfiguration
,CDIService
,Checker
,Cluster
,ClusterExtension
,ClusterRef
,Clusters
,Config
,ConfigExtension
,Configs
,ConfigSourceConfiguration
,ConnectionPoolChecker
,ConnectorConnectionPool
,ConnectorResource
,ConnectorService
,Container
,ContainerMonitoring
,ContextParam
,ContextService
,CpuUsageChecker
,CustomResource
,DasConfig
,DeploymentGroup
,DeploymentGroups
,DGServerRef
,DiagnosticService
,DiagnosticServiceExtension
,Domain
,DomainExtension
,DynamoDBConfigSourceConfiguration
,EjbContainer
,EjbContainerAvailability
,EjbInvokerConfiguration
,EjbTimerService
,Engine
,EnvEntry
,EnvironmentWarningConfiguration
,EventbusNotifierConfiguration
,ExampleServiceConfiguration
,ExternalJndiResource
,FailureDetection
,FaultToleranceServiceConfiguration
,FileCache
,GarbageCollectorChecker
,GCPSecretsConfigSourceConfiguration
,GroupManagementService
,GroupMap
,HashiCorpSecretsConfigSourceConfiguration
,HazelcastConfigSpecificConfiguration
,HazelcastRuntimeConfiguration
,HealthChecker
,HealthCheckServiceConfiguration
,HeapMemoryUsageChecker
,HoggingThreadsChecker
,Http
,HttpAccessLog
,HttpRedirect
,HttpService
,IiopListener
,IiopService
,JaccProvider
,JavaConfig
,JDBCConfigSourceConfiguration
,JdbcConnectionPool
,JdbcResource
,JmsAvailability
,JmsHost
,JmsNotifierConfiguration
,JmsService
,JmxConnector
,JvmOptionBag
,LbConfig
,LbConfigs
,LDAPConfigSourceConfiguration
,ListenerConfig
,LoadBalancer
,LoadBalancers
,LoginModuleConfig
,LogNotifierConfiguration
,LogService
,MachineMemoryUsageChecker
,MailResource
,ManagedExecutorService
,ManagedExecutorServiceBase
,ManagedJobConfig
,ManagedScheduledExecutorService
,ManagedThreadFactory
,ManagerProperties
,Mbean
,MdbContainer
,MessageSecurityConfig
,MetricsServiceConfiguration
,MicroprofileConfigConfiguration
,MicroprofileHealthCheckConfiguration
,MicroProfileHealthCheckerConfiguration
,MicroProfileMetricsChecker
,Module
,ModuleLogLevels
,ModuleMonitoringLevels
,MonitoredAttribute
,MonitoredMetric
,MonitoringConsoleConfiguration
,MonitoringItem
,MonitoringService
,MonitoringServiceConfiguration
,Named
,NetworkConfig
,NetworkListener
,NetworkListeners
,Node
,NodeAgent
,NodeAgents
,Nodes
,NotificationServiceConfiguration
,OpenApiServiceConfiguration
,Orb
,PayaraExecutorServiceConfiguration
,PayaraNotifierConfiguration
,PersistenceManagerFactoryResource
,PhoneHomeRuntimeConfiguration
,PortUnification
,PrincipalMap
,Profiler
,Property
,Protocol
,ProtocolChain
,ProtocolChainInstanceHandler
,ProtocolFilter
,ProtocolFinder
,Protocols
,ProviderConfig
,RankedConfigBeanProxy
,Ref
,RefContainer
,RegistryLocation
,RequestPolicy
,RequestTracingServiceConfiguration
,Resource
,ResourceAdapterConfig
,ResourcePool
,ResourceRef
,Resources
,ResponsePolicy
,RestConfig
,RestMonitoringConfiguration
,RoleMappingProviderConfig
,RoleMappingService
,SecureAdmin
,SecureAdminInternalUser
,SecureAdminPrincipal
,SecurityConfiguration
,SecurityConfigurations
,SecurityMap
,SecurityProvider
,SecurityProviderConfig
,SecurityService
,SelectionKeyHandler
,Server
,ServerRef
,ServerResource
,Servers
,SessionConfig
,SessionManager
,SessionProperties
,SshAuth
,SshConnector
,Ssl
,SslClientConfig
,StoreProperties
,StuckThreadsChecker
,SystemApplications
,SystemProperty
,SystemPropertyBag
,ThreadPool
,ThreadPools
,ThresholdDiagnosticsChecker
,TransactionService
,TransformationRule
,Transport
,Transports
,VersionedConfigBeanProxy
,VirtualMachineExtension
,VirtualServer
,WebContainer
,WebContainerAvailability
,WebModuleConfig
,WebServiceEndpoint
,WorkSecurityMap
- All Known Implementing Classes:
DummyNetworkListener
,JmsHostWrapper
@Customizer(ConfigBeanProxyCustomizer.class) public interface ConfigBeanProxy
Marker interface that signifies that the interface is meant to be used as a strongly-typed proxy toDom
.To obtain the Dom object, use
Dom.unwrap(ConfigBeanProxy)
. This design allows the interfaces to be implemented by other code outside DOM more easily.- Author:
- Kohsuke Kawaguchi
- See Also:
Dom.unwrap(ConfigBeanProxy)
,DuckTyped
,Element
,Attribute
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ConfigBeanProxy.Duck
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends ConfigBeanProxy>
TcreateChild(Class<T> type)
Creates a child element of this configuration elementConfigBeanProxy
deepCopy(ConfigBeanProxy parent)
Performs a deep copy of this configuration element and returns it.ConfigBeanProxy
getParent()
Returns the parent element of this configuration element.<T extends ConfigBeanProxy>
TgetParent(Class<T> type)
Returns the typed parent element of this configuration element.
-
-
-
Method Detail
-
getParent
@DuckTyped @Customize ConfigBeanProxy getParent()
Returns the parent element of this configuration element. It is possible to return a not null parent while the parent knows nothing of this child element. This could happen when the child element was removed from the configuration tree, yet it's parent would not have been reset.- Returns:
- the parent configuration node.
-
getParent
@DuckTyped @Customize <T extends ConfigBeanProxy> T getParent(Class<T> type)
Returns the typed parent element of this configuration element. It is possible to return a not null parent while the parent knows nothing of this child element. This could happen when the child element was removed from the configuration tree, yet it's parent would not have been reset.- Parameters:
type
- parent's type- Returns:
- the parent configuration node.
-
createChild
@DuckTyped @Customize <T extends ConfigBeanProxy> T createChild(Class<T> type) throws TransactionFailure
Creates a child element of this configuration element- Parameters:
type
- the child element type- Returns:
- the newly created child instance
- Throws:
TransactionFailure
- when called outside the boundaries of a transaction
-
deepCopy
@DuckTyped @Customize ConfigBeanProxy deepCopy(ConfigBeanProxy parent) throws TransactionFailure
Performs a deep copy of this configuration element and returns it. The parent of this configuration must be locked in a transaction and the newly created child will be automatically enrolled in the parent's transaction.- Parameters:
parent
- the writable copy of the parent- Returns:
- a deep copy of itself.
- Throws:
TransactionFailure
- if the transaction cannot be completed.
-
-