|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ha.framework.server.deployers.DefaultHAPartitionDependencyCreator
public class DefaultHAPartitionDependencyCreator
Default impl of HAPartitionDependencyCreator
. Prepends a configurable
prefix to the system-property-replaced partition name.
Field Summary | |
---|---|
static String |
DEFAULT_HA_PARTITION_DEPENDENCY_PREFIX
|
static DefaultHAPartitionDependencyCreator |
INSTANCE
Shared instance, although this isn't a singleton |
Constructor Summary | |
---|---|
DefaultHAPartitionDependencyCreator()
Create a new DefaultHAPartitionDependencyCreator using the default prefix . |
|
DefaultHAPartitionDependencyCreator(String prefix)
Create a new DefaultHAPartitionDependencyCreator. |
Method Summary | |
---|---|
String |
getHAPartitionDependencyName(String partitionName)
Gets the MC bean name upon which a bean using the given partition can depend. |
String |
getHaPartitionDependencyPrefix()
Gets the string that should be prepended to the bean metadata's partition name
to determine the name of the dependency. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_HA_PARTITION_DEPENDENCY_PREFIX
public static final DefaultHAPartitionDependencyCreator INSTANCE
Constructor Detail |
---|
public DefaultHAPartitionDependencyCreator()
default prefix
.
public DefaultHAPartitionDependencyCreator(String prefix)
prefix
- the string that should be prepended to
the bean metadata's partition name
to determine the name of the dependency.Method Detail |
---|
public String getHAPartitionDependencyName(String partitionName)
HAPartitionDependencyCreator
getHAPartitionDependencyName
in interface HAPartitionDependencyCreator
partitionName
- the partition name. Cannot be null
public String getHaPartitionDependencyPrefix()
the bean metadata's partition name
to determine the name of the dependency.
ClusterPartition
will also use the property to determine
the name of a microcontainer alias to itself, which it will register
in order to satisfy the dependency.
DEFAULT_HA_PARTITION_DEPENDENCY_PREFIX
if
not configured.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |