Class ManagedObjectDefinition<C extends ConfigurationClient,​S extends Configuration>

    • Constructor Detail

      • ManagedObjectDefinition

        protected ManagedObjectDefinition​(String name,
                                          AbstractManagedObjectDefinition<? super C,​? super S> parent)
        Create a new managed object definition.
        Parameters:
        name - The name of the definition.
        parent - The parent definition, or null if there is no parent.
    • Method Detail

      • createClientConfiguration

        public abstract C createClientConfiguration​(ManagedObject<? extends C> managedObject)
        Creates a client configuration view of the provided managed object. Modifications made to the underlying managed object will be reflected in the client configuration view and vice versa.
        Parameters:
        managedObject - The managed object.
        Returns:
        Returns a client configuration view of the provided managed object.
      • createServerConfiguration

        public abstract S createServerConfiguration​(ServerManagedObject<? extends S> managedObject)
        Creates a server configuration view of the provided server managed object.
        Parameters:
        managedObject - The server managed object.
        Returns:
        Returns a server configuration view of the provided server managed object.
      • getServerConfigurationClass

        public abstract Class<S> getServerConfigurationClass()
        Gets the server configuration class instance associated with this managed object definition.
        Returns:
        Returns the server configuration class instance associated with this managed object definition.