com.ibm.portal.model
Interface VanityURLModelHome
- All Superinterfaces:
- VanityURLModelHome
public interface VanityURLModelHome
- extends VanityURLModelHome
Entry point to the vanity URL model.
final javax.naming.Context ctx = new javax.naming.InitialContext();
VanityURLModelHome home = (VanityURLModelHome) ctx.lookup(VanityURLModelHome.JNDI_NAME);
if (home != null) {
VanityURLModelProvider provider = home.getVanityURLModelProvider();
...
}
- Since:
- 8.5
Field Summary |
static java.lang.String |
JNDI_NAME
The JNDI name to access the home interface. |
JNDI_NAME
static final java.lang.String JNDI_NAME
- The JNDI name to access the home interface.
- See Also:
- Constant Field Values
getVanityURLModelProvider
VanityURLModelProvider getVanityURLModelProvider()
- Returns a vanity URL model provider.
- Returns:
- the provider, never
null