Source code: org/mobicents/slee/container/management/jmx/ProfileProvisioningMBeanImplMBean.java
1 /*
2 * Created on Feb 9, 2005
3 *
4 * TODO To change the template for this generated file go to
5 * Window - Preferences - Java - Code Style - Code Templates
6 */
7 package org.mobicents.slee.container.management.jmx;
8
9 import java.util.Collection;
10
11 import javax.management.ObjectName;
12 import javax.slee.InvalidArgumentException;
13 import javax.slee.management.ManagementException;
14 import javax.slee.profile.AttributeNotIndexedException;
15 import javax.slee.profile.AttributeTypeMismatchException;
16 import javax.slee.profile.ProfileAlreadyExistsException;
17 import javax.slee.profile.ProfileSpecificationID;
18 import javax.slee.profile.ProfileTableAlreadyExistsException;
19 import javax.slee.profile.UnrecognizedAttributeException;
20 import javax.slee.profile.UnrecognizedProfileNameException;
21 import javax.slee.profile.UnrecognizedProfileSpecificationException;
22 import javax.slee.profile.UnrecognizedProfileTableNameException;
23
24 /**
25 * @author Ivelin Ivanov
26 *
27 */
28 public interface ProfileProvisioningMBeanImplMBean extends
29 org.jboss.system.ServiceMBean {
30 /* (non-Javadoc)
31 * @see javax.slee.management.ProfileProvisioningMBean#createProfileTable(javax.slee.profile.ProfileSpecificationID, java.lang.String)
32 */public abstract void createProfileTable(
33 ProfileSpecificationID profileSpecificationID,
34 String newProfileTableName) throws NullPointerException,
35 UnrecognizedProfileSpecificationException,
36 InvalidArgumentException, ProfileTableAlreadyExistsException,
37 ManagementException;
38
39 /* (non-Javadoc)
40 * @see javax.slee.management.ProfileProvisioningMBean#removeProfileTable(java.lang.String)
41 */public abstract void removeProfileTable(String profileTableName)
42 throws NullPointerException, UnrecognizedProfileTableNameException,
43 ManagementException;
44
45 /* (non-Javadoc)
46 * @see javax.slee.management.ProfileProvisioningMBean#getProfileSpecification(java.lang.String)
47 */public abstract ProfileSpecificationID getProfileSpecification(
48 String profileTableName) throws NullPointerException,
49 UnrecognizedProfileTableNameException, ManagementException;
50
51 /* (non-Javadoc)
52 * @see javax.slee.management.ProfileProvisioningMBean#renameProfileTable(java.lang.String, java.lang.String)
53 */public abstract void renameProfileTable(String oldProfileTableName,
54 String newProfileTableName) throws NullPointerException,
55 UnrecognizedProfileTableNameException, InvalidArgumentException,
56 ProfileTableAlreadyExistsException, ManagementException;
57
58 /* (non-Javadoc)
59 * @see javax.slee.management.ProfileProvisioningMBean#getDefaultProfile(java.lang.String)
60 */public abstract ObjectName getDefaultProfile(String profileTableName)
61 throws NullPointerException, UnrecognizedProfileTableNameException,
62 ManagementException;
63
64 /* (non-Javadoc)
65 * @see javax.slee.management.ProfileProvisioningMBean#createProfile(java.lang.String, java.lang.String)
66 */public abstract ObjectName createProfile(String profileTableName,
67 String newProfileName) throws NullPointerException,
68 UnrecognizedProfileTableNameException, InvalidArgumentException,
69 ProfileAlreadyExistsException, ManagementException;
70
71 /* (non-Javadoc)
72 * @see javax.slee.management.ProfileProvisioningMBean#removeProfile(java.lang.String, java.lang.String)
73 */public abstract void removeProfile(String profileTableName,
74 String profileName) throws NullPointerException,
75 UnrecognizedProfileTableNameException,
76 UnrecognizedProfileNameException, ManagementException;
77
78 /* (non-Javadoc)
79 * @see javax.slee.management.ProfileProvisioningMBean#getProfile(java.lang.String, java.lang.String)
80 */public abstract ObjectName getProfile(String profileTableName,
81 String profileName) throws NullPointerException,
82 UnrecognizedProfileTableNameException,
83 UnrecognizedProfileNameException, ManagementException;
84
85 /* (non-Javadoc)
86 * @see javax.slee.management.ProfileProvisioningMBean#getProfileTables()
87 */public abstract Collection getProfileTables() throws ManagementException;
88
89 /* (non-Javadoc)
90 * @see javax.slee.management.ProfileProvisioningMBean#getProfiles(java.lang.String)
91 */public abstract Collection getProfiles(String profileTableName)
92 throws NullPointerException, UnrecognizedProfileTableNameException,
93 ManagementException;
94
95 /* (non-Javadoc)
96 * @see javax.slee.management.ProfileProvisioningMBean#getProfilesByIndexedAttribute(java.lang.String, java.lang.String, java.lang.Object)
97 */public abstract Collection getProfilesByIndexedAttribute(
98 String profileTableName, String attributeName, Object attributeValue)
99 throws NullPointerException, UnrecognizedProfileTableNameException,
100 UnrecognizedAttributeException, AttributeNotIndexedException,
101 AttributeTypeMismatchException, ManagementException;
102 }