Top Description Methods
org.hibernate.boot.registry.selector

public Interface StrategyRegistration<T>

Known Direct Implementers
org.hibernate.boot.registry.selector.SimpleStrategyRegistrationImpl
Type Parameters
<T>
The type of the strategy described by this implementation registration.

Describes the registration of a named strategy implementation. A strategy + selector name should resolve to a single implementation.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public Iterable<String>

Returns:

The registered selection names.
getSelectorNames
()

Any registered names for this strategy registration.

public Class<? extends T>

Returns:

The strategy implementation.
getStrategyImplementation
()

The strategy implementation class.

public Class<T>

Returns:

The strategy contract/role.
getStrategyRole
()

The strategy role.

Method Detail

getSelectorNamesback to summary
public Iterable<String> getSelectorNames()

Any registered names for this strategy registration.

Returns:Iterable<String>

The registered selection names.

getStrategyImplementationback to summary
public Class<? extends T> getStrategyImplementation()

The strategy implementation class.

Returns:Class<? extends T>

The strategy implementation.

getStrategyRoleback to summary
public Class<T> getStrategyRole()

The strategy role. Best practice says this should be an interface.

Returns:Class<T>

The strategy contract/role.